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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html

Issue 2408493002: Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Added one more win7-specific baseline Created 4 years, 2 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/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html
index bfd6f9c68155a62eb8842757c6387787a73fb5de..1c87892cba7fa30533c2c28f8c0244dd90ff8548 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/event-handler-attributes-body-window.html
@@ -21,4 +21,14 @@ handlers.forEach(function(handler) {
}, handler);
});
+handlers.forEach(function(handler) {
+ document.body['on' + handler] = null;
+});
+
+handlers.forEach(function(handler) {
+ test(function() {
+ assert_equals(document.body['on' + handler], null);
+ assert_equals(window['on' + handler], null);
+ }, handler + " removal");
+});
</script>

Powered by Google App Engine
This is Rietveld 408576698