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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DOMParser-detached-no-crash.html

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 years, 11 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/DOMParser-detached-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMParser-detached-no-crash.html b/third_party/WebKit/LayoutTests/fast/dom/DOMParser-detached-no-crash.html
deleted file mode 100644
index ec39706210b5cbe45eed0d187203f6e4b4489e06..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/DOMParser-detached-no-crash.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<title>Document-detached use of DOMParser</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<body>
-<script>
-test(() => {
- var iframe = document.createElement("iframe");
- iframe.src = "data:text/html,<b>";
- document.body.appendChild(iframe);
- var Parser = iframe.contentWindow.DOMParser;
- iframe.remove();
- var d = new Parser();
- assert_true(d != null);
- var detached = d.parseFromString("no crash", "text/html");
- assert_equals(detached.origin, "null");
-});
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698