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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html

Issue 1476153002: Drop [LegacyInterfaceTypeChecking] for APIs that are not enabled by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix contextmenu test Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html
index 5dbb1c373a0a77a31a6cf95eb620f8072561462a..27968141cc9b223d97adf7c8670fe6701c39b64b 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu.html
@@ -93,13 +93,13 @@ shouldBeEqualToString("container6.getAttribute('contextmenu')", "");
debug("Test setting contextmenu attribute to some text");
document.write("<div id='container7'></div>");
var container7 = document.getElementById('container7');
-container7.contextMenu = "foobar";
+shouldThrow("container7.contextMenu = 'foobar'");
shouldBeNull("container7.contextMenu");
debug("Test setting contextmenu attribute to comment");
document.write("<div id='container8'></div>");
var container8 = document.getElementById('container8');
-container8.contextMenu = document.createComment('foo');
+shouldThrow("container8.contextMenu = document.createComment('foo')");
shouldBeNull("container8.contextMenu");
debug("Test setting contextmenu attribute to menu without type");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698