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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html

Issue 1360233007: bindings: Moves event handlers and methods of Window to the instance object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
index 48a177aa9b9e13a20f8cd824d25be8ab011b1439..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<script>
-
-description('This tests the ES5.2 behavior where global variables should not trigger setters on the Window object');
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var onClickCalled = false;
-
-var onclick = function(e) {
- onClickCalled = true;
-};
-
-var e = document.createEvent('MouseEvents');
-e.initMouseEvent('click', true, true, window,
- 0, 0, 0, 0, 0, false, false, false, false, 0, null);
-document.dispatchEvent(e);
-
-shouldBeFalse('onClickCalled');
-
-</script>
-<script src="../../../resources/js-test.js"></script>

Powered by Google App Engine
This is Rietveld 408576698