Changeset 34463 in webkit


Ignore:
Timestamp:
Jun 8, 2008 11:26:09 PM (16 years ago)
Author:
abarth@webkit.org
Message:

2008-06-08 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=16856

Fix tests not to rely on broken javascript URL behavior.

  • fast/events/event-listener-html-non-html-confusion.html:
  • fast/replaced/image-map-bug16782-expected.txt: Added.
  • fast/replaced/image-map-bug16782.html: Added.
  • fast/replaced/image-map.html:
  • svg/custom/prevent-default.svg:
Location:
trunk/LayoutTests
Files:
1 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r34462 r34463  
     12008-06-08  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Darin Alder.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=16856
     6
     7        Fix tests not to rely on broken javascript URL behavior.
     8
     9        * fast/events/event-listener-html-non-html-confusion.html:
     10        * fast/replaced/image-map-bug16782-expected.txt: Added.
     11        * fast/replaced/image-map-bug16782.html: Added.
     12        * fast/replaced/image-map.html:
     13        * svg/custom/prevent-default.svg:
     14
    1152008-06-08  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
    216
  • trunk/LayoutTests/fast/events/event-listener-html-non-html-confusion.html

    r14856 r34463  
    66<p id="result"></p>
    77
    8 <a href="javascript:document.getElementById('result').innerHTML = 'FAILURE'" id="anchor">test anchor - script clicks this automatically</a>
     8<a href="javascript:void(document.getElementById('result').innerHTML = 'FAILURE')" id="anchor">test anchor - script clicks this automatically</a>
    99
    1010<script>
  • trunk/LayoutTests/fast/replaced/image-map.html

    r29362 r34463  
    1313<body onload="test()">
    1414<img id="image" height="100" width="100" src="resources/square-blue-100x100.png" usemap="#map">
    15 <map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:document.getElementById('result').innerHTML='area clicked'"></map>
     15<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:void(document.getElementById('result').innerHTML='area clicked')"></map>
    1616<div id="result">no area click seen yet</div>
    1717</body>
  • trunk/LayoutTests/svg/custom/prevent-default.svg

    r21924 r34463  
    2626    </script>
    2727  </defs>
    28   <a xlink:href="javascript:document.getElementById('rect').style.fill='red'">
     28  <a xlink:href="javascript:void(document.getElementById('rect').style.fill='red')">
    2929    <rect id='rect' onclick="changeColor(evt)" width='100' height='100' fill='orange' />
    3030  </a>
Note: See TracChangeset for help on using the changeset viewer.