Closed
Bug 1401208
Opened 7 years ago
Closed 7 years ago
Change default scope handling for standalone mode
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), enhancement)
Firefox for Android Graveyard
Web Apps (PWAs)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: snorp, Assigned: snorp)
Details
Attachments
(1 file)
The web manifest spec states that if the scope is undefined, then all navigations should be considered in-scope[0]. Later on it says that if scope is undefined in a non-browser display mode, it is "recommended that user agents signal to the end-user when security and/or privacy sensitive navigations occur". Chrome handles this by showing the mini urlbar, which is also what it does for out-of-scope navigations. We should handle this by dumping out to Custom Tab. I propose we simply change the default scope to be the parent of the start_url. [0] https://www.w3.org/TR/appmanifest/#navigation-scope
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8909815 [details] Bug 1401208 - Change default web app scope to the start_url https://reviewboard.mozilla.org/r/181322/#review186542
Attachment #8909815 -
Flags: review?(esawin) → review+
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/50d08bf45f3d Change default web app scope to the start_url r=esawin
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/50d08bf45f3d
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 6•7 years ago
|
||
> I propose we simply change the default scope to be the parent of the start_url.
Sorry, I'm not sure what "the parent of the start_url" means exactly. I'm going to assume you mean the origin.
I seem to recall there was issues with using "origin" if a developer had two applications hosted on the same domain:
foo.com/app1/ (fullscreen)
foo.com/app2/ (mininal-ui)
However, we can still experiment to see what is best, and them work with the Chrome folks to update the spec to match.
Flags: needinfo?(mcaceres)
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Marcos Caceres [:marcosc] from comment #6) > > I propose we simply change the default scope to be the parent of the start_url. > > Sorry, I'm not sure what "the parent of the start_url" means exactly. I'm > going to assume you mean the origin. I mean if the start_url is foo.com/app1/foo.html, we would use foo.com/app1 as the default scope. Maybe origin is better, though. > > I seem to recall there was issues with using "origin" if a developer had two > applications hosted on the same domain: > > foo.com/app1/ (fullscreen) > foo.com/app2/ (mininal-ui) > > However, we can still experiment to see what is best, and them work with the > Chrome folks to update the spec to match. In that case the developer can just set the scope explicitly to avoid any problems.
Comment 8•7 years ago
|
||
I did a bit more digging about the state of the discussions around scope (I've been focusing on Payments, so haven't paid much attention to manifest in the last year). In: https://github.com/w3c/manifest/issues/551 Google folks had proposed using the "parent directory" (this isn't really a viable thing in URLs, so I don't think that will work)... however, in the end, they didn't end up changing anything. However, 551 above does provide some good input into the discussion.
Updated•6 years ago
|
Assignee: nobody → snorp
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•