[
https://issues.apache.org/jira/browse/CB-6911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126748#comment-14126748
]
Shazron Abdullah commented on CB-6911:
--------------------------------------
The WebKit error source:
https://github.com/WebKit/webkit/blob/master/Source/WebCore/bindings/js/JSDOMBinding.cpp#L543
WebKit issues:
https://bugs.webkit.org/show_bug.cgi?id=133559
http://trac.webkit.org/changeset/168385
Tests:
https://github.com/WebKit/webkit/blob/0190dd5b8c0272beaa705dbc10863a84a3e6af5e/LayoutTests/js/dom/shadow-navigator-geolocation-in-strict-mode-does-not-throw-expected.txt
Basically, what shows up as an error in the Web Inspector, is a warning, and it
only shows the first time, when clobbering. If you clobber again, it won't show
the warning again.
Not sure right now how to fix this warning yet.
> iOS 8 - "deprecated attempt to access property" errors when accessing
> anything off window.navigator
> ---------------------------------------------------------------------------------------------------
>
> Key: CB-6911
> URL: https://issues.apache.org/jira/browse/CB-6911
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: CordovaJS
> Environment: iOS 8 beta 5 (device)
> Reporter: Jeff Schilling
> Assignee: Shazron Abdullah
> Attachments: Screen Shot 2014-09-01 at 9.03.30 pm.png, Screen Shot
> 2014-09-04 at 9.30.58 pm.png
>
>
> references to window.navigator.* (platform, geolocation) etc fail with
> Deprecated attempt to access property 'geolocation' on a non-Navigator object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)