Commit 3ef03e9
DPWA: use ParseURL for manifest id parsing logic
Use ParseURL for manifest id parsing logic. This allows id to be both
specified as a full url or a string as path to app's origin. This allows
a more consistent spec processing definition, see in spec pull request
w3c/manifest#988 (comment). The
processed manifest id is still passed as a normalized relative url path
to WebAppProvider system to keep the manifest_id saved in sync system
the same and backward-compatible since changing the manifest_id format
in sync system will make new apps not syncable to previous versions of
Chromium.
Bug: 1182363
Change-Id: I65a7ca615bae3ee504b605abba954f60dc5d2c31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042714
Commit-Queue: Phillis Tang <[email protected]>
Reviewed-by: Daniel Murphy <[email protected]>
Cr-Commit-Position: refs/heads/master@{#904128}1 parent cd3e88c commit 3ef03e9
File tree
2 files changed
+54
-13
lines changed- third_party/blink/renderer/modules/manifest
2 files changed
+54
-13
lines changedLines changed: 17 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
345 | 353 | | |
346 | 354 | | |
347 | | - | |
348 | 355 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
359 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
360 | 364 | | |
361 | 365 | | |
362 | 366 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
277 | 284 | | |
278 | 285 | | |
279 | 286 | | |
280 | 287 | | |
281 | 288 | | |
282 | 289 | | |
283 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
284 | 321 | | |
285 | 322 | | |
286 | 323 | | |
| |||
0 commit comments