haikuwebkit/LayoutTests/fast/dom/Geolocation
Chris Dumez 840b6504b6 Regression(r267865) Geolocation API's error callback should be nullable
https://bugs.webkit.org/show_bug.cgi?id=219165

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Rebaseline WPT test now that more checks are passing.

* web-platform-tests/geolocation-API/PositionOptions.https-expected.txt:

Source/WebCore:

Geolocation API's error callback should be nullable. The callback is nullable in both Firefox
and Chrome and there is at least one WPT test that fails unless the error callback is nullable.

The specification does not have this parameter as nullable. However, it is particularly risky
to be the only engine matching the specification here, especially considering that we used to
match other browser engines.

No new tests, updated / rebaselined existing tests.

* Modules/geolocation/Geolocation.idl:

LayoutTests:

Update existing test to reflect behavior change.

* fast/dom/Geolocation/argument-types-expected.txt:
* fast/dom/Geolocation/argument-types.html:


Canonical link: https://commits.webkit.org/231788@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-19 21:06:46 +00:00
..
resources
argument-types-expected.txt Regression(r267865) Geolocation API's error callback should be nullable 2020-11-19 21:06:46 +00:00
argument-types.html Regression(r267865) Geolocation API's error callback should be nullable 2020-11-19 21:06:46 +00:00
cached-position-iframe-expected.txt
cached-position-iframe.html
callback-exception-expected.txt
callback-exception.html
callback-to-deleted-context-expected.txt
callback-to-deleted-context.html
callback-to-remote-context-expected.txt
callback-to-remote-context.html
callback-to-remote-context2-expected.txt
callback-to-remote-context2.html
clear-watch-invalid-id-crash-expected.txt
clear-watch-invalid-id-crash.html
coordinates-interface-attributes-expected.txt
coordinates-interface-attributes.html
dataURL-getCurrentPosition-expected.txt
dataURL-getCurrentPosition.html
dataURL-watchPosition-expected.txt
dataURL-watchPosition.html
delayed-permission-allowed-expected.txt
delayed-permission-allowed-for-multiple-requests-expected.txt
delayed-permission-allowed-for-multiple-requests.html
delayed-permission-allowed.html
delayed-permission-denied-expected.txt
delayed-permission-denied-for-multiple-requests-expected.txt
delayed-permission-denied-for-multiple-requests.html
delayed-permission-denied.html
disconnected-frame-already-expected.txt
disconnected-frame-already.html
disconnected-frame-expected.txt
disconnected-frame-permission-denied-expected.txt
disconnected-frame-permission-denied.html
disconnected-frame.html
enabled-expected.txt
enabled.html
error-clear-watch-expected.txt
error-clear-watch.html
error-expected.txt
error.html
exposed-geolocation-interfaces-expected.txt
exposed-geolocation-interfaces.html
floorLevel-expected.txt
floorLevel.html
maximum-age-expected.txt
maximum-age.html
multiple-requests-expected.txt
multiple-requests.html
not-enough-arguments-expected.txt
not-enough-arguments.html
notimer-after-unload-expected.txt
notimer-after-unload.html
page-reload-cancel-permission-requests-expected.txt
page-reload-cancel-permission-requests.html
permission-denied-already-clear-watch-expected.txt
permission-denied-already-clear-watch.html
permission-denied-already-error-expected.txt
permission-denied-already-error.html
permission-denied-already-success-expected.txt
permission-denied-already-success.html
permission-denied-expected.txt
permission-denied-stops-watches-expected.txt
permission-denied-stops-watches.html
permission-denied.html
position-string-expected.txt
position-string.html
reentrant-error-expected.txt
reentrant-error.html
reentrant-permission-denied-expected.txt
reentrant-permission-denied.html
reentrant-success-expected.txt
reentrant-success.html
remove-remote-context-in-error-callback-crash-expected.txt
remove-remote-context-in-error-callback-crash.html
requestQueuingForHiddenPage-expected.txt
requestQueuingForHiddenPage.html
srcdoc-getCurrentPosition-expected.txt
srcdoc-getCurrentPosition.html
srcdoc-watchPosition-expected.txt
srcdoc-watchPosition.html
startUpdatingOnlyWhenPageVisible-expected.txt
startUpdatingOnlyWhenPageVisible.html
stopUpdatingForHiddenPage-expected.txt
stopUpdatingForHiddenPage.html
success-clear-watch-expected.txt
success-clear-watch.html
success-expected.txt
success.html
timeout-clear-watch-expected.txt
timeout-clear-watch.html
timeout-expected.txt
timeout-zero-expected.txt
timeout-zero.html
timeout.html
timestamp-expected.txt
timestamp.html
watch-expected.txt
watch.html
watchPosition-unique-expected.txt
watchPosition-unique.html
window-close-crash-expected.txt
window-close-crash.html