Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: webkit/data/layout_tests/chrome/fast/events/nested-window-event.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2
3 <script>
4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 }
7
8 function run_test() {
9 var old_evt = window.event;
10 var xhr = new XMLHttpRequest();
11 xhr.onreadystatechange = function() {}
12 xhr.open("GET", "test.html");
13 xhr.send();
14 // window.event should exist, and same as old_evt.
15 document.getElementById('console').innerHTML =
16 old_evt == window.event ? 'PASS' : 'FAIL';
17 }
18 </script>
19 <body onload="run_test()">
20 This tests window.event was kept the same when nested event
21 handling was called. You should see 'PASS' if the test passes.
22 <br>
23 <div id='console'></div>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698