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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/007.html

Issue 2418853003: Worker: Import "imported/wpt/workers" tests (Retry) (Closed)
Patch Set: rebase Created 4 years, 2 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 <!--
2 var log = [];
3 var neverEncounteredValue = "This is not the value you are looking for.";
4 for (x in navigator) {
5 // this should silently fail and not throw per webidl
6 navigator[x] = neverEncounteredValue;
7 if (navigator[x] === neverEncounteredValue)
8 log.push(x);
9 }
10 postMessage(log.join(', '));
11 /*
12 -->
13 <!doctype html>
14 <title>readonlyness of members of Navigator</title>
15 <script src="/resources/testharness.js"></script>
16 <script src="/resources/testharnessreport.js"></script>
17 <div id=log></div>
18 <script>
19 async_test(function() {
20 var worker = new Worker('#');
21 worker.onmessage = this.step_func(function(e) {
22 assert_equals(e.data, '');
23 this.done();
24 });
25 });
26 </script>
27 <!--
28 */
29 //-->
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698