Open
Bug 1220950
Opened 10 years ago
Updated 3 years ago
Adding tests for checking signed package should not share data with other package or web content
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox45 | --- | affected |
People
(Reporter: dimi, Unassigned)
References
Details
(Whiteboard: [necko-would-take])
Attachments
(2 files, 3 obsolete files)
19.98 KB,
patch
|
Details | Diff | Splinter Review | |
19.81 KB,
patch
|
Details | Diff | Splinter Review |
For signed package, we don't allow it to share data(local storage, index db, or cookie) with other packages.
We should write test cases for this.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•10 years ago
|
||
i will add following tests:
Load a signed package, set following : client side cookie, server side cookie, local storage, index db
- load an unsigned package in the same domain, they should NOT share those data
- load an signed package in the same domain, they should NOT share those data
- load an web content in the same domain, they should NOT share those data
- load an web content in different domain, they should NOT share those data
- load the same signed package pointing to different resource, they SHOULD share those data
Hi Paul,
Do you think any test case is missing and would be nice to have, for example, load an unsigned package and check the same criteria as mentioned above ?
Flags: needinfo?(ptheriault)
Reporter | ||
Comment 3•10 years ago
|
||
Attachment #8682304 -
Attachment is obsolete: true
Comment 4•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(ptheriault)
Reporter | ||
Comment 5•10 years ago
|
||
Modification:
- use moz-package-origin for sjs
- when create signed package iframe, create a normal iframe then navigate to signed package (This temporarily fix missing package identifier for signed package)
Attachment #8682377 -
Attachment is obsolete: true
Attachment #8685973 -
Attachment is obsolete: true
Reporter | ||
Comment 6•10 years ago
|
||
Updated•10 years ago
|
Whiteboard: [necko-would-take]
Reporter | ||
Comment 7•10 years ago
|
||
remove myself from assignee because not actively work on this now
Assignee: dlee → nobody
Status: ASSIGNED → NEW
Comment 8•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•