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

Side by Side Diff: LayoutTests/fast/workers/shared-worker-navigator-expected.txt

Issue 22866014: Expose navigator.product and navigator.appCodeName constants to workers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 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
OLDNEW
1 Test Navigator properties. 1 Test Navigator properties.
2 2
3 typeof navigator: object 3 typeof navigator: object
4 navigator: [object WorkerNavigator] 4 navigator: [object WorkerNavigator]
5 navigator.appName: Netscape 5 navigator.appName: Netscape
6 navigator.appVersion.indexOf('WebKit') != 0: true 6 navigator.appVersion.indexOf('WebKit') != 0: true
7 typeof navigator.platform: string 7 typeof navigator.platform: string
8 navigator.userAgent.indexOf('WebKit') != 0: true 8 navigator.userAgent.indexOf('WebKit') != 0: true
9 typeof navigator.onLine: boolean 9 typeof navigator.onLine: boolean
10 navigator.appCodeName === 'Mozilla': true
11 navigator.product === 'Gecko': true
10 DONE 12 DONE
11 13
OLDNEW
« no previous file with comments | « LayoutTests/fast/workers/resources/worker-navigator.js ('k') | LayoutTests/fast/workers/worker-navigator-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698