[b2g] content permission prompt needs to use the correct user context id when creating principals

RESOLVED WONTFIX

Status

Firefox OS
Gaia::System::System UI
P3
normal
RESOLVED WONTFIX
2 years ago
3 months ago

People

(Reporter: huseby, Assigned: pauljt)

Tracking

(Blocks: 2 bugs)

unspecified
ARM
Gonk (Firefox OS)
Dependency tree / graph

Firefox Tracking Flags

(firefox57 fix-optional)

Details

(Whiteboard: [userContextId][OA-backlog])

(Reporter)

Description

2 years ago
in the file b2g/components/ContentPermissionPrompt.js there's a call to createCodebasePrincipal that only passes the appId origin attribute when calling createCodebasePrincipal.  it also need to pass the default user context id.  the solution is to use the chrome utils to create an origin attribute with the default user context id.
(Reporter)

Comment 1

2 years ago
not going to fix this, b2g and all.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
Someone else could still do it.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
(Reporter)

Updated

2 years ago
Whiteboard: [userContextId] → [userContextId][OA]
(Assignee)

Updated

2 years ago
QA Contact: ptheriault
(Assignee)

Updated

2 years ago
Assignee: nobody → ptheriault
QA Contact: ptheriault
(Assignee)

Updated

2 years ago
Priority: -- → P3
Whiteboard: [userContextId][OA] → [userContextId][OA-backlog]

Updated

8 months ago
Blocks: 1191418

Comment 4

3 months ago
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Last Resolved: 2 years ago3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.