Closed Bug 1316359 Opened 4 years ago Closed 4 years ago

Wrong use of contentPrincipal in autocomplete.xml

Categories

(Core :: DOM: Core & HTML, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: baku, Assigned: baku)

References

(Blocks 1 open bug)

Details

(Whiteboard: [userContextId])

Attachments

(1 file, 1 obsolete file)

Attached patch search2.patch (obsolete) — Splinter Review
No description provided.
Attachment #8809066 - Flags: review?(gijskruitbosch+bugs)
Depends on: 1244340
Comment on attachment 8809066 [details] [diff] [review]
search2.patch

Review of attachment 8809066 [details] [diff] [review]:
-----------------------------------------------------------------

Nit: doublequotes.

Can you elaborate on the subject/summary of this bug? I... don't see how it relates to this patch (which doesn't have a commit message).
Attachment #8809066 - Flags: review?(gijskruitbosch+bugs)
Attached patch search2.patchSplinter Review
When a container tab is opened and it shows an about:page, we use a systemPrincipal. This means that the originAttributes.userContextId is 0.
Instead using principal, this patch uses the attribute of the element.
Attachment #8809066 - Attachment is obsolete: true
Attachment #8809090 - Flags: review?(gijskruitbosch+bugs)
Attachment #8809090 - Flags: review?(gijskruitbosch+bugs) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5cd3eebd3f3c
autocomplete.xml must get userContextId from the attribute of the element instead using contentPrincipal, r=Gijs
https://hg.mozilla.org/mozilla-central/rev/5cd3eebd3f3c
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Whiteboard: [userContextId]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.