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

Unified Diff: LayoutTests/fast/dom/Window/get-set-properties-expected.txt

Issue 22687002: Treat non-callable input as null for EventHandler attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nit Created 7 years, 4 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: LayoutTests/fast/dom/Window/get-set-properties-expected.txt
diff --git a/LayoutTests/fast/dom/Window/get-set-properties-expected.txt b/LayoutTests/fast/dom/Window/get-set-properties-expected.txt
index 3b7fd6af5a2ab3cb0ad5290291463822531a7d99..31f8cede1fe33f6bc9ca4a3f2e31780c12cf78ba 100644
--- a/LayoutTests/fast/dom/Window/get-set-properties-expected.txt
+++ b/LayoutTests/fast/dom/Window/get-set-properties-expected.txt
@@ -306,56 +306,6 @@ PASS: canGet('moveBy') should be 'true' and is.
PASS: canSet('moveBy') should be 'true' and is.
PASS: canGet('moveTo') should be 'true' and is.
PASS: canSet('moveTo') should be 'true' and is.
-PASS: canGet('onabort') should be 'true' and is.
-PASS: canSet('onabort') should be 'true' and is.
-PASS: canGet('onbeforeunload') should be 'true' and is.
-PASS: canSet('onbeforeunload') should be 'true' and is.
-PASS: canGet('onblur') should be 'true' and is.
-PASS: canSet('onblur') should be 'true' and is.
-PASS: canGet('onchange') should be 'true' and is.
-PASS: canSet('onchange') should be 'true' and is.
-PASS: canGet('onclick') should be 'true' and is.
-PASS: canSet('onclick') should be 'true' and is.
-PASS: canGet('ondblclick') should be 'true' and is.
-PASS: canSet('ondblclick') should be 'true' and is.
-PASS: canGet('onerror') should be 'true' and is.
-PASS: canSet('onerror') should be 'true' and is.
-PASS: canGet('onfocus') should be 'true' and is.
-PASS: canSet('onfocus') should be 'true' and is.
-PASS: canGet('onkeydown') should be 'true' and is.
-PASS: canSet('onkeydown') should be 'true' and is.
-PASS: canGet('onkeypress') should be 'true' and is.
-PASS: canSet('onkeypress') should be 'true' and is.
-PASS: canGet('onkeyup') should be 'true' and is.
-PASS: canSet('onkeyup') should be 'true' and is.
-PASS: canGet('onload') should be 'true' and is.
-PASS: canSet('onload') should be 'true' and is.
-PASS: canGet('onmousedown') should be 'true' and is.
-PASS: canSet('onmousedown') should be 'true' and is.
-PASS: canGet('onmousemove') should be 'true' and is.
-PASS: canSet('onmousemove') should be 'true' and is.
-PASS: canGet('onmouseout') should be 'true' and is.
-PASS: canSet('onmouseout') should be 'true' and is.
-PASS: canGet('onmouseover') should be 'true' and is.
-PASS: canSet('onmouseover') should be 'true' and is.
-PASS: canGet('onmouseup') should be 'true' and is.
-PASS: canSet('onmouseup') should be 'true' and is.
-PASS: canGet('onmousewheel') should be 'true' and is.
-PASS: canSet('onmousewheel') should be 'true' and is.
-PASS: canGet('onreset') should be 'true' and is.
-PASS: canSet('onreset') should be 'true' and is.
-PASS: canGet('onresize') should be 'true' and is.
-PASS: canSet('onresize') should be 'true' and is.
-PASS: canGet('onscroll') should be 'true' and is.
-PASS: canSet('onscroll') should be 'true' and is.
-PASS: canGet('onsearch') should be 'true' and is.
-PASS: canSet('onsearch') should be 'true' and is.
-PASS: canGet('onselect') should be 'true' and is.
-PASS: canSet('onselect') should be 'true' and is.
-PASS: canGet('onsubmit') should be 'true' and is.
-PASS: canSet('onsubmit') should be 'true' and is.
-PASS: canGet('onunload') should be 'true' and is.
-PASS: canSet('onunload') should be 'true' and is.
PASS: canGet('open') should be 'true' and is.
PASS: canSet('open') should be 'true' and is.
PASS: canGet('print') should be 'true' and is.
@@ -383,3 +333,56 @@ PASS: canSet('setTimeout') should be 'true' and is.
PASS: canGet('stop') should be 'true' and is.
PASS: canSet('stop') should be 'true' and is.
+----- tests for getting/setting event handlers -----
+
+PASS: canGet('onabort') should be 'true' and is.
+PASS: canSetWithCallable('onabort') should be 'true' and is.
+PASS: canGet('onbeforeunload') should be 'true' and is.
+PASS: canSetWithCallable('onbeforeunload') should be 'true' and is.
+PASS: canGet('onblur') should be 'true' and is.
+PASS: canSetWithCallable('onblur') should be 'true' and is.
+PASS: canGet('onchange') should be 'true' and is.
+PASS: canSetWithCallable('onchange') should be 'true' and is.
+PASS: canGet('onclick') should be 'true' and is.
+PASS: canSetWithCallable('onclick') should be 'true' and is.
+PASS: canGet('ondblclick') should be 'true' and is.
+PASS: canSetWithCallable('ondblclick') should be 'true' and is.
+PASS: canGet('onerror') should be 'true' and is.
+PASS: canSetWithCallable('onerror') should be 'true' and is.
+PASS: canGet('onfocus') should be 'true' and is.
+PASS: canSetWithCallable('onfocus') should be 'true' and is.
+PASS: canGet('onkeydown') should be 'true' and is.
+PASS: canSetWithCallable('onkeydown') should be 'true' and is.
+PASS: canGet('onkeypress') should be 'true' and is.
+PASS: canSetWithCallable('onkeypress') should be 'true' and is.
+PASS: canGet('onkeyup') should be 'true' and is.
+PASS: canSetWithCallable('onkeyup') should be 'true' and is.
+PASS: canGet('onload') should be 'true' and is.
+PASS: canSetWithCallable('onload') should be 'true' and is.
+PASS: canGet('onmousedown') should be 'true' and is.
+PASS: canSetWithCallable('onmousedown') should be 'true' and is.
+PASS: canGet('onmousemove') should be 'true' and is.
+PASS: canSetWithCallable('onmousemove') should be 'true' and is.
+PASS: canGet('onmouseout') should be 'true' and is.
+PASS: canSetWithCallable('onmouseout') should be 'true' and is.
+PASS: canGet('onmouseover') should be 'true' and is.
+PASS: canSetWithCallable('onmouseover') should be 'true' and is.
+PASS: canGet('onmouseup') should be 'true' and is.
+PASS: canSetWithCallable('onmouseup') should be 'true' and is.
+PASS: canGet('onmousewheel') should be 'true' and is.
+PASS: canSetWithCallable('onmousewheel') should be 'true' and is.
+PASS: canGet('onreset') should be 'true' and is.
+PASS: canSetWithCallable('onreset') should be 'true' and is.
+PASS: canGet('onresize') should be 'true' and is.
+PASS: canSetWithCallable('onresize') should be 'true' and is.
+PASS: canGet('onscroll') should be 'true' and is.
+PASS: canSetWithCallable('onscroll') should be 'true' and is.
+PASS: canGet('onsearch') should be 'true' and is.
+PASS: canSetWithCallable('onsearch') should be 'true' and is.
+PASS: canGet('onselect') should be 'true' and is.
+PASS: canSetWithCallable('onselect') should be 'true' and is.
+PASS: canGet('onsubmit') should be 'true' and is.
+PASS: canSetWithCallable('onsubmit') should be 'true' and is.
+PASS: canGet('onunload') should be 'true' and is.
+PASS: canSetWithCallable('onunload') should be 'true' and is.
+
« no previous file with comments | « LayoutTests/fast/dom/Window/get-set-properties.html ('k') | LayoutTests/fast/dom/event-attrs-isolated-world.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698