WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 97386
Fix Geolocation error reporting in the test support
https://bugs.webkit.org/show_bug.cgi?id=97386
Summary
Fix Geolocation error reporting in the test support
Benjamin Poulain
Reported
2012-09-21 22:16:15 PDT
The method setMockGeolocationError() does not make much sense for testing because 2 of the 3 code are supposed to be internal. This is Part 1, fix the upper layer. There may be a Part 2 if GeolocationController can also be cleaned without breaking any port.
Attachments
Patch
(59.74 KB, patch)
2012-09-21 22:18 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(62.09 KB, patch)
2012-09-21 23:15 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(62.16 KB, patch)
2012-09-21 23:35 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(63.92 KB, patch)
2012-09-21 23:49 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(63.81 KB, patch)
2012-09-21 23:59 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(63.02 KB, patch)
2012-09-24 12:21 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(62.99 KB, patch)
2012-09-24 13:48 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2012-09-21 22:18:12 PDT
Created
attachment 165244
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-21 22:23:44 PDT
Comment on
attachment 165244
[details]
Patch
Attachment 165244
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13950910
Early Warning System Bot
Comment 3
2012-09-21 22:25:26 PDT
Comment on
attachment 165244
[details]
Patch
Attachment 165244
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/13981378
Early Warning System Bot
Comment 4
2012-09-21 22:27:56 PDT
Comment on
attachment 165244
[details]
Patch
Attachment 165244
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/13954888
Peter Beverloo (cr-android ews)
Comment 5
2012-09-21 22:31:43 PDT
Comment on
attachment 165244
[details]
Patch
Attachment 165244
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/13948953
Benjamin Poulain
Comment 6
2012-09-21 23:15:44 PDT
Created
attachment 165246
[details]
Patch
WebKit Review Bot
Comment 7
2012-09-21 23:17:46 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Gyuyoung Kim
Comment 8
2012-09-21 23:20:35 PDT
Comment on
attachment 165246
[details]
Patch
Attachment 165246
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/13935864
WebKit Review Bot
Comment 9
2012-09-21 23:22:55 PDT
Comment on
attachment 165246
[details]
Patch
Attachment 165246
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13916919
Peter Beverloo (cr-android ews)
Comment 10
2012-09-21 23:27:47 PDT
Comment on
attachment 165246
[details]
Patch
Attachment 165246
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/13975667
Benjamin Poulain
Comment 11
2012-09-21 23:35:03 PDT
Created
attachment 165247
[details]
Patch
WebKit Review Bot
Comment 12
2012-09-21 23:41:08 PDT
Comment on
attachment 165247
[details]
Patch
Attachment 165247
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13948974
Peter Beverloo (cr-android ews)
Comment 13
2012-09-21 23:46:17 PDT
Comment on
attachment 165247
[details]
Patch
Attachment 165247
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/13954902
Benjamin Poulain
Comment 14
2012-09-21 23:49:04 PDT
Created
attachment 165249
[details]
Patch
WebKit Review Bot
Comment 15
2012-09-21 23:55:57 PDT
Comment on
attachment 165249
[details]
Patch
Attachment 165249
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13956933
Benjamin Poulain
Comment 16
2012-09-21 23:59:53 PDT
Created
attachment 165250
[details]
Patch
Benjamin Poulain
Comment 17
2012-09-22 00:15:15 PDT
Chromium is a PITA here because there is no clear API, everything is exposed :( Next I'll get rid of GeolocationController::errorOccurred(), Geolocation::setError() and GeolocationError. I may have to #ifdef everything for Chromium. Adam, this patch modifies WebKit/Chromium/public. Is that Okay?
WebKit Review Bot
Comment 18
2012-09-22 01:49:01 PDT
Comment on
attachment 165250
[details]
Patch
Attachment 165250
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13958905
New failing tests: fast/dom/Geolocation/reentrant-error.html fast/dom/Geolocation/error.html fast/dom/Geolocation/error-clear-watch.html fast/dom/Geolocation/watch.html WebFilterOperationsTest.saveAndRestore fast/dom/Geolocation/maximum-age.html
Adam Barth
Comment 19
2012-09-24 10:46:27 PDT
Comment on
attachment 165250
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=165250&action=review
> Source/WebKit/chromium/public/WebGeolocationClientMock.h:52 > - WEBKIT_EXPORT void setError(int errorCode, const WebString& message); > + WEBKIT_EXPORT void setMockGeolocationPositionUnavailableError(const WebString& message);
API change LGTM
Benjamin Poulain
Comment 20
2012-09-24 12:21:23 PDT
Created
attachment 165427
[details]
Patch
WebKit Review Bot
Comment 21
2012-09-24 12:47:23 PDT
Comment on
attachment 165427
[details]
Patch
Attachment 165427
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/14006205
Benjamin Poulain
Comment 22
2012-09-24 13:48:49 PDT
Created
attachment 165440
[details]
Patch
Sam Weinig
Comment 23
2012-09-24 15:07:43 PDT
Comment on
attachment 165440
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=165440&action=review
r=me
> Source/WebKit/chromium/public/WebGeolocationClientMock.h:52 > - WEBKIT_EXPORT void setError(int errorCode, const WebString& message); > + WEBKIT_EXPORT void setPositionUnavailableError(const WebString& message);
I am not sure if you are supposed to change this.
Adam Barth
Comment 24
2012-09-24 16:19:43 PDT
(In reply to
comment #23
)
> (From update of
attachment 165440
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=165440&action=review
> > r=me > > > Source/WebKit/chromium/public/WebGeolocationClientMock.h:52 > > - WEBKIT_EXPORT void setError(int errorCode, const WebString& message); > > + WEBKIT_EXPORT void setPositionUnavailableError(const WebString& message); > > I am not sure if you are supposed to change this.
See
https://bugs.webkit.org/show_bug.cgi?id=97386#c19
Benjamin Poulain
Comment 25
2012-09-24 19:29:34 PDT
Comment on
attachment 165440
[details]
Patch Clearing flags on attachment: 165440 Committed
r129444
: <
http://trac.webkit.org/changeset/129444
>
Benjamin Poulain
Comment 26
2012-09-24 19:29:38 PDT
All reviewed patches have been landed. Closing bug.
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