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

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

Issue 298683002: navigator.vibrate() crash avoidance when in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rephrase null check 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
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.vibrate 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 w.navigator.vibrate([]) is false
7 PASS successfullyParsed is true 8 PASS successfullyParsed is true
8 9
9 TEST COMPLETE 10 TEST COMPLETE
10 11
OLDNEW
« no previous file with comments | « LayoutTests/vibration/vibration-detached-no-crash.html ('k') | Source/modules/vibration/NavigatorVibration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698