Closed
Bug 1180091
Opened 9 years ago
Closed 8 years ago
make sure http cache follows normal HTTP semantics for signed packages
Categories
(Core :: Networking, defect, P2)
Core
Networking
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: pauljt, Assigned: valentin)
References
Details
(Whiteboard: [necko-would-take])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Signed packages follow normal http semantics. I.e. if the package still exists in our http cache when the user revisits a signed page, but the cache headers indicate that the content needs to be updated, we do a normal GET request to see if a new version needs to be downloaded.
Reporter | ||
Updated•9 years ago
|
Priority: -- → P1
Reporter | ||
Updated•9 years ago
|
blocking-b2g: --- → 2.5+
Reporter | ||
Comment 1•9 years ago
|
||
This might already be done, assigning to myself to verify.
Assignee: nobody → ptheriault
Assignee | ||
Comment 2•9 years ago
|
||
test_package_caching() contains a bunch of tests to make sure nsIRequest flags are handled properly.
I don't test INHIBIT_CACHING or INHIBIT_PERSISTENT_CACHING since these flags don't really make sense in this context and should not be used. I'm considering throwing an error if they are used
Attachment #8646749 -
Flags: review?(ptheriault)
Assignee | ||
Updated•9 years ago
|
Assignee: ptheriault → valentin.gosu
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Valentin Gosu [:valentin] from comment #2)
> Created attachment 8646749 [details] [diff] [review]
> make sure http cache follows normal HTTP semantics for signed packages
>
> test_package_caching() contains a bunch of tests to make sure nsIRequest
> flags are handled properly.
> I don't test INHIBIT_CACHING or INHIBIT_PERSISTENT_CACHING since these flags
> don't really make sense in this context and should not be used. I'm
> considering throwing an error if they are used
That sounds reasonable to me.
Comment 4•9 years ago
|
||
Can we get review on this or find another reviewer?
Flags: needinfo?(ptheriault)
Reporter | ||
Comment 5•9 years ago
|
||
Sorry, I'm not usually a reviewer. The tests look good to me, but I'm probably not qualified to review.
Flags: needinfo?(ptheriault) → needinfo?(hchang)
Reporter | ||
Comment 6•9 years ago
|
||
Henry, can you take a look at this please.
Comment 7•9 years ago
|
||
I think I am also not qualified to review but the test cases look well test the requirements :)
p.s. The use of |getResource| in the test cases needs to be updated to pass just channel and the callback in.
Flags: needinfo?(hchang)
Reporter | ||
Comment 8•9 years ago
|
||
Comment on attachment 8646749 [details] [diff] [review]
make sure http cache follows normal HTTP semantics for signed packages
Review of attachment 8646749 [details] [diff] [review]:
-----------------------------------------------------------------
As above, this looks ok I'm not qualified to review this. Jonas can you review, or help find someone to do this? I'm not sure who to reach out to at this point.
Attachment #8646749 -
Flags: review?(ptheriault) → review?(jonas)
Assignee | ||
Comment 9•9 years ago
|
||
Rebased against latest changes
Attachment #8657973 -
Flags: review?(jonas)
Assignee | ||
Updated•9 years ago
|
Attachment #8646749 -
Attachment is obsolete: true
Attachment #8646749 -
Flags: review?(jonas)
Reporter | ||
Updated•9 years ago
|
Priority: P1 → P2
Comment on attachment 8657973 [details] [diff] [review]
make sure http cache follows normal HTTP semantics for signed packages
Review of attachment 8657973 [details] [diff] [review]:
-----------------------------------------------------------------
I'm not quite following all that's going on in this test. (And I generally find it hard and not quite worth the time to review tests in detail). Mind grabbing me on irc and walking me through it?
Assignee | ||
Comment 11•9 years ago
|
||
Sure thing. How does Monday sound? Ping me when you're available.
Updated•9 years ago
|
Blocks: TV_Gecko_P2
Updated•9 years ago
|
No longer blocks: TV_Gecko_P2
Reporter | ||
Comment 12•9 years ago
|
||
I don't think this needs to block 2.5 but it would be nice to get fixed.
blocking-b2g: 2.5+ → ---
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Assignee | ||
Comment 13•8 years ago
|
||
B2G code is going away.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•