Closed Bug 643005 Opened 14 years ago Closed 14 years ago

Whitelist method calls from post messages in the Panel

Categories

(Cloud Services :: Share: Firefox Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philikon, Assigned: philikon)

References

Details

Attachments

(2 files)

The addon should create a whitelist of messages it accepts instead of using a property name check on the sharePanel object, since that object has other private properties which should not be callable from the web app.
Assignee: nobody → philipp
Physically move all the postMessage handlers next to each other and add some of James's wiki documentation as docstrings where docs were missing. Purely a mechanical change, no behaviour changes. Next up: adding the whitelist.
Attachment #523451 - Flags: review?(mixedpuppy)
Attachment #523451 - Flags: review?(mixedpuppy) → review+
Attachment #523461 - Flags: review?(mixedpuppy) → review+
Blocks: 642726
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: