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

Side by Side Diff: LayoutTests/pointer-lock/locked-element-removed-from-dom-prefixed-expected.txt

Issue 437443005: Revert of Revert of Remove prefixed Pointer Lock API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
(Empty)
1 Test removing a locked element from a document causes lock to be released.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Lock target in iframe. (main document handler).
7 Lock target in iframe. (iframe handler)
8 PASS onwebkitpointerlockchange received after: Lock target in iframe. (iframe ha ndler)
9 PASS targetIframe1.contentDocument.webkitPointerLockElement is targetDiv1
10 PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.bod y
11 Remove targetDiv1's parent from iframe & immediately lock target2. (main do cument handler)
12 Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)
13 PASS document.webkitPointerLockElement is null
14 PASS targetDiv1.parentElement.parentElement is null
15 PASS onwebkitpointerlockerror received after: Remove targetDiv1's parent from if rame & immediately lock target2. (main document handler)
16 PASS onwebkitpointerlockchange received after: Remove targetDiv1's parent from i frame & immediately lock target2. (iframe handler)
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698