Closed Bug 1246766 Opened 9 years ago Closed 7 years ago

[View Source] broken in Firefox OS nightly builds

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mpk, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Trying to view the source of any page/app (enable View Source Gesture) shows a blank page. It worked fine until a few days ago. This happens on a Flame running nightly-latest (with base v4 as well as v5). The console emits: I/GeckoConsole( 206): Security Error: Content at app://system.gaiamobile.org/index.html may not load or link to view-source:http://example.com/.
Blocks: 1172165
Blocks: 1188667
Are app: URLs not privileged?
Flags: needinfo?(bugmail)
(In reply to :Gijs Kruitbosch from comment #2) > Are app: URLs not privileged? I think they are. It used to work in the browser, any other system app (including the lock screen and the home screen) and as far as I can tell any user app. The actual steps-to-reproduce are: - "Enable View Source Gesture" in "Settings" -> "Developer" - navigate to whatever's source code you 'd like to see - press and hold the Flame's power button -> menu - select "View source" - get the source code window (blank instead of with source code)
Flags: needinfo?(bugmail)
I don't have access to FxOS and so I can't do much to help beyond point at what is at issue here: the thing that's opening the view-source URL needs to have the privileges to do so. It would be an additional security risk to revert that decision (from bug 1172165).
> I think they are. Note that "privileged" in this case means "system principal". I doubt app: URLs are that.
(In reply to Boris Zbarsky [:bz] from comment #6) > > I think they are. > > Note that "privileged" in this case means "system principal". I doubt app: > URLs are that. That's correct. Also apps are going away, so I would not spend time fixing that.
(In reply to [:fabrice] Fabrice Desré from comment #7) > That's correct. Also apps are going away, so I would not spend time fixing that. Ok, thanks. What's the bug number where this is being tracked?
The meta bug for that is bug 1252143
There's no need to keep this open any longer.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: