Closed Bug 911162 Opened 6 years ago Closed 6 years ago

Fix default value for aWantsUntrusted on Workers

Categories

(Core :: DOM: Events, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
No description provided.
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?
Yes
https://hg.mozilla.org/mozilla-central/rev/68dd49745b2e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.