Closed Bug 834141 Opened 11 years ago Closed 11 years ago

New DOM bindings static operations in workers

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 816088

People

(Reporter: janv, Unassigned)

References

Details

The generated code now uses |nsISupports* global| (instead of |JSObject* global|), so it tries to call |xpc_qsUnwrapArg<nsISupports>(cx, val, &global, &globalRef.ptr, &val)| which then fails.

A static method in the impl object currently looks like this:
IDBKeyRange*
IDBKeyRange::Only(JSContext* aCx, nsISupports* aGlobal, const JS::Value& aValue,
                  ErrorResult& aRv)

I think, |nsISupports* aGlobal| should be |JSObject* aGlobal| and the xpc_qaUnwrapArg() shouldn't be called at all.
Blocks: SyncIDB
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.