Closed
Bug 790727
Opened 13 years ago
Closed 13 years ago
XMLHttpRequest::DispatchPrematureAbortEvent doesn't root type before calling Event::Create
Categories
(Core :: DOM: Workers, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: timeless, Unassigned)
References
()
Details
(Keywords: csectype-oom)
1601 XMLHttpRequest::DispatchPrematureAbortEvent(JSObject* aTarget,
1617 JSString* type = JS_NewStringCopyZ(cx, sEventStrings[aEventType]);
not rooted
1625 event = events::CreateGenericEvent(cx, type, false, false, false);
992 namespace events {
1008 CreateGenericEvent(JSContext* aCx, JSString* aType, bool aBubbles,
1009 bool aCancelable, bool aMainRuntime)
1012 return Event::Create(aCx, global, aType, aBubbles, aCancelable, aMainRuntime);
33 class Event : public PrivatizableBase
90 Create(JSContext* aCx, JSObject* aParent, JSString* aType, bool aBubbles,
95 JSObject* obj = JS_NewObject(aCx, clasp, NULL, aParent);
GC
99 InitEventCommon(obj, priv, aType, aBubbles, aCancelable, true);
Root somewhere here - way too late
This will be handled by the stack scanner.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Updated•13 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•