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

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

Issue 915033002: BatteryManager.getBattery(): gracefully bail on context-detached use. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidying up test Created 5 years, 10 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 main frame - has 1 onunload handler(s) 1 main frame - has 1 onunload handler(s)
2 Updating window.location after the window has been closed, without crashing. 2 Accessing navigator.getBattery() on a closed window.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS typeof(nav.getBattery()) == 'object' is true
8 PASS nav.getBattery() is undefined.
7 PASS successfullyParsed is true 9 PASS successfullyParsed is true
8 10
9 TEST COMPLETE 11 TEST COMPLETE
10 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698