Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

importScripts("/resources/testharness.js");
var unexpected = [
"SharedWorker",
"CanvasPath",
"SharedWorkerGlobalScope",
"AbstractView",
"AbstractWorker",
"ApplicationCache",
"Location",
"Navigator",
"Audio",
"HTMLCanvasElement",
"Path",
"CanvasProxy",
"CanvasRenderingContext2D",
"DrawingStyle",
"BeforeUnloadEvent",
"PopStateEvent",
"HashChangeEvent",
"PageTransitionEvent",
"DOMImplementation",
"IDBEnvironment",
"Database",
"UIEvent",
"FocusEvent",
"MouseEvent",
"WheelEvent",
"InputEvent",
"KeyboardEvent",
"CompositionEvent",
"VTTCue",
"VTTRegion",
];
for (var i = 0; i < unexpected.length; ++i) {
test(function () {
assert_false(unexpected[i] in self);
}, "The " + unexpected[i] + " interface object should not be exposed.");
}
done();