mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
This was done automatically by using the following script: https://gist.github.com/evilpie/50f63f485799c3ac9db3e93142562bca Do note that this produces some buggy results, which I manually fixed in the next commit. Differential Revision: https://phabricator.services.mozilla.com/D34840
19 lines
583 B
HTML
19 lines
583 B
HTML
<!doctype html>
|
|
<title>unavailable interface objects in shared worker</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<div id=log></div>
|
|
<script>
|
|
setup(function() {
|
|
window.worker = new SharedWorker('004.js');
|
|
worker.port.onmessage = function(e) {
|
|
var result = e.data;
|
|
for (var i = 0; i < result.length; ++i) {
|
|
test(function() {
|
|
assert_false(result[i][1]);
|
|
}, "The " + result[i][0] + " interface object should not be exposed");
|
|
}
|
|
done();
|
|
}
|
|
}, {explicit_done: true});
|
|
</script> |