Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29542859: Issue 5660 - Check for runtime.getBrowserInfo API support (Closed)

Created:
Sept. 13, 2017, 1:43 a.m. by Manish Jethani
Modified:
Sept. 15, 2017, 11:43 a.m.
Reviewers:
Sebastian Noack
Base URL:
https://hg.adblockplus.org/buildtools
Visibility:
Public.

Description

Issue 5660 - Check for runtime.getBrowserInfo API support

Patch Set 1 #

Patch Set 2 : Fall back on UA string #

Total comments: 4

Patch Set 3 : Parse UA string for only version number #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M templates/geckoInfo.js.tmpl View 1 2 1 chunk +15 lines, -4 lines 0 comments Download

Messages

Total messages: 12
Manish Jethani
Sept. 13, 2017, 1:43 a.m. (2017-09-13 01:43:16 UTC) #1
Manish Jethani
Patch Set 1 I checked and we're only checking specifically for "fennec" so far. It ...
Sept. 13, 2017, 1:45 a.m. (2017-09-13 01:45:22 UTC) #2
Sebastian Noack
I suppose we could just fall back to the user agent if runtime.getBrowserInfo is not ...
Sept. 13, 2017, 1:59 a.m. (2017-09-13 01:59:49 UTC) #3
Sebastian Noack
> I checked and we're only checking specifically for "fennec" so far. It should be ...
Sept. 13, 2017, 2:07 a.m. (2017-09-13 02:07:04 UTC) #4
Manish Jethani
Patch Set 2: Fall back on UA string
Sept. 13, 2017, 7:44 a.m. (2017-09-13 07:44:12 UTC) #5
Manish Jethani
On 2017/09/13 01:59:49, Sebastian Noack wrote: > I suppose we could just fall back to ...
Sept. 13, 2017, 7:47 a.m. (2017-09-13 07:47:06 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl File templates/geckoInfo.js.tmpl (right): https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl#newcode43 templates/geckoInfo.js.tmpl:43: exportApplicationInfo({name: browserInfo[1], version: browserInfo[2]}); There is only one application ...
Sept. 13, 2017, 5:38 p.m. (2017-09-13 17:38:01 UTC) #7
Manish Jethani
https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl File templates/geckoInfo.js.tmpl (right): https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl#newcode43 templates/geckoInfo.js.tmpl:43: exportApplicationInfo({name: browserInfo[1], version: browserInfo[2]}); On 2017/09/13 17:38:01, Sebastian Noack ...
Sept. 14, 2017, 4:27 a.m. (2017-09-14 04:27:12 UTC) #8
Sebastian Noack
https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl File templates/geckoInfo.js.tmpl (right): https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl#newcode43 templates/geckoInfo.js.tmpl:43: exportApplicationInfo({name: browserInfo[1], version: browserInfo[2]}); On 2017/09/14 04:27:11, Manish Jethani ...
Sept. 14, 2017, 4:33 a.m. (2017-09-14 04:33:41 UTC) #9
Manish Jethani
Patch Set 3: Parse UA string for only version number
Sept. 14, 2017, 6:06 a.m. (2017-09-14 06:06:17 UTC) #10
Manish Jethani
https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl File templates/geckoInfo.js.tmpl (right): https://codereview.adblockplus.org/29542859/diff/29543565/templates/geckoInfo.js.tmpl#newcode43 templates/geckoInfo.js.tmpl:43: exportApplicationInfo({name: browserInfo[1], version: browserInfo[2]}); On 2017/09/13 17:38:01, Sebastian Noack ...
Sept. 14, 2017, 6:06 a.m. (2017-09-14 06:06:51 UTC) #11
Sebastian Noack
Sept. 14, 2017, 3:40 p.m. (2017-09-14 15:40:02 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld