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