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

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: Simplify layout test Created 6 years, 7 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 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') | Source/modules/netinfo/WorkerNavigatorNetworkInfoConnection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698