blob: 64cd8bb504504245619e0e0237d57280ea77171e [file] [log] [blame]
importScripts('../../../resources/js-test-pre.js');
var global = this;
global.jsTestIsAsync = true;
description("Tests XMLHttpRequest.setRequestHeader() in workers");
var xhr = new XMLHttpRequest;
xhr.open("GET", "empty-worker.js", false);
xhr.setRequestHeader("Accept", "*/*");
xhr.send(null);
finishJSTest();