[Android WebAPK] Canonicalize the webapp scope before sending it to the renderer
This CL changes the WebAPK autoplay logic to canonicalize the scope URL prior to checking whether the document URL is within the WebAPK's scope. The scope passed to the renderer comes from a <meta-data> tag in the WebAPK's Android Manifest. The value of the scope <meta-data> tag comes from the scope URL sent by Chrome to the WebAPK Minting server during WebAPK creation (which is canonicalized). Right now the <meta-data> tag in the Android Manifest is always canonicalized. We should not assume this. Change-Id: I9982420fda7da53ca9a77ed90e9f35de7b00bd28 Reviewed-on: https://chromium-review.googlesource.com/c/1068252 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Jochen Eisinger <jochen@chromium.org> Reviewed-by:
Zhiqiang Zhang <zqzhang@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#601425}
Showing
Please register or sign in to comment