mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1115678 - Explicitly set dom.workers.websocket.enabled for websocket tests in workers. rs=RyanVM
This commit is contained in:
parent
a0781ee659
commit
b8ee62aca6
@ -13,7 +13,8 @@
|
||||
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
SpecialPowers.pushPrefEnv({ set: [["dom.workers.sharedWorkers.enabled", true]] }, function() {
|
||||
SpecialPowers.pushPrefEnv({ set: [["dom.workers.sharedWorkers.enabled", true],
|
||||
["dom.workers.websocket.enabled", true]]}, function() {
|
||||
var sw = new SharedWorker('webSocket_sharedWorker.js');
|
||||
sw.port.onmessage = function(event) {
|
||||
if (event.data.type == 'finish') {
|
||||
|
Loading…
Reference in New Issue
Block a user