Closed Bug 815561 Opened 12 years ago Closed 12 years ago

Limit Web Activities to the foreground application

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: fabrice, Assigned: fabrice)

References

Details

Attachments

(1 file)

See rationale in bug 794407.
Attached patch patchSplinter Review
Assignee: nobody → fabrice
Attachment #685533 - Flags: review?(jonas)
blocking-basecamp: --- → ?
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → All
Before landing this, can we have an idea of what broke, what has been fixed, what needs to be fixed, what can be fixed and how dirty the workarounds are? Having no user interaction requirement is security-wise scary *and* we will break content when we will add the requirement (because, really, we need something).
I'd rather not block fixing these regressions any longer. The patch in bug 794407 should have been backed out a lot sooner given the number of regressions it caused.

We can always audit what broke even with this patch landed.
blocking-basecamp: ? → +
https://hg.mozilla.org/mozilla-central/rev/99b74e86c185
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 685533 [details] [diff] [review]
patch

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

::: dom/activities/src/Activity.cpp
@@ +52,5 @@
>    NS_ENSURE_TRUE(window, NS_ERROR_UNEXPECTED);
>  
>    Init(window);
>  
> +  nsCOMPtr<nsIDocument> document = do_QueryInterface(window->GetExtantDoc());

Useless QI
Component: DOM: Mozilla Extensions → DOM
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: