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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/test.js

Issue 1643823003: bug? Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 function receive_message()
2 {
3 return new Promise(function(resolve) {
4 self.onmessage = function(e) {
5 console.log(e);
6 resolve();
7 };
8 });
9 }
10 /*
11 self.oninstall = function(e) {
12 e.waitUntil(receive_message());
13 };
14 */
15 self.onactivate = function(e) {
16 e.waitUntil(receive_message());
nhiroki 2016/02/08 04:54:02 A promise returned by receive_message() is never s
17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698