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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html

Issue 2356373002: Update createContextualFragment behavior to latest spec (Closed)
Patch Set: V6 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/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html b/third_party/WebKit/LayoutTests/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html
index 312d77552423d456b0727e202abe5e23046316ad..b213f611886d0280eea64ca571b5cc4baff7f500 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Range/create-contextual-fragment-from-xml-element-range.html
@@ -19,5 +19,5 @@ try {
}
var result = document.getElementById('result');
-result.textContent = (thrownException && thrownException.message === "Failed to execute 'createContextualFragment' on 'Range': The range's container must be an HTML or SVG Element, Document, or DocumentFragment.") ? 'PASS' : 'FAIL';
+result.textContent = thrownException ? 'FAIL' : 'PASS';
</script>

Powered by Google App Engine
This is Rietveld 408576698