OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../resources/testharness.js"></script> | |
3 <script src="../../resources/testharnessreport.js"></script> | |
4 <script> | |
5 test (function() { | |
6 assert_equals((new DOMParser).parseFromString("", "text/html").origin, " file://"); | |
tkent
2016/06/01 23:06:49
nit: "file://" should be document.origin.
ramya.v
2016/06/02 03:47:18
Done.
| |
7 }, "This test checks that documents created from DOMParser inherit origin"); | |
8 </script> | |
OLD | NEW |