mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
e55a1c46a2
--HG-- extra : rebase_source : 6ed902dfed6a7678f813fc21a4affef798484f1a extra : source : 06dbe25231c283191c1cc4fea66c1c76add2c91c
15 lines
424 B
HTML
15 lines
424 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<title>Test for Bug 1123875</title>
|
|
<script src=/resources/testharness.js></script>
|
|
<script src=/resources/testharnessreport.js></script>
|
|
<div id=log></div>
|
|
<script>
|
|
test(() => {
|
|
assert_throws(new TypeError, () => {
|
|
"use strict";
|
|
document.childNodes.length = 0;
|
|
});
|
|
}, "setting a readonly attribute on a proxy in strict mode should throw a TypeError");
|
|
</script>
|