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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Document-prototype-currentScript.html

Issue 2360123002: Import wpt@3801ab5834101113e5f53bfb57e3c76b2b87ecbb (Closed)
Patch Set: Mark the failing test to Win only Created 4 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/imported/wpt/shadow-dom/Document-prototype-currentScript.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Document-prototype-currentScript.html b/third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Document-prototype-currentScript.html
index ceecf1ba17ac14dc55983c5a0b44200b45b987d4..867cea9795e09a17017fac8cd1730f605adf39b4 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Document-prototype-currentScript.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Document-prototype-currentScript.html
@@ -20,7 +20,7 @@ function testInlineScript(mode)
var host = document.createElement('div');
var shadowRoot = host.attachShadow({mode: mode});
var scriptElement = document.createElement('script');
- scriptElement.textContent = 'assert_equals(document.currentScript, outerScriptElement)';
+ scriptElement.textContent = 'assert_equals(document.currentScript, null)';
shadowRoot.appendChild(scriptElement);
assert_equals(document.currentScript, outerScriptElement,

Powered by Google App Engine
This is Rietveld 408576698