mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-17 12:47:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body id="body-only">Hello</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
test(function() {
|
||||
var doc = document.currentScript.ownerDocument;
|
||||
assert_throws('INVALID_STATE_ERR', function() { doc.open(); }, 'document.open()');
|
||||
assert_throws('INVALID_STATE_ERR', function() { doc.write('Hello'); }, 'document.write()');
|
||||
assert_throws('INVALID_STATE_ERR', function() { doc.open(); }, 'document.close()');
|
||||
}, 'Throws an InvalidStateError exception if the Document is an import: From an import');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue