Open Bug 1302332 Opened 8 years ago Updated 2 years ago

Consider slowing down timers in x-domain iframes in background tabs

Categories

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

50 Branch
defect

Tracking

()

People

(Reporter: smaug, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Adding something like
if (isBackgroundAndXDomain) {
  printf("xdomain background %s \n", currentBaseDomain.get());
}
after isBackgroundAndXDomain = !currentBaseDomain.Equals(topBaseDomain);
works as a log. And it is quite depressing. Tons of googlesyndication.com stuff, at least in the pages I tried.
higher value for dom.min_xdomain_background_timeout_value might make sense.
ok, I need to add some max(gMinXDomainBackgroundTimeoutValue, gMinBackgroundTimeoutValue), since on mobile gMinBackgroundTimeoutValue is really long.
Assignee: nobody → bugs
Olli, are you still working on this?
Flags: needinfo?(bugs)
Note, I believe we have a bug where we don't throttle background timers unless we hit conditions where we would have clamped to 4ms.  Andreas is working on it in bug 1316871.
ah. No, I'm not working on this. Leftover from the qDOM work week before we had decided who works on what.
Assignee: bugs → nobody
Flags: needinfo?(bugs)
Hi Ehsan, my understanding is this issue is part of the qDom tab freezing task and P2 sounds the priority to me. Am I right?
Flags: needinfo?(ehsan)
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #7)
> Hi Ehsan, my understanding is this issue is part of the qDom tab freezing
> task

No, this was one of the ideas that we were brainstorming on.  At this point we're not considering treating iframes specially with regards to background tab freezing.

> and P2 sounds the priority to me. Am I right?

Sure! (To be honest I don't know what these priorities mean.  I've so far been ignoring them. :-)
Flags: needinfo?(ehsan)
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: