haikuwebkit/LayoutTests/pointer-lock/pointer-lock-api-expected.txt

15 lines
395 B
Plaintext
Raw Permalink Normal View History

Add new Pointer Lock spec attribute webkitPointerLockElement. https://bugs.webkit.org/show_bug.cgi?id=88799 Source/WebCore: Reviewed by Dimitri Glazkov. Part of a series of refactoring changes to update pointer lock API to the fullscreen locking style. https://bugs.webkit.org/show_bug.cgi?id=84402 New attribute webkitPointerLockElement added. Follow up patches will remove the previous isLocked attribute. Tests updated to use the new attribute. * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webkitPointerLockElementEnabled): * dom/Document.cpp: (WebCore): (WebCore::Document::webkitPointerLockElement): * dom/Document.h: (Document): * dom/Document.idl: * page/PointerLockController.h: (WebCore::PointerLockController::element): Tools: Reviewed by Dimitri Glazkov. Part of a series of refactoring changes to update pointer lock API to the fullscreen locking style. https://bugs.webkit.org/show_bug.cgi?id=84402 New attribute webkitPointerLockElement added. Follow up patches will remove the previous isLocked attribute. Tests updated to use the new attribute. WebViewHost logic required modification to correctly repond to a lock, unlock, pointerLockElement call series. Specifically, unlocking must be queued after a lock command is issued always as the lock state may not be set yet with a lock request in flight. * DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::requestPointerUnlock): Always post didLosePointerLock task. (WebViewHost::didLosePointerLock): Signal didLosePointerLock only if pointer was locked. LayoutTests: Part of a series of refactoring changes to update pointer lock API to the fullscreen locking style. https://bugs.webkit.org/show_bug.cgi?id=84402 New attribute webkitPointerLockElement added. Follow up patches will remove the previous isLocked attribute. Tests updated to use the new attribute. Reviewed by Dimitri Glazkov. * pointer-lock/lock-already-locked-expected.txt: * pointer-lock/lock-already-locked.html: * pointer-lock/pointer-lock-api-expected.txt: * pointer-lock/pointer-lock-api.html: * pointer-lock/pointerlocklost-event-expected.txt: * pointer-lock/pointerlocklost-event.html: Canonical link: https://commits.webkit.org/106664@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-12 03:02:16 +00:00
Basic API existence test for Pointer Lock.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Remove webkit prefix from pointer lock tests. https://bugs.webkit.org/show_bug.cgi?id=134744 Patch by Alex Christensen <achristensen@webkit.org> on 2014-07-08 Reviewed by Brady Eidson. * http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt: * http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html: * http/tests/pointer-lock/iframe-sandboxed-expected.txt: * http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt: * http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html: * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt: * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html: * http/tests/pointer-lock/iframe-sandboxed.html: * http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt: * http/tests/pointer-lock/pointerlockelement-different-origin.html: * http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt: * http/tests/pointer-lock/pointerlockelement-same-origin.html: * http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt: * http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html: * http/tests/resources/pointer-lock/iframe-common.js: (document.onpointerlockchange): (document.onpointerlockerror): (document.onwebkitpointerlockchange): Deleted. (document.onwebkitpointerlockerror): Deleted. * http/tests/resources/pointer-lock/pointer-lock-test-harness.js: (expectOnlyChangeEvent): (expectOnlyErrorEvent): (expectNoEvents): * pointer-lock/bug90391-move-then-window-open-crash-expected.txt: * pointer-lock/bug90391-move-then-window-open-crash.html: * pointer-lock/lock-already-locked-expected.txt: * pointer-lock/lock-already-locked.html: * pointer-lock/lock-element-not-in-dom-expected.txt: * pointer-lock/lock-element-not-in-dom.html: * pointer-lock/locked-element-iframe-removed-from-dom-expected.txt: * pointer-lock/locked-element-iframe-removed-from-dom.html: * pointer-lock/locked-element-removed-from-dom-expected.txt: * pointer-lock/locked-element-removed-from-dom.html: * pointer-lock/mouse-event-api-expected.txt: * pointer-lock/mouse-event-api.html: * pointer-lock/mouse-event-delivery-expected.txt: * pointer-lock/mouse-event-delivery.html: * pointer-lock/pointer-lock-api-expected.txt: * pointer-lock/pointer-lock-api.html: * pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt: * pointer-lock/pointerlockchange-event-on-lock-lost.html: * pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt: * pointer-lock/pointerlockchange-pointerlockerror-events.html: * pointer-lock/pointerlockelement-null-when-pending-expected.txt: * pointer-lock/pointerlockelement-null-when-pending.html: Remove webkit prefix on pointer lock functions and events. This should have been done in r170585. Canonical link: https://commits.webkit.org/152687@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-07-08 22:36:24 +00:00
PASS document.onpointerlockchange is defined.
PASS document.onpointerlockerror is defined.
PASS document.exitPointerLock is defined.
PASS document.pointerLockElement is null
PASS element.requestPointerLock is defined.
PASS successfullyParsed is true
TEST COMPLETE