Summary: | Navigator.geolocation should not be marked a [Replaceable] and should be on the prototype | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||
Component: | Bindings | Assignee: | Chris Dumez <cdumez> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | barraclough, benjamin, buildbot, cgarcia, commit-queue, dbates, esprehn+autocc, ggaren, kondapallykalyan, oliver, rniwa, sam, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar, WebExposed | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
URL: | https://dev.w3.org/geo/api/spec-source.html#geolocation_interface | ||||||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=133559 https://bugs.webkit.org/show_bug.cgi?id=154257 https://bugs.webkit.org/show_bug.cgi?id=133221 |
||||||||||
Attachments: |
|
Description
Chris Dumez
2016-02-16 12:49:34 PST
Moving the Navigator properties to the prototype and dropping the [Replaceable] for Navigator.geolocation, I have verified that rdar://problem/16332749 no longer reproduces in the latest Amazon iOS app. Firefox and Chrome both don't allow replacing Navigator.geolocation. Both throw an exception when trying to set Navigator.geolocation in strict mode. Created attachment 271495 [details]
Patch
Comment on attachment 271495 [details] Patch Attachment 271495 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/842221 New failing tests: fast/dom/Geolocation/enabled.html js/dom/delete-syntax.html Created attachment 271503 [details]
Archive of layout-test-results from ews101 for mac-yosemite
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 271504 [details]
Patch
Comment on attachment 271504 [details] Patch Clearing flags on attachment: 271504 Committed r196673: <http://trac.webkit.org/changeset/196673> All reviewed patches have been landed. Closing bug. |