Closed
Bug 1016615
Opened 11 years ago
Closed 11 years ago
seer should not allow subresources to have a later timestamp than their parent
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: u408661, Assigned: jaypoulz)
Details
Attachments
(1 file, 1 obsolete file)
2.37 KB,
patch
|
jaypoulz
:
review+
|
Details | Diff | Splinter Review |
Right now, if a user visits www.example.com/index.html which contains a reference to www.example.com/crazyscript.js, the js entry will have a later timestamp than the index.html entry, even though they were conceptually visited at the same time. We should make sure that subresources/subhosts in the seer have their timestamps clamped to the last_load of the page/host.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8430881 -
Flags: review?(hurley)
Assignee | ||
Comment 2•11 years ago
|
||
This is the link to the try server build:
https://tbpl.mozilla.org/?tree=Try&rev=df60cc5b73b1
Comment on attachment 8430881 [details] [diff] [review]
bug-1016615-fix.patch
Review of attachment 8430881 [details] [diff] [review]:
-----------------------------------------------------------------
::: netwerk/base/src/Seer.cpp
@@ +1380,5 @@
> PRTime lastHit;
> nsAutoCString subresource;
> int baseConfidence, confidence;
>
> + // We use goto nextrow here instead of just failing, because we want
nice catch :)
Attachment #8430881 -
Flags: review?(hurley) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Updating commit message to show review.
Attachment #8430881 -
Attachment is obsolete: true
Attachment #8430895 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Pushed with some minor tweaks to the commit message. Thanks for the patch!
https://hg.mozilla.org/integration/mozilla-inbound/rev/07fb241b7891
Keywords: checkin-needed
![]() |
||
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•