https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 47e1e79e582c8e7313aee1a58f814e86fab7ee05 authored by Cactusmachete on 22 March 2018, 20:36:19 UTC
Fixed lint checking directories it shouldn't be
Tip revision: 47e1e79
Worker_NosniffErr.htm
<!DOCTYPE html>
<title> Worker with nosniff X-Content-Type-Options header </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  var worker = new Worker("./support/nosiniff-error-worker.py");
  worker.onerror = t.step_func_done(function(e) {
    assert_equals(e.type, 'error');
  });
});
</script>
back to top