Closed
Bug 340537
Opened 18 years ago
Closed 18 years ago
7% Tdhtml regression on June 5
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.8.1beta1
People
(Reporter: bzbarsky, Assigned: mrbkap)
References
Details
(Keywords: fixed1.8.0.5, fixed1.8.1, regression)
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
dveditz
:
approval1.8.0.5+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Graph: http://build-graphs.mozilla.org/graph/query.cgi?testname=dhtml&tbox=luna.mozilla.org&autoscale=1&days=7&avg=1&showpoint=2006:06:05:16:01:23,1595
Checkin range: http://tinderbox.mozilla.org/bonsai/cvsquery.cgi?module=MozillaTinderboxAll&date=explicit&mindate=1149540900&maxdate=1149546299
If I were a betting man, I'd bet on bug 339918. With that change, once we have a single toplevel script access on a window (before any accesses from functions), all following accesses on that window will do security checks, as far as I can tell.
Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9a1?
Keywords: regression
Assignee | ||
Comment 1•18 years ago
|
||
This patch attempts to undo some of the damage by not really caching the value if we were unable to find a function object on the stack (so we'll do the security checks for top level scripts, but only cache the result when we actually found a function object). This might still ding perf on scripts who only access window or document properties from top level scripts, but I'm hoping it will save Tdhtml setInterval functions, etc.
Assignee: general → mrbkap
Status: NEW → ASSIGNED
Attachment #224604 -
Flags: superreview?(bzbarsky)
Attachment #224604 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•18 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
Reporter | ||
Updated•18 years ago
|
Attachment #224604 -
Flags: superreview?(bzbarsky)
Attachment #224604 -
Flags: superreview+
Attachment #224604 -
Flags: review?(bzbarsky)
Attachment #224604 -
Flags: review+
Assignee | ||
Comment 2•18 years ago
|
||
I checked the potential fix into the trunk. All tinderboxes running Tdhtml except for argo and argo-vm showed drops back to pre-bug 339918 numbers. I'm marking this bug as fixed, though I cannot explain argo's reaction.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•18 years ago
|
||
Nominating to match bug 339918.
Flags: blocking1.8.1?
Flags: blocking1.8.0.6?
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 224604 [details] [diff] [review]
Potential fix
This is a companion patch for bug 339918.
Attachment #224604 -
Flags: approval1.8.1?
Attachment #224604 -
Flags: approval1.8.0.6?
Updated•18 years ago
|
Flags: blocking1.8.0.5?
Updated•18 years ago
|
Attachment #224604 -
Flags: approval1.8.1? → approval1.8.1+
Updated•18 years ago
|
Flags: blocking1.8.1? → blocking1.8.1+
Target Milestone: mozilla1.9alpha → mozilla1.8.1beta1
Updated•18 years ago
|
Flags: blocking1.8.0.6?
Flags: blocking1.8.0.5?
Flags: blocking1.8.0.5+
Comment 6•18 years ago
|
||
Comment on attachment 224604 [details] [diff] [review]
Potential fix
approved for 1.8.0 branch, a=dveditz for drivers
Attachment #224604 -
Flags: approval1.8.0.6? → approval1.8.0.5+
Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9a1?
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•