browser_inspector_inspect-object-element.js (552B)
1 /* Any copyright is dedicated to the Public Domain. 2 http://creativecommons.org/publicdomain/zero/1.0/ */ 3 "use strict"; 4 5 // A regression test for bug 665880 to make sure elements inside <object> can 6 // be inspected without exceptions. 7 8 const TEST_URI = 9 "data:text/html;charset=utf-8," + 10 "<object><p>browser_inspector_inspect-object-element.js</p></object>"; 11 12 add_task(async function () { 13 const { inspector } = await openInspectorForURL(TEST_URI); 14 15 await selectNode("object", inspector); 16 17 ok(true, "Selected <object> without throwing"); 18 });