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

Side by Side Diff: third_party/WebKit/LayoutTests/battery-status/detached-no-crash-expected.txt

Issue 2880763002: [Battery] Allow usage from SecureContext or top-level browsing context only. (Closed)
Patch Set: Remove battery-iframe.https-expected.txt and battery-insecure-context-expected.txt Created 3 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
OLDNEW
1 Accessing navigator.getBattery() on a closed window. 1 Accessing navigator.getBattery() on a closed window.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS typeof(nav.getBattery()) == 'object' is true 6 PASS typeof(nav.getBattery()) == 'object' is true
7 PASS nav.getBattery() is undefined. 7 Error Code is 18
8 PASS successfullyParsed is true 8 PASS successfullyParsed is true
9 9
10 TEST COMPLETE 10 TEST COMPLETE
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698