browser_jsterm_document_no_xray.js (530B)
1 /* Any copyright is dedicated to the Public Domain. 2 * http://creativecommons.org/publicdomain/zero/1.0/ */ 3 4 "use strict"; 5 6 const TEST_URI = "data:text/html,<!DOCTYPE html>Test evaluating document"; 7 8 add_task(async function () { 9 const hud = await openNewTabAndConsole(TEST_URI); 10 11 // check for occurrences of Object XRayWrapper, bug 604430 12 const { node } = await executeAndWaitForResultMessage( 13 hud, 14 "document", 15 "HTMLDocument" 16 ); 17 is(node.textContent.includes("xray"), false, "document - no XrayWrapper"); 18 });