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

Side by Side Diff: LayoutTests/netinfo/resources/web-worker.js

Issue 299883004: Adds WebWorker support to NetInfo v3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@netinfo3
Patch Set: Regolding webexposed/ layout tests Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/netinfo/web-worker.html » ('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 addEventListener('message', function(e) {
2 self.postMessage(navigator.connection.type);
3 }, false);
4
5 navigator.connection.addEventListener('typechange', function() {
6 self.postMessage(navigator.connection.type);
7 }, false);
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/netinfo/web-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698