Opened 15 years ago
Closed 15 years ago
#1645 closed defect (invalid)
"file doesn't exist" errors in Safari loading DropdownDatePicker demo
Reported by: | Owned by: | Adam Peller | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | safari | Cc: | |
Blocked By: | Blocking: |
Description
When loading the DropdownDatePicker? demo in Safari (v2.0.4) an error appears in the status bar: "There were 2 errors opening the page. For more information, choose Activity from the Window menu."
Opening the Activity window yields a list of files loaded by the page. Two have failed to load with "file doesn't exist" errors:
src/i18n/calendar/nls/en/gregorianExtras.js src/widget/nls/en/DropdownDatePicker.js
...and indeed, files don't exist that match these paths. In both cases, however, files with those names exist in the parent directory (nls).
Change History (3)
comment:1 Changed 15 years ago by
Owner: | changed from bill to Adam Peller |
---|
comment:2 Changed 15 years ago by
Yes, you're right. I tried it again over HTTP and it works fine so file:// is apparently needed to reproduce it.
comment:3 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Working as designed. This is part of the search path used with non-built Dojo, and failed hits are expected, much like the package (resource?) loading does or used to do. With a build, these resources will all be collapsed into a single file and there will be no failed hits.
Actually, you should get the same errors with HTTP, but perhaps Safari treats 404's differently than file not founds with file:/ (You'd see all of these with Firebug, for example)
I tried http://archive.dojotoolkit.org/dojo-2006-10-12/tests/widget/test_DropdownDatePicker.html, on Safari version 2.0.4, and it worked fine. Maybe this is something related to file:// access?