Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Tests postMessage to and from a ServiceWorker | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
| 4 | |
| 5 | |
| 6 messageChannel = new MessageChannel() | |
| 7 messageChannel.port1.onmessage = onMessageHandler | |
| 8 | |
| 9 navigator.serviceWorker.register('postmessage-worker.js') | |
| 10 FAIL DisabledError | |
| 11 PASS successfullyParsed is true | |
|
kinuko
2014/03/11 07:13:36
Can we also have test results for --enable-service
jsbell
2014/03/11 15:56:41
Ah, that's how it works! :) Yes, I'll add them.
jsbell
2014/03/11 20:10:51
Done.
| |
| 12 | |
| 13 TEST COMPLETE | |
| 14 | |
| OLD | NEW |