chromium/third_party/blink/web_tests/external/wpt/xhr/resources/responseType-document-in-worker.js

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();