Closed
Bug 805331
Opened 12 years ago
Closed 12 years ago
The Facebook sidebar stops the rendering of youtube plugins
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
VERIFIED
FIXED
mozilla19
People
(Reporter: ehsan.akhgari, Assigned: roc)
References
Details
(Keywords: regression)
Attachments
(3 files, 3 obsolete files)
53.42 KB,
image/png
|
Details | |
1.68 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
16.11 KB,
patch
|
MatsPalmgren_bugz
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This is pretty serious. As I had the sidebar open, I went to youtube and started to watch a video, but the plugin content remained black as the sound started. Closing the sidebar brought back the video and the UI. When the sidebar is open, right clicking the plugin opens the context menu in the wrong location (see the screenshot)
Comment 1•12 years ago
|
||
I've a feeling this is similar to the recent focus bug we had (not looking it up right now).
You can reproduce by bookmarking a youtube video, and setting the bookmark to open in sidebar (you might only be able to do that from the bookmarks sidebar). Then open a youtube video in a tab, and open the bookmark (it should open in the left sidebar).
Results for me is a black content areas and context menu's opening in the wrong place. Then, just open a new blank tab, and the content in the sidebar starts playing correctly.
Essentially, this is a bug caused by two html content area's being visible in the window, with both having a flash plugin, something that seems to have issues in general.
This also may explain bug 801842.
Updated•12 years ago
|
Severity: normal → critical
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Comment 2•12 years ago
|
||
Maybe we should set allowplugins=false on the social sidebar.
Comment 3•12 years ago
|
||
Dupe of bug 804240? Note that this doesn't affect beta (Ehsan, can you verify?), so DLBI could be the cause.
I didn't think FB's sidebar has any flash content loaded, I'll check.
Comment 4•12 years ago
|
||
(In reply to :Felipe Gomes from comment #3)
> I didn't think FB's sidebar has any flash content loaded, I'll check.
I think that the sidebar may be loading content, which can include flash videos, for the flyout. That is what it does in the website, and I think also for their messenger product.
Comment 5•12 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #2)
> Maybe we should set allowplugins=false on the social sidebar.
lets bring this up with Pam, it may be ok to do that on the sidebar, but I think we'll still have the issue crop up with the flyout.
Comment 6•12 years ago
|
||
FTR, I checked and FB's sidebar had no plugins loaded, and I can still reproduce this bug (youtube video stops rendering).
Not that it wouldn't be a good idea to disallow plugins on the sidebar, but just mentioning that although the STR from comment 1 mentions having two plugins loaded, it's not required for this bug to happen (although it may be an easier testcase if someone doesn't want to use the Social integration to reproduce this)
Assignee | ||
Comment 7•12 years ago
|
||
Can you give me a way to reproduce this that doesn't require me joining Facebook?
Comment 8•12 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #7)
> Can you give me a way to reproduce this that doesn't require me joining
> Facebook?
I have to retract comment 1, completely disabling socialapi and rerunning that test shows that the problem does not happen.
I'll see if I can create a non-facebook test
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to :Felipe Gomes from comment #3)
> Dupe of bug 804240? Note that this doesn't affect beta (Ehsan, can you
> verify?), so DLBI could be the cause.
Yeah they're the same, but I'll dupe the other way around since roc is here. :-)
Reporter | ||
Comment 11•12 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #7)
> Can you give me a way to reproduce this that doesn't require me joining
> Facebook?
No need to join Facebook, just set social.enabled to true. The sidebar will open with a login link. Then go to youtube and the bug will reproduce. I don't think that it has anything to do with the content of the sidebar.
Note that I couldn't reproduce on Linux. This could be Mac-only. Have not tried Windows yet.
Comment 12•12 years ago
|
||
Also happens on Windows for me. I just discovered that it's not the sidebar being visible that causes the problem, it's the splitter between the main content area and the sidebar. So a simpler way to reproduce the problem (at least on my Windows machine)
1. Open a youtube video that uses Flash
2. Open error console
3. top.opener.document.getElementById("social-sidebar-splitter").hidden=false
Assignee | ||
Comment 13•12 years ago
|
||
I'm having trouble reproducing this in a Windows 7 debug build. The sidebar opens, but the video continues to play fine.
Comment 14•12 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #13)
> I'm having trouble reproducing this in a Windows 7 debug build. The sidebar
> opens, but the video continues to play fine.
I can repro this in a win7 debug build. FWIW, I'm using a scratchpad in the "browser" content and executing:
document.getElementById("social-sidebar-splitter").hidden=false
As soon as I execute that, I see many "Double UnblockOnLoad!?", assertions, followed by many "More UnblockOnLoad() calls than BlockOnLoad() calls; dropping call: 'Not reached' ...nsDocument.cpp, line 6870
As soon as I toggle hidden back to true, it shows up. Also note that the repro does *not* show any sidebar for me - no idea why it did for you.
Exact same result in an opt build, except obviously for the assertions (but the assertions looks like they may be relevant)
Assignee | ||
Comment 15•12 years ago
|
||
I toggled social.enabled in about:config.
I'm building on Mac now to see if that helps.
Comment 16•12 years ago
|
||
Seeing this consistently on Win7 and I can reproduce it on Mac, too. Definitely a blocker for broader deployment.
Updated•12 years ago
|
tracking-firefox17:
--- → ?
Updated•12 years ago
|
tracking-firefox18:
--- → +
Comment 18•12 years ago
|
||
bug 804240 also mentions this affecting v.mozilla.com (flash)
Reporter | ||
Comment 19•12 years ago
|
||
(In reply to comment #18)
> bug 804240 also mentions this affecting v.mozilla.com (flash)
I can't reproduce on v.mozilla.com.
Comment 20•12 years ago
|
||
Does this affect Firefox 19?
Comment 21•12 years ago
|
||
Both of the following comments suggest FF17 is unaffected:
https://bugzilla.mozilla.org/show_bug.cgi?id=804240#c2
https://bugzilla.mozilla.org/show_bug.cgi?id=805035#c4
This bug and these comments suggest FF18/19 are affected:
https://bugzilla.mozilla.org/show_bug.cgi?id=804240#c5
https://bugzilla.mozilla.org/show_bug.cgi?id=805035#c3
Since Anthony is having trouble reproducing (https://bugzilla.mozilla.org/show_bug.cgi?id=804240#c4), Juan - can you give this a go? We'd like to gain clarity on what versions are affected, if this is a regression, when it regressed, and what versions of Flash or Platforms are affected (if it isn't just all).
status-firefox18:
--- → affected
status-firefox19:
--- → affected
tracking-firefox19:
--- → +
Keywords: qawanted,
regressionwindow-wanted
QA Contact: jbecerra
Comment 22•12 years ago
|
||
(feel free to kick this to somebody else in QA, or SoftVision to test Sunday night as a last resort, if you're caught up in deploying the stub installer test)
Reporter | ||
Comment 23•12 years ago
|
||
Yeah I can't reproduce the youtube case on 17 either.
Updated•12 years ago
|
Comment 24•12 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #23)
> Yeah I can't reproduce the youtube case on 17 either.
It definitely wasn't working for me this morning, I tried several times (on 17) but now it seems to be fixed. (yay!)
Comment 25•12 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #22)
> (feel free to kick this to somebody else in QA, or SoftVision to test Sunday
> night as a last resort, if you're caught up in deploying the stub installer
> test)
I've spent a good hour on a couple of machines running Win7 and a couple of versions of Flash (11.4x and 11.5x), but I wasn't able to reproduce the problem. I'll get other people to help find a regression range.
Also, ping me if you need testing accounts for FB (and Zynga).
Comment 26•12 years ago
|
||
I'm on mac w/17 and the embedded videos from youtube are disabled again.
For example, on adweek, here: http://bit.ly/RuBWPG
there youtube videos that don't appear unless I turn off the social api feature. If the feature is on, the videos don't even show. If I turn it off they appear, and if I turn it back on then the video box is there but inactive.
Assignee | ||
Comment 27•12 years ago
|
||
I am still unable to reproduce.
Comment 28•12 years ago
|
||
I am able to reproduce this on Windows 7 using the latest Nightly.
Reporter | ||
Comment 29•12 years ago
|
||
(In reply to comment #26)
> I'm on mac w/17 and the embedded videos from youtube are disabled again.
> For example, on adweek, here: http://bit.ly/RuBWPG
> there youtube videos that don't appear unless I turn off the social api
> feature. If the feature is on, the videos don't even show. If I turn it off
> they appear, and if I turn it back on then the video box is there but inactive.
Hmm, this definitely seems to be the exact same behavior that I'm seeing. I thought that maybe this has something to do with the window size, but apparently it doesn't. roc, if you want I have a Windows box at the office which you can rdp into and debug this. Please ping me if you need me to set it up for you.
Comment 30•12 years ago
|
||
I can reproduce this on Mac Nightly 19 and Aurora 18, but not Beta 17. I'm using Flash Beta 11.5.500.80.
Comment 31•12 years ago
|
||
This bug is not YouTube-specific. I see the same problem on Vimeo.
If I open the sidebar while a video is playing, the video freezes but the audio continues to play. If I then close the sidebar, the video starts playing (in sync with the audio).
Comment 32•12 years ago
|
||
Yep. A regression range would be really swell here, particularly because an Aurora regression range with an obvious culprit would save us from worrying so much about beta. QA - any luck? Roc, have you found a way to reproduce it?
Comment 33•12 years ago
|
||
This bug first appeared in Nightly 2012-10-14. Here is the regression range between 10-13 to 10-14:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=57304bbf9c0e&tochange=942ed5747b63
bug 626245 looks suspicious because it is related to painting and plugins.
Comment 34•12 years ago
|
||
In addition we are looking for a patch that was uplifted to Aurora and bug 626245 meets that criteria as well.
Keywords: qawanted,
regressionwindow-wanted
Comment 35•12 years ago
|
||
I wasn't able to reproduce on Fx17(latest beta), but I was able to reproduce easily with the example in comment #26 using Aurora, and I could confirm the regression range Chris found.
Updated•12 years ago
|
Comment 37•12 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #27)
> I am still unable to reproduce.
We discussed this in the 10/30 platform meeting - Mats, can you help here since roc's not able to repro?
Assignee: roc → matspal
Comment 38•12 years ago
|
||
Any improvement with 11.5.500.104?
Assignee | ||
Updated•12 years ago
|
Assignee: matspal → roc
Severity: critical → normal
status-firefox18:
affected → ---
status-firefox19:
affected → ---
tracking-firefox17:
- → ---
tracking-firefox18:
+ → ---
tracking-firefox19:
+ → ---
OS: All → Mac OS X
Hardware: All → x86
Version: Trunk → unspecified
Assignee | ||
Comment 39•12 years ago
|
||
Attachment #676981 -
Flags: review?(matspal)
Comment 40•12 years ago
|
||
roc, did you attach the wrong patch?
Reporter | ||
Comment 41•12 years ago
|
||
(Resetting the flags)
status-firefox18:
--- → affected
status-firefox19:
--- → affected
tracking-firefox17:
--- → -
tracking-firefox18:
--- → +
tracking-firefox19:
--- → +
OS: Mac OS X → All
Hardware: x86 → All
Comment 42•12 years ago
|
||
The AudioBuffer changes in this patch are unrelated to the displaylist changes at the bottom which is relevant.
Comment 43•12 years ago
|
||
Happens for me too on Firefox 19 on Windows but not on same builds on Linux
Assignee | ||
Comment 44•12 years ago
|
||
Sorry about the extra junk in the patch. It was late :-).
Attachment #676981 -
Attachment is obsolete: true
Attachment #676981 -
Flags: review?(matspal)
Attachment #677187 -
Flags: review?(matspal)
Updated•12 years ago
|
Attachment #677187 -
Attachment is patch: true
Comment 45•12 years ago
|
||
Comment on attachment 677187 [details] [diff] [review]
fix v2
This will consider transform items as leaf items, but that should be fine.
Assignee | ||
Comment 46•12 years ago
|
||
No, I should actually fix that.
Assignee | ||
Comment 47•12 years ago
|
||
Attachment #677212 -
Flags: review?(matspal)
Assignee | ||
Comment 48•12 years ago
|
||
Attachment #677213 -
Flags: review?(matspal)
Assignee | ||
Updated•12 years ago
|
Attachment #677187 -
Attachment is obsolete: true
Attachment #677187 -
Flags: review?(matspal)
Updated•12 years ago
|
Component: SocialAPI → Layout
Product: Firefox → Core
Comment 49•12 years ago
|
||
Comment on attachment 677212 [details] [diff] [review]
Bug 805331. Part 1: refactor nsDisplayList::GetList
I get numerous assertions on startup with a fresh profile:
###!!! ASSERTION: Children must have same reference frame: 'mList.IsEmpty() || mList.GetBottom()->ReferenceFrame() == ReferenceFrame()', file layout/base/nsDisplayList.h, line 2082
Attachment #677212 -
Flags: review?(matspal) → review-
Assignee | ||
Comment 50•12 years ago
|
||
Fixed the assertions. When one of the display items involved is an nsDisplayClip, the reference frame is null, so just ignore that case.
Attachment #677212 -
Attachment is obsolete: true
Attachment #677321 -
Flags: review?(matspal)
Comment 51•12 years ago
|
||
Comment on attachment 677213 [details] [diff] [review]
Bug 805331. Part 2
In the check-in comment, delete the first "treat"?
"Only treat chrome display items that are leaves should be treated as especially opaque."
Attachment #677213 -
Flags: review?(matspal) → review+
Updated•12 years ago
|
Attachment #677321 -
Flags: review?(matspal) → review+
Assignee | ||
Comment 52•12 years ago
|
||
Assignee | ||
Comment 53•12 years ago
|
||
We'll need these on Aurora.
Comment 54•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bdec21b0103c
https://hg.mozilla.org/mozilla-central/rev/5c88f84c75d6
Should this have a test?
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Assignee | ||
Comment 55•12 years ago
|
||
Yes. I should be able to write a test for this.
Assignee | ||
Comment 57•12 years ago
|
||
Comment on attachment 677321 [details] [diff] [review]
Part 1 v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 626245
User impact if declined: Flash sometimes doesn't work when the social sidebar is open (i.e., critical)
Testing completed (on m-c, etc.): a couple of days on m-c
Risk to taking this patch (and alternatives if risky): Low risk
String or UUID changes made by this patch: none
Please consider this an approval request for both patches.
Attachment #677321 -
Flags: approval-mozilla-aurora?
Comment 58•12 years ago
|
||
Comment on attachment 677321 [details] [diff] [review]
Part 1 v2
Much needed patch , approving for aurora
Attachment #677321 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 59•12 years ago
|
||
I see that this is set to be fixed with "Mozilla 19." Does this mean YouTube videos won't be able to play when the sidebar is open, when users are on Firefox 17 and 18? Or will this be fixed for those users too? May be a stupid question, but just making sure.
Comment 60•12 years ago
|
||
(In reply to Laura Forrest from comment #59)
> I see that this is set to be fixed with "Mozilla 19." Does this mean YouTube
> videos won't be able to play when the sidebar is open, when users are on
> Firefox 17 and 18? Or will this be fixed for those users too? May be a
> stupid question, but just making sure.
This is fixed for 19. It will be fixed for 18 when the patch gets uplifted to Aurora, which it now has approval for. This bug does not exist in 17.
Comment 61•12 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #60)
> (In reply to Laura Forrest from comment #59)
> > I see that this is set to be fixed with "Mozilla 19." Does this mean YouTube
> > videos won't be able to play when the sidebar is open, when users are on
> > Firefox 17 and 18? Or will this be fixed for those users too? May be a
> > stupid question, but just making sure.
>
> This is fixed for 19. It will be fixed for 18 when the patch gets uplifted
> to Aurora, which it now has approval for. This bug does not exist in 17.
Got it -- thanks for the clarity.
Assignee | ||
Comment 62•12 years ago
|
||
Assignee | ||
Comment 63•12 years ago
|
||
Backed out since these patches caused assertions on Aurora:
https://hg.mozilla.org/releases/mozilla-aurora/rev/7ad8200e00ec
Assignee | ||
Comment 64•12 years ago
|
||
The problem was simple. On Aurora, mReferenceFrame was left uninitialized in nsDisplayItem's constructor if mFrame is null.
https://tbpl.mozilla.org/?tree=Try&rev=2abdb8673be4
Assignee | ||
Comment 65•12 years ago
|
||
We still get assertion failures. This is because the complete fix for bug 800041 hasn't landed on Aurora.
I'll just remove the assertion for Aurora.
Assignee | ||
Comment 66•12 years ago
|
||
Updated•12 years ago
|
Comment 67•12 years ago
|
||
I have found a regression range for this issue. As long as Social API was implemented since Nightly 19 (18/10/2012) it looks like this issue had reproduced since the beginning until Nightly 19 (03.11.2012)
First good nightly: 2012-11-03
Last bad nightly: 2012-11-02
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2718739a1c83&tochan
ge=556b9cfb269f
In addition, I found this issue verified fixed for:
FF 18.b7
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0(20121231071231)
Aurora 19
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130102 Firefox/19.0(20130102042016)
Comment 68•12 years ago
|
||
(In reply to MarioMi from comment #67)
Sorry for invalid pushlog link. Here is the correct one:
Last bad nightly: 2012-11-02
First good nightly: 2012-11-03
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2718739a1c83&tochange=556b9cfb269f
Comment 69•12 years ago
|
||
This is the correct pushlog.
http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2012-11-02&enddate=2
012-11-03
You need to log in
before you can comment on or make changes to this bug.
Description
•