blob: 37ba9bd13ee28a020091b8671905185bb124f486 (
plain)
1
2
3
4
5
6
7
8
9
|
self.importScripts('/resources/testharness.js');
test(function() {
let xhr = new XMLHttpRequest();
xhr.responseType = "document";
assert_not_equals(xhr.responseType, "document");
}, "Setting XMLHttpRequest responseType to 'document' in a worker should have no effect.");
done();
|