Closed
Bug 472383
Opened 16 years ago
Closed 16 years ago
Workers: JS/C++/JS/C++ recursion not properly guarded
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 1 obsolete file)
10.34 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Workers guard against JS recursion but not when it calls back into C++. Patch attached, with testcase.
Flags: blocking1.9.1?
Attachment #355661 -
Flags: superreview?(jst)
Attachment #355661 -
Flags: review?(jst)
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P2
Updated•16 years ago
|
Attachment #355661 -
Flags: superreview?(jst)
Attachment #355661 -
Flags: superreview+
Attachment #355661 -
Flags: review?(jst)
Attachment #355661 -
Flags: review+
Attachment #355661 -
Flags: approval1.9.1+
Assignee | ||
Comment 1•16 years ago
|
||
The previous patch failed some unit tests because the JS engine i handing us two 'too much recursion' exceptions when it should really only be giving us one. Oh well. This fixes the test and adds a new one to make sure that a throw inside the onerror handler doesn't recurse.
Attachment #355661 -
Attachment is obsolete: true
Attachment #357255 -
Flags: superreview?(jst)
Attachment #357255 -
Flags: review?(jst)
Attachment #357255 -
Flags: approval1.9.1?
Comment 2•16 years ago
|
||
Comment on attachment 357255 [details] [diff] [review] Patch, v2 r+sr=jst
Attachment #357255 -
Flags: superreview?(jst)
Attachment #357255 -
Flags: superreview+
Attachment #357255 -
Flags: review?(jst)
Attachment #357255 -
Flags: review+
Attachment #357255 -
Flags: approval1.9.1?
Assignee | ||
Comment 3•16 years ago
|
||
Pushed revision e65cb8fd2cba to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•16 years ago
|
||
Pushed revision 459db7715476 to mozilla-1.9.1.
Keywords: fixed1.9.1
Updated•15 years ago
|
Flags: in-testsuite+
Comment 5•15 years ago
|
||
If this has been pushed in January with test cases in testsuite, can we get a verification of this bug?
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•