Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/workers/Worker_NosniffErr.htm

Issue 2689173002: Implement script MIME restrictions for X-Content-Type-Options: nosniff for Workers (Closed)
Patch Set: incorporated mkwst@'s comment Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title> Worker with nosniff X-Content-Type-Options header </title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <script>
7 async_test(function(t) {
8 var worker = new Worker("./support/nosiniff-error-worker.py");
9 worker.onerror = t.step_func_done(function(e) {
10 assert_equals(e.type, 'error');
11 });
12 });
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698