Summary: | Support "javascript:" URLs (Pnglet examples at elf.org don't work) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED INVALID | ||||||||||
Severity: | Minor | CC: | ahmad.saleem792, bfulgham, emacemac7, fishd, rniwa | ||||||||
Priority: | P2 | Keywords: | HasReduction | ||||||||
Version: | 420+ | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
URL: | http://www.elf.org/pnglets/ | ||||||||||
Attachments: |
|
Description
Alexey Proskuryakov
2006-07-03 03:20:32 PDT
Created attachment 9172 [details]
test case
Looks like Mozilla supports "javascript:" URLs as image sources, and WebKit doesn't.
IE does not seem to support javascript: URLs as image source either. Created attachment 11524 [details]
test case (works with Firefox 2)
The original test case no longer works in Firefox 2 for some reason, adding one that does.
Created attachment 12669 [details]
javascript: in SCRIPT src
"javascript:" URLs don't work for scripts either (do work in Firefox). Looks like they only work for main resources at the moment.
HTML5 used to support javascript: URLs, but it no longer does: <http://html5.org/tools/web-apps-tracker?from=6138&to=6139>. All attached test cases match current behavior of Safari 15.6 and as mentioned in Comment 05 that javascript:img_src and javascript: URLs are not supported as per HTML5, I think this can be marked as "RESOLVED WONTFIX". Thanks! Yeah, looks like everyone else no longer supports this. |