Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

// META: global=sharedworker
var unexpected = [
"ApplicationCache",
"SharedWorker",
"CanvasPath",
"DedicatedWorkerGlobalScope",
"AbstractView",
"AbstractWorker",
"Location",
"Navigator",
"DOMImplementation",
"Audio",
"HTMLCanvasElement",
"Path",
"CanvasProxy",
"CanvasRenderingContext2D",
"DrawingStyle",
"PopStateEvent",
"HashChangeEvent",
"PageTransitionEvent",
"IDBEnvironment",
"Database",
"UIEvent",
"FocusEvent",
"MouseEvent",
"WheelEvent",
"InputEvent",
"KeyboardEvent",
"CompositionEvent",
];
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");
}