WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
80433
[Mac] Add optional support GeolocationClient::setEnableHighAccuracy()
https://bugs.webkit.org/show_bug.cgi?id=80433
Summary
[Mac] Add optional support GeolocationClient::setEnableHighAccuracy()
Benjamin Poulain
Reported
2012-03-06 11:06:54 PST
Wire the Geolocation client so that the WebGeolocationProvider can provides setEnableHighAccuracy() if needed.
Attachments
Patch
(3.06 KB, patch)
2012-03-06 11:08 PST
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2012-03-06 11:08:52 PST
Created
attachment 130412
[details]
Patch
Brent Fulgham
Comment 2
2012-11-19 22:18:12 PST
Why has this been sitting here for eight months? Looks reasonable, but are there any tests that can be run to confirm things work as expected?
Brent Fulgham
Comment 3
2012-11-19 22:37:08 PST
Comment on
attachment 130412
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=130412&action=review
> Source/WebKit/mac/WebCoreSupport/WebGeolocationClient.mm:71 > + id<WebGeolocationProvider> geolocationProvider = [m_webView _geolocationProvider];
My only concern was whether this would violate any private API etiquette, but I see that other implementations in this same file already access this "private" method.
> Source/WebKit/mac/WebCoreSupport/WebGeolocationClient.mm:72 > + if ([geolocationProvider respondsToSelector:@selector(operationShouldProceed)])
Why are we checking for the operationShouldProceed here? Wouldn't we want to check for "setEnableHighAccuracy:"?
Benjamin Poulain
Comment 4
2012-11-19 23:43:57 PST
Comment on
attachment 130412
[details]
Patch Oh gosh, I totally forgot about that, sorry. I remove it from the queue. It is not needed for now.
Benjamin Poulain
Comment 5
2012-11-19 23:45:09 PST
> > Source/WebKit/mac/WebCoreSupport/WebGeolocationClient.mm:72 > > + if ([geolocationProvider respondsToSelector:@selector(operationShouldProceed)]) > > Why are we checking for the operationShouldProceed here? Wouldn't we want to check for "setEnableHighAccuracy:"?
That is correct. An unfortunate copy-paste.
Benjamin Poulain
Comment 6
2014-02-03 13:51:38 PST
Irrelevant now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug