Changeset 84862 in webkit


Ignore:
Timestamp:
Apr 25, 2011 6:59:27 PM (13 years ago)
Author:
tony@chromium.org
Message:

2011-04-25 Tony Chang <tony@chromium.org>

Reviewed by Antonio Gomes.

replace a setTimeout with a onload event to save 2 seconds in a test
https://bugs.webkit.org/show_bug.cgi?id=59350

  • http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r84861 r84862  
     12011-04-25  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        replace a setTimeout with a onload event to save 2 seconds in a test
     6        https://bugs.webkit.org/show_bug.cgi?id=59350
     7
     8        * http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url.html:
     9
    1102011-04-25  Mihai Parparita  <mihaip@chromium.org>
    211
  • trunk/LayoutTests/http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url.html

    r48911 r84862  
    77  layoutTestController.setXSSAuditorEnabled(true);
    88  layoutTestController.waitUntilDone();
    9   window.setTimeout(done, 2000);
    109}
    1110
     
    1817</head>
    1918<body>
    20 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-head.pl?q=%3Cmeta+http-equiv%3D%22refresh%22+content%3D%220%3B+url%3Djavascript%3Aalert%28document.domain%29%22%3E">
     19<iframe onload="done()" src="http://localhost:8000/security/xssAuditor/resources/echo-head.pl?q=%3Cmeta+http-equiv%3D%22refresh%22+content%3D%220%3B+url%3Djavascript%3Aalert%28document.domain%29%22%3E">
    2120</iframe>
    2221</body>
Note: See TracChangeset for help on using the changeset viewer.