Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

/* Any copyright is dedicated to the Public Domain.
"use strict";
const TEST_URI = "data:text/html,<!DOCTYPE html>Test evaluating document";
add_task(async function () {
const hud = await openNewTabAndConsole(TEST_URI);
// check for occurrences of Object XRayWrapper, bug 604430
const { node } = await executeAndWaitForResultMessage(
hud,
"document",
"HTMLDocument"
);
is(node.textContent.includes("xray"), false, "document - no XrayWrapper");
});