| Index: third_party/WebKit/LayoutTests/fast/dom/dom-parser-document-origin.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/dom-parser-document-origin.html b/third_party/WebKit/LayoutTests/fast/dom/dom-parser-document-origin.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..082415ad5030f57698c31ef46e4acf7114fb572f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/dom-parser-document-origin.html
|
| @@ -0,0 +1,8 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +test (function() {
|
| + assert_equals((new DOMParser).parseFromString("", "text/html").origin, document.origin);
|
| +}, "This test checks that documents created from DOMParser inherit origin");
|
| +</script>
|
|
|