All users were logged out of Bugzilla on October 13th, 2018

[Loop] Remove hardcoding of origin at controller_communications.js

RESOLVED FIXED

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: amac, Assigned: amac)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Currently call_screen/js/controller_communications.js controls who can post events by the origin of the page posting the events. But the accepted event origin is hardcoded, when it really should be just the origin of the window hosting the code.
(Assignee)

Comment 1

4 years ago
Created attachment 8504718 [details] [review]
Removes the hardcoded URL
Attachment #8504718 - Flags: review?(borja.bugzilla)
Attachment #8504718 - Flags: review?(borja.bugzilla) → review+
https://github.com/mozilla-b2g/firefoxos-loop-client/commit/e2da3ceeb4b80b99e5fca2917cf99c007bdb7941
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.