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

Issue 2063003003: Implement "scope" Web Manifest parsing (Closed)

Created:
4 years, 6 months ago by pkotwicz
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, dominickn, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-manifest_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement "scope" Web Manifest parsing The parsing algorithm is defined in https://www.w3.org/TR/appmanifest/#scope-member This CL also sets start_url to the document URL if the start_url cannot be parsed as per the spec BUG=619739 Committed: https://crrev.com/c099a894d1c0569d4bd20374ed8773ebcba6c989 Cr-Commit-Position: refs/heads/master@{#401640}

Patch Set 1 : Merge branch 'webapk_manifest' into webapk_manifest_scope0 #

Total comments: 14

Patch Set 2 : Merge branch 'webapk_manifest_scope00' into webapk_manifest_scope0 #

Total comments: 1

Patch Set 3 : Merge branch 'webapk_manifest_scope00' into webapk_manifest_scope0 #

Total comments: 3

Patch Set 4 : Merge branch 'webapk_manifest_scope00' into webapk_manifest_scope0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -2 lines) Patch
M content/public/common/manifest.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/manifest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/manifest/manifest_parser.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser.cc View 1 2 3 3 chunks +33 lines, -1 line 0 comments Download
M content/renderer/manifest/manifest_parser_unittest.cc View 1 2 3 4 chunks +155 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (22 generated)
pkotwicz
Xi, can you please take a look? Glenn, can you please double check the scope ...
4 years, 6 months ago (2016-06-14 17:45:50 UTC) #5
hartmanng
On 2016/06/14 17:45:50, pkotwicz wrote: > I think that the > spec requires start_url to ...
4 years, 6 months ago (2016-06-14 18:24:27 UTC) #9
hartmanng
I think rietveld killed my draft comments, give me a minute to rewrite them...
4 years, 6 months ago (2016-06-14 18:25:16 UTC) #10
hartmanng
https://codereview.chromium.org/2063003003/diff/80001/content/renderer/manifest/manifest_parser.cc File content/renderer/manifest/manifest_parser.cc (right): https://codereview.chromium.org/2063003003/diff/80001/content/renderer/manifest/manifest_parser.cc#newcode190 content/renderer/manifest/manifest_parser.cc:190: if (!scope.is_valid()) the spec suggests a developer warning here ...
4 years, 6 months ago (2016-06-14 18:29:43 UTC) #11
Xi Han
https://codereview.chromium.org/2063003003/diff/80001/content/renderer/manifest/manifest_parser_unittest.cc File content/renderer/manifest/manifest_parser_unittest.cc (right): https://codereview.chromium.org/2063003003/diff/80001/content/renderer/manifest/manifest_parser_unittest.cc#newcode342 content/renderer/manifest/manifest_parser_unittest.cc:342: GURL("http://foo.com/manifest.json"), The last parameter is the manifest_url, not the ...
4 years, 6 months ago (2016-06-14 19:07:01 UTC) #12
pkotwicz
Xi and Glenn can you please take another look? Thank you Glenn for pointing out ...
4 years, 6 months ago (2016-06-15 01:29:31 UTC) #13
Xi Han
lgtm with nits. https://codereview.chromium.org/2063003003/diff/140001/content/renderer/manifest/manifest_parser.cc File content/renderer/manifest/manifest_parser.cc (right): https://codereview.chromium.org/2063003003/diff/140001/content/renderer/manifest/manifest_parser.cc#newcode200 content/renderer/manifest/manifest_parser.cc:200: // should be used as the ...
4 years, 6 months ago (2016-06-15 15:20:57 UTC) #17
hartmanng
On 2016/06/15 15:20:57, Xi Han wrote: > lgtm with nits. > > https://codereview.chromium.org/2063003003/diff/140001/content/renderer/manifest/manifest_parser.cc > File ...
4 years, 6 months ago (2016-06-15 15:39:30 UTC) #18
hartmanng
I guess "lgtm2" doesn't count, so LGTM
4 years, 6 months ago (2016-06-15 15:40:07 UTC) #19
pkotwicz
mlamouri@ PTAL
4 years, 6 months ago (2016-06-15 18:03:12 UTC) #21
mlamouri (slow - plz ping)
+dominickn@ FYI lgtm with comments applied. https://codereview.chromium.org/2063003003/diff/160001/content/public/common/manifest.cc File content/public/common/manifest.cc (right): https://codereview.chromium.org/2063003003/diff/160001/content/public/common/manifest.cc#newcode47 content/public/common/manifest.cc:47: scope.is_empty() && ditto ...
4 years, 6 months ago (2016-06-21 13:48:54 UTC) #22
pkotwicz
mlamouri@ can you please take another look? I changed the code to emit a developer ...
4 years, 6 months ago (2016-06-22 00:56:35 UTC) #27
mlamouri (slow - plz ping)
still lgtm. Thanks :)
4 years, 6 months ago (2016-06-23 13:07:32 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2063003003/260001
4 years, 6 months ago (2016-06-23 13:27:14 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/205814)
4 years, 6 months ago (2016-06-23 13:33:35 UTC) #33
pkotwicz
sievers@ for content/ rubberstamp
4 years, 6 months ago (2016-06-23 13:38:41 UTC) #34
pkotwicz
sievers@ for content/ rubberstamp
4 years, 6 months ago (2016-06-23 13:38:42 UTC) #35
pkotwicz
sievers@ for content/ rubberstamp
4 years, 6 months ago (2016-06-23 13:39:31 UTC) #37
no sievers
On 2016/06/23 13:39:31, pkotwicz wrote: > sievers@ for content/ rubberstamp lgtm
4 years, 6 months ago (2016-06-23 16:55:09 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2063003003/260001
4 years, 6 months ago (2016-06-23 17:17:47 UTC) #40
commit-bot: I haz the power
Committed patchset #4 (id:260001)
4 years, 6 months ago (2016-06-23 17:21:59 UTC) #42
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 17:41:57 UTC) #44
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c099a894d1c0569d4bd20374ed8773ebcba6c989
Cr-Commit-Position: refs/heads/master@{#401640}

Powered by Google App Engine
This is Rietveld 408576698