Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / bindings / test / test_bug1123875.html
blob383d14fe9f3af18c535ac57e2c335d4c52141a39
1 <!doctype html>
2 <meta charset=utf-8>
3 <title>Test for Bug 1123875</title>
4 <script src=/resources/testharness.js></script>
5 <script src=/resources/testharnessreport.js></script>
6 <div id=log></div>
7 <script>
8 /* global test, assert_throws */
9 test(() => {
10 assert_throws(new TypeError, () => {
11 "use strict";
12 document.childNodes.length = 0;
13 });
14 }, "setting a readonly attribute on a proxy in strict mode should throw a TypeError");
15 </script>