WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
9706
Support "javascript:" URLs (Pnglet examples at elf.org don't work)
https://bugs.webkit.org/show_bug.cgi?id=9706
Summary
Support "javascript:" URLs (Pnglet examples at elf.org don't work)
Alexey Proskuryakov
Reported
2006-07-03 03:20:32 PDT
Pnglet is a JavaScript library for creating PNG images on the fly. I've seen it work with Safari before, but the "official" example page is broken, for whatever reason (missing image icons are displayed instead of the examples). Works fine in Firefox 1.5.
Attachments
test case
(287 bytes, text/html)
2006-07-03 11:33 PDT
,
Alexey Proskuryakov
no flags
Details
test case (works with Firefox 2)
(252 bytes, text/html)
2006-11-14 21:40 PST
,
Alexey Proskuryakov
no flags
Details
javascript: in SCRIPT src
(89 bytes, text/html)
2007-01-25 11:40 PST
,
Alexey Proskuryakov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-07-03 11:33:45 PDT
Created
attachment 9172
[details]
test case Looks like Mozilla supports "javascript:" URLs as image sources, and WebKit doesn't.
Darin Fisher (:fishd, Google)
Comment 2
2006-11-14 16:02:30 PST
IE does not seem to support javascript: URLs as image source either.
Alexey Proskuryakov
Comment 3
2006-11-14 21:40:06 PST
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.
Alexey Proskuryakov
Comment 4
2007-01-25 11:40:29 PST
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.
Alexey Proskuryakov
Comment 5
2011-05-13 17:24:01 PDT
HTML5 used to support javascript: URLs, but it no longer does: <
http://html5.org/tools/web-apps-tracker?from=6138&to=6139
>.
Ahmad Saleem
Comment 6
2022-07-29 11:27:39 PDT
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!
Alexey Proskuryakov
Comment 7
2022-07-29 15:37:33 PDT
Yeah, looks like everyone else no longer supports this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug