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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: webkit/data/layout_tests/chrome/fast/events/nested-window-event.html
===================================================================
--- webkit/data/layout_tests/chrome/fast/events/nested-window-event.html (revision 12362)
+++ webkit/data/layout_tests/chrome/fast/events/nested-window-event.html (working copy)
@@ -1,25 +0,0 @@
-<html>
-
-<script>
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
-}
-
-function run_test() {
- var old_evt = window.event;
- var xhr = new XMLHttpRequest();
- xhr.onreadystatechange = function() {}
- xhr.open("GET", "test.html");
- xhr.send();
- // window.event should exist, and same as old_evt.
- document.getElementById('console').innerHTML =
- old_evt == window.event ? 'PASS' : 'FAIL';
-}
-</script>
-<body onload="run_test()">
-This tests window.event was kept the same when nested event
-handling was called. You should see 'PASS' if the test passes.
-<br>
-<div id='console'></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698