https://github.com/web-platform-tests/wpt
Revision b55e29597d92ab89063673f031151e2bdb4b9479 authored by Joe Downing on 22 March 2018, 07:35:35 UTC, committed by Chromium WPT Sync on 22 March 2018, 07:35:35 UTC
This change moves the KeyboardLock API methods to a 'keyboard'
namespace on the Navigator object.  We are doing this work now as
there has been a request for additional keyboard functionality that
would also be placed on the new keyboard object and we wanted to
move the KeyboardLock methods there for consistency before we launch.

KeyboardLock API Spec is here:
https://w3c.github.io/keyboard-lock/#API

Old calling pattern:
Navigator.keyboardLock();
Navigator.keyboardUnlock();

New calling pattern:
Navigator.keyboard.lock();
Navigator.keyboard.unlock();

Note: The main logic in the KeyboardLock.cpp class and tests is the
same as it was, however the file changed enough that git does not
recognize it as a file move.

BUG=680809

Change-Id: I234b2ab12d5ecd44c894ed5103863fd96fd548d4
Reviewed-on: https://chromium-review.googlesource.com/969656
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544996}
1 parent 1a8c195
History
Tip revision: b55e29597d92ab89063673f031151e2bdb4b9479 authored by Joe Downing on 22 March 2018, 07:35:35 UTC
Move KeyboardLock API methods to a 'keyboard' object
Tip revision: b55e295
File Mode Size
cache-storage
service-worker
tools
OWNERS -rw-r--r-- 58 bytes
specgen.json -rw-r--r-- 25.1 KB
stub-3.1-service-worker-obj.html -rw-r--r-- 1.9 KB
stub-3.1.1-service-worker-scope.html -rw-r--r-- 1.3 KB
stub-3.1.2-service-worker-url.html -rw-r--r-- 1.1 KB
stub-3.1.3-service-worker-state.html -rw-r--r-- 2.8 KB
stub-3.1.4-service-worker-on-state-change.html -rw-r--r-- 886 bytes
stub-3.2-navigator-service-worker.html -rw-r--r-- 2.9 KB
stub-3.2.1-navigator-service-worker-installing.html -rw-r--r-- 1.2 KB
stub-3.2.10-navigator-service-worker-oncontrollerchange.html -rw-r--r-- 1.4 KB
stub-3.2.11-navigator-service-worker-onreloadpage.html -rw-r--r-- 1.2 KB
stub-3.2.12-navigator-service-worker-onerror.html -rw-r--r-- 954 bytes
stub-3.2.2-navigator-service-worker-waiting.html -rw-r--r-- 848 bytes
stub-3.2.3-navigator-service-worker-active.html -rw-r--r-- 1.1 KB
stub-3.2.4-navigator-service-worker-controller.html -rw-r--r-- 995 bytes
stub-3.2.5-navigator-service-worker-ready.html -rw-r--r-- 2.2 KB
stub-3.2.6-navigator-service-worker-getAll.html -rw-r--r-- 699 bytes
stub-3.2.7-navigator-service-worker-register.html -rw-r--r-- 697 bytes
stub-3.2.8-navigator-service-worker-unregister.html -rw-r--r-- 681 bytes
stub-3.2.9-navigator-service-worker-onupdatefound.html -rw-r--r-- 1.2 KB
stub-4.1-service-worker-global-scope.html -rw-r--r-- 2.5 KB
stub-4.1.1-service-worker-global-scope-caches.html -rw-r--r-- 933 bytes
stub-4.1.2-service-worker-global-scope-clients.html -rw-r--r-- 785 bytes
stub-4.1.3-service-worker-global-scope-scope.html -rw-r--r-- 938 bytes
stub-4.1.4-service-worker-global-scope-fetch.html -rw-r--r-- 1.5 KB
stub-4.1.5-service-worker-global-scope-update.html -rw-r--r-- 982 bytes
stub-4.1.6-service-worker-global-scope-unregister.html -rw-r--r-- 676 bytes
stub-4.1.7-service-worker-global-scope-onmessage.html -rw-r--r-- 1.3 KB
stub-4.2-client.html -rw-r--r-- 1.9 KB
stub-4.3-service-worker-clients.html -rw-r--r-- 1.4 KB
stub-4.3.1-get-serviced-method.html -rw-r--r-- 777 bytes
stub-4.3.2-reloadall-method.html -rw-r--r-- 997 bytes
stub-4.4-request-objects.html -rw-r--r-- 2.0 KB
stub-4.5-response-objects.html -rw-r--r-- 2.2 KB
stub-4.5.2-response.html -rw-r--r-- 1017 bytes
stub-4.5.4-opaque-response.html -rw-r--r-- 942 bytes
stub-4.6-cache-objects.html -rw-r--r-- 1.0 KB
stub-4.6.1-cache-lifetimes.html -rw-r--r-- 1.2 KB
stub-4.6.2-cache.html -rw-r--r-- 2.1 KB
stub-4.6.3-cache-storage.html -rw-r--r-- 2.0 KB
stub-4.7.1-install-phase-event.html -rw-r--r-- 1.5 KB
stub-4.7.1.1-wait-until-method.html -rw-r--r-- 1.2 KB
stub-4.7.2-install-event.html -rw-r--r-- 832 bytes
stub-4.7.2.1-install-event-section.html -rw-r--r-- 1.3 KB
stub-4.7.2.2-replace-method.html -rw-r--r-- 921 bytes
stub-4.7.3-activate-event.html -rw-r--r-- 959 bytes
stub-4.7.4.1-fetch-event-section.html -rw-r--r-- 1.8 KB
stub-4.7.4.2-respond-with-method.html -rw-r--r-- 1.3 KB
stub-4.7.4.3-default-method.html -rw-r--r-- 1.3 KB
stub-4.7.4.4-is-reload-attribute.html -rw-r--r-- 824 bytes
stub-5.1-origin-relativity.html -rw-r--r-- 970 bytes
stub-5.2-cross-origin-resources.html -rw-r--r-- 1.7 KB

back to top