<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9706</bug_id>
          
          <creation_ts>2006-07-03 03:20:32 -0700</creation_ts>
          <short_desc>Support &quot;javascript:&quot; URLs (Pnglet examples at elf.org don&apos;t work)</short_desc>
          <delta_ts>2022-07-29 15:37:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.elf.org/pnglets/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>emacemac7</cc>
    
    <cc>fishd</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48073</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-07-03 03:20:32 -0700</bug_when>
    <thetext>Pnglet is a JavaScript library for creating PNG images on the fly. I&apos;ve seen it work with Safari before, but the &quot;official&quot; example page is broken, for whatever reason (missing image icons are displayed instead of the examples). 

Works fine in Firefox 1.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48097</commentid>
    <comment_count>1</comment_count>
      <attachid>9172</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-07-03 11:33:45 -0700</bug_when>
    <thetext>Created attachment 9172
test case

Looks like Mozilla supports &quot;javascript:&quot; URLs as image sources, and WebKit doesn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45756</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-11-14 16:02:30 -0800</bug_when>
    <thetext>IE does not seem to support javascript: URLs as image source either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45749</commentid>
    <comment_count>3</comment_count>
      <attachid>11524</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-11-14 21:40:06 -0800</bug_when>
    <thetext>Created attachment 11524
test case (works with Firefox 2)

The original test case no longer works in Firefox 2 for some reason, adding one that does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32633</commentid>
    <comment_count>4</comment_count>
      <attachid>12669</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-25 11:40:29 -0800</bug_when>
    <thetext>Created attachment 12669
javascript: in SCRIPT src

&quot;javascript:&quot; URLs don&apos;t work for scripts either (do work in Firefox). Looks like they only work for main resources at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>403986</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-05-13 17:24:01 -0700</bug_when>
    <thetext>HTML5 used to support javascript: URLs, but it no longer does: &lt;http://html5.org/tools/web-apps-tracker?from=6138&amp;to=6139&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887715</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-29 11:27:39 -0700</bug_when>
    <thetext>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 &quot;RESOLVED WONTFIX&quot;. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887770</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-29 15:37:33 -0700</bug_when>
    <thetext>Yeah, looks like everyone else no longer supports this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9172</attachid>
            <date>2006-07-03 11:33:45 -0700</date>
            <delta_ts>2006-07-03 11:33:45 -0700</delta_ts>
            <desc>test case</desc>
            <filename>javascript-src.html</filename>
            <type>text/html</type>
            <size>287</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PHA+U2hvdWxkIHNlZSBhIHNxdWFyZSwgbm90IGEgYnJva2VuIGltYWdlIGljb246PC9wPgo8c2Ny
aXB0PgppbWdfc3JjID0gIlx4NDdceDQ5XHg0Nlx4MzhceDM5XHg2MVx4MDJceDAwXHgwMlx4MDBc
eDgwXHgwMFx4MDBceDAwXHhGRlx4MDBceDAwXHgwMFx4MDBceDJDXHgwMFx4MDBceDAwXHgwMFx4
MDJceDAwXHgwMlx4MDBceDAwXHgwMlx4MDJceDg0XHg1MVx4MDBceDNCIjsKPC9zY3JpcHQ+Cjxp
bWcgc3R5bGU9IndpZHRoOjEwMDtoZWlnaHQ6MTAwOyIgc3JjPSJqYXZhc2NyaXB0OmltZ19zcmMi
Pgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11524</attachid>
            <date>2006-11-14 21:40:06 -0800</date>
            <delta_ts>2006-11-14 21:40:06 -0800</delta_ts>
            <desc>test case (works with Firefox 2)</desc>
            <filename>javascript-src.html</filename>
            <type>text/html</type>
            <size>252</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PHA+U2hvdWxkIHNlZSBhIHNxdWFyZSwgbm90IGEgYnJva2VuIGltYWdlIGljb246PC9wPgo8aW1n
IHN0eWxlPSJ3aWR0aDoxMDA7aGVpZ2h0OjEwMDsiIHNyYz0iamF2YXNjcmlwdDonXHg0N1x4NDkn
KydceDQ2XHgzOFx4MzlceDYxXHgwMlx4MDBceDAyXHgwMFx4ODBceDAwXHgwMFx4MDBceEZGXHgw
MFx4MDBceDAwXHgwMFx4MkNceDAwXHgwMFx4MDBceDAwXHgwMlx4MDBceDAyXHgwMFx4MDBceDAy
XHgwMlx4ODRceDUxXHgwMFx4M0InIj4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>12669</attachid>
            <date>2007-01-25 11:40:29 -0800</date>
            <delta_ts>2007-01-25 11:40:29 -0800</delta_ts>
            <desc>javascript: in SCRIPT src</desc>
            <filename>js-script-url.html</filename>
            <type>text/html</type>
            <size>89</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">U2hvdWxkIHNob3cgYSAiU1VDQ0VTUyIgYWxlcnQuCjxzY3JpcHQgc3JjPSJqYXZhc2NyaXB0Oidh
bGVydCglMjJTVUNDRVNTJTIyKSciPjwvc2NyaXB0Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>