Opened 13 years ago

Closed 13 years ago

#1645 closed defect (invalid)

"file doesn't exist" errors in Safari loading DropdownDatePicker demo

Reported by: dojo@… 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 13 years ago by bill

Owner: changed from bill to Adam Peller

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?

comment:2 Changed 13 years ago by dojo@…

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 13 years ago by Adam Peller

Resolution: invalid
Status: newclosed

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)

Note: See TracTickets for help on using tickets.