mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-02 17:59:55 +00:00
23 lines
759 B
HTML
23 lines
759 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Worker created from inline text and loaded via blob URI should not run with policy default-src *</title>
|
|
<script src='/resources/testharness.js'></script>
|
|
<script src='/resources/testharnessreport.js'></script>
|
|
</head>
|
|
<body>
|
|
<h1>Worker created from inline text and loaded via blob URI should not run with policy default-src *</h1>
|
|
<div id='log'></div>
|
|
|
|
<script id="inlineWorker" type="app/worker">
|
|
addEventListener('message', function() {
|
|
postMessage('fail');
|
|
}, false);
|
|
</script>
|
|
|
|
<script src="buildInlineWorker.js"></script>
|
|
<script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=default-src%20*'></script>
|
|
|
|
</body>
|
|
</html>
|