3 <title>Test for Bug
1123875</title>
4 <script src=/resources/testharness.js
></script>
5 <script src=/resources/testharnessreport.js
></script>
8 /* global test, assert_throws */
10 assert_throws(new TypeError
, () => {
12 document
.childNodes
.length
= 0;
14 }, "setting a readonly attribute on a proxy in strict mode should throw a TypeError");