Fix default value for aWantsUntrusted on Workers

RESOLVED FIXED in mozilla26

Status

()

Core
DOM: Events
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: smaug, Assigned: smaug)

Tracking

unspecified
mozilla26
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 797833 [details] [diff] [review]
patch
Attachment #797833 - Flags: review?(khuey)
Comment on attachment 797833 [details] [diff] [review]
patch

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

::: content/events/src/nsDOMEventTargetHelper.cpp
@@ +347,5 @@
> +  nsresult rv;
> +  nsIScriptContext* context = GetContextForEventHandlers(&rv);
> +  NS_ENSURE_SUCCESS(rv, rv);
> +  nsCOMPtr<nsIDocument> doc =
> +    nsContentUtils::GetDocumentFromScriptContext(context);

Are GetContextForEventHandlers and GetDocumentFromScriptContext safe to call off the main thread?
(Assignee)

Comment 2

5 years ago
Yes

Comment 4

5 years ago
https://hg.mozilla.org/mozilla-central/rev/68dd49745b2e
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.