Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Issue 297143003: Set default values for timeout and maximumAge of PositionOptions (Closed)

Created:
6 years, 7 months ago by kihong
Modified:
6 years, 6 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, blink-reviews-bindings_chromium.org, arv+blink, timvolodine, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Set default values for timeout and maximumAge of PositionOptions Geolocation spec defines default values for both timeout and maximumAge but current implementation is working with hasTimeout and hasMaximumAge functions for emulating that. Setting initial values of timeout and maximumAge is more proper than using these "has" functions. In addition, hasZeroTimeout can be removed because it is enough to check timeout is zero or not and clearMaximumAge can also be removed, as it is enough to set 0 to maximumAge. BUG=368184 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175131

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Change <limits> to <limits.h> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -53 lines) Patch
M Source/bindings/v8/custom/V8GeolocationCustom.cpp View 1 2 2 chunks +8 lines, -20 lines 0 comments Download
M Source/modules/geolocation/Geolocation.h View 2 chunks +1 line, -5 lines 0 comments Download
M Source/modules/geolocation/Geolocation.cpp View 6 chunks +8 lines, -16 lines 0 comments Download
M Source/modules/geolocation/PositionOptions.h View 1 2 2 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
kihong
Review please~:)
6 years, 7 months ago (2014-05-25 11:05:50 UTC) #1
Nils Barth (inactive)
Thanks for implementing this! One comment regarding treatment of +Infinity, otherwise looks ok. https://codereview.chromium.org/297143003/diff/1/Source/bindings/v8/custom/V8GeolocationCustom.cpp File ...
6 years, 7 months ago (2014-05-26 01:20:42 UTC) #2
kihong
https://codereview.chromium.org/297143003/diff/1/Source/bindings/v8/custom/V8GeolocationCustom.cpp File Source/bindings/v8/custom/V8GeolocationCustom.cpp (right): https://codereview.chromium.org/297143003/diff/1/Source/bindings/v8/custom/V8GeolocationCustom.cpp#newcode109 Source/bindings/v8/custom/V8GeolocationCustom.cpp:109: // If the value is positive infinity or negative ...
6 years, 7 months ago (2014-05-26 04:23:42 UTC) #3
haraken
LGTM
6 years, 6 months ago (2014-05-30 00:52:17 UTC) #4
kihong
The CQ bit was checked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-05-30 00:56:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/297143003/20001
6 years, 6 months ago (2014-05-30 00:57:26 UTC) #6
kihong
The CQ bit was unchecked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-05-30 00:58:59 UTC) #7
kihong
The CQ bit was checked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-05-30 03:53:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/297143003/40001
6 years, 6 months ago (2014-05-30 03:56:19 UTC) #9
kihong
The CQ bit was unchecked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-05-30 13:26:00 UTC) #10
kihong
The CQ bit was checked by kihong.kwon@samsung.com
6 years, 6 months ago (2014-05-30 13:26:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/297143003/40001
6 years, 6 months ago (2014-05-30 13:27:10 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 14:12:38 UTC) #13
Message was sent while issue was closed.
Change committed as 175131

Powered by Google App Engine
This is Rietveld 408576698