Closed
Bug 1038648
Opened 10 years ago
Closed 10 years ago
Ensure exposed objects are immutable to prevent abuse by others
Categories
(Hello (Loop) :: Client, defect)
Hello (Loop)
Client
Tracking
(firefox34 fixed)
Tracking | Status | |
---|---|---|
firefox34 | --- | fixed |
People
(Reporter: mikedeboer, Assigned: mikedeboer)
Details
Attachments
(2 files, 1 obsolete file)
17.09 KB,
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
19.51 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
ATM the objects exposed by Loop JSMs and through the navigator.mozLoop interface are mutable.
We don't want any 3rd party to modify or augment the existing objects, so let's guard against that.
Assignee | ||
Comment 1•10 years ago
|
||
Marco, can you add this to the current iteration?
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Flags: needinfo?(mmucci)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8456102 -
Flags: review?(standard8)
Assignee | ||
Comment 3•10 years ago
|
||
Update to use `Object.seal` instead of `Object.freeze`, because we _do_ want setting existing properties to work.
Attachment #8456102 -
Attachment is obsolete: true
Attachment #8456102 -
Flags: review?(standard8)
Attachment #8456110 -
Flags: review?(standard8)
Comment 4•10 years ago
|
||
Added to Iteration 33.3. Mike, can you provide a point value and if the bug should be marked as [qa+] or [qa-] for verification.
Flags: needinfo?(mmucci)
Whiteboard: p=0 s=33.3 [qa?]
Assignee | ||
Updated•10 years ago
|
Whiteboard: p=0 s=33.3 [qa?] → p=1 s=33.3 [qa-]
Comment 5•10 years ago
|
||
Mike -- Standard8 just went on PTO for a week. Can you ping Dolske for a review? (If you need a Loop peer while Standard8 is away, Dmose and Niko are Loop peers.)
Flags: needinfo?(mdeboer)
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8456110 [details] [diff] [review]
Patch v1.1: ensure exposed objects are immutable to prevent abuse by others
Justin, could you review this one for me? First time I ask you for a review! ;)
Attachment #8456110 -
Flags: review?(standard8) → review?(dolske)
Flags: needinfo?(mdeboer)
Comment 7•10 years ago
|
||
Comment on attachment 8456110 [details] [diff] [review]
Patch v1.1: ensure exposed objects are immutable to prevent abuse by others
Review of attachment 8456110 [details] [diff] [review]:
-----------------------------------------------------------------
I assume the Loop folks are aware of this change? If so r+.
Attachment #8456110 -
Flags: review?(dolske) → review+
Updated•10 years ago
|
Whiteboard: p=1 s=33.3 [qa-] → p=1 s=34.1 [qa-]
Updated•10 years ago
|
Flags: firefox-backlog+
Assignee | ||
Comment 8•10 years ago
|
||
Thanks Justin! I also discussed this patch with Standard8 (Loop peer).
Pushed to fx-team: https://hg.mozilla.org/integration/fx-team/rev/19ae3d5f6884
Updated•10 years ago
|
Iteration: --- → 34.1
Points: --- → 1
Whiteboard: p=1 s=34.1 [qa-] → [qa-]
Comment 9•10 years ago
|
||
Backed out for failures in test_loopservice_initialize.js:
https://tbpl.mozilla.org/php/getParsedLog.php?id=44438273&tree=Fx-Team
https://tbpl.mozilla.org/php/getParsedLog.php?id=44437586&tree=Fx-Team
remote: https://hg.mozilla.org/integration/fx-team/rev/42bb5d450124
Assignee | ||
Comment 10•10 years ago
|
||
Yikes!
Try push with fix: https://tbpl.mozilla.org/?tree=Try&rev=595277b75a4a
Assignee | ||
Comment 11•10 years ago
|
||
Re-pushed to fx-team with test fixes: https://hg.mozilla.org/integration/fx-team/rev/7557b7137ac5
Assignee | ||
Comment 12•10 years ago
|
||
Rebased and test fixes. Carrying over r=dolske.
Attachment #8461077 -
Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
status-firefox34:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•