Closed Bug 699925 Opened 13 years ago Closed 13 years ago

Implement event.stopImmediatePropagation in workers

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10
Tracking Status
firefox10 - ---

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(2 files)

And again I forgot something from workers because idl files aren't utilized there :(
Attached patch patchSplinter Review
Assignee: nobody → bugs
Attachment #572225 - Flags: review?(bent.mozilla)
Comment on attachment 572225 [details] [diff] [review]
patch

Review of attachment 572225 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/workers/Events.cpp
@@ +332,5 @@
> +  StopImmediatePropagation(JSContext* aCx, uintN aArgc, jsval* aVp)
> +  {
> +    JSObject* obj = JS_THIS_OBJECT(aCx, aVp);
> +
> +    Event* event = GetInstancePrivate(aCx, obj, sFunctions[0].name);

Nit: you want sFunctions[1] here.
Attachment #572225 - Flags: review?(bent.mozilla) → review+
Attached patch patchSplinter Review
Attachment #572227 - Flags: review?(bent.mozilla)
Comment on attachment 572227 [details] [diff] [review]
patch

Thanks
Attachment #572227 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/7e28b68cf25d
Thank you for the quick review.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla10
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: