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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt

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
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
index 8703e731cc5a5f821b578424923d810a80259d3e..6e088cd186706f30adda25fde072d7af558e83f0 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt
@@ -36,8 +36,10 @@ PASS container6.contextMenu is null
PASS container6.hasAttribute('contextmenu') is true
PASS container6.getAttribute('contextmenu') is ""
Test setting contextmenu attribute to some text
+PASS container7.contextMenu = 'foobar' threw exception TypeError: Failed to set the 'contextMenu' property on 'HTMLElement': The provided value is not of type 'HTMLMenuElement'..
PASS container7.contextMenu is null
Test setting contextmenu attribute to comment
+PASS container8.contextMenu = document.createComment('foo') threw exception TypeError: Failed to set the 'contextMenu' property on 'HTMLElement': The provided value is not of type 'HTMLMenuElement'..
PASS container8.contextMenu is null
Test setting contextmenu attribute to menu without type
PASS container9.contextMenu.id is "menu_without_type"

Powered by Google App Engine
This is Rietveld 408576698