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

Side by Side Diff: LayoutTests/fast/serviceworker/serviceworker-interface.html

Issue 225053005: ServiceWorker should have an interface object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline webexposed constructor list. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/serviceworker/serviceworker-interface-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5 test(function() {
6 assert_true('ServiceWorker' in window,
7 'the constructor should be defined');
8 assert_throws(null, function() { new ServiceWorker(); },
9 'the constructor should not be callable with "new"');
10 assert_throws(null, function() { ServiceWorker(); },
11 'the constructor should not be callable');
12 assert_equals(Object.getPrototypeOf(ServiceWorker.prototype),
13 Worker.prototype,
14 'ServiceWorker should extend Worker');
15 }, 'ServiceWorker interface');
16 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/serviceworker/serviceworker-interface-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698