Closed Bug 1063020 Opened 10 years ago Closed 10 years ago

Tab switching using Ctrl+Tab is broken again in e10s

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 35
Tracking Status
e10s + ---

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

TypeError: aBrowser.docShell is null browser.js:7852

  // FIXME: This should be part of the PageThumbs API. (bug 1062414)
  _shouldCapture: function Thumbnails_shouldCapture(aBrowser) {
    // Capture only if it's the currently selected tab.
    if (aBrowser != gBrowser.selectedBrowser)
      return false;

    // Don't capture in per-window private browsing mode.
    if (PrivateBrowsingUtils.isWindowPrivate(window))
      return false;

    let doc = aBrowser.contentDocument;

    // FIXME Bug 720575 - Don't capture thumbnails for SVG or XML documents as
    //       that currently regresses Talos SVG tests.
    if (doc instanceof SVGDocument || doc instanceof XMLDocument)
      return false;

    // There's no point in taking screenshot of loading pages.
    if (aBrowser.docShell.busyFlags != Ci.nsIDocShell.BUSY_FLAGS_NONE)
      return false;

The last if statement is where this error happens.
Assignee: nobody → ehsan.akhgari
Blocks: 1058237
Keywords: regression
Attachment #8484372 - Flags: review?(dao)
Attachment #8484372 - Flags: review?(dao) → review+
OS: Mac OS X → All
Hardware: x86 → All
Comment on attachment 8484574 [details] [diff] [review]
Do not attempt to capture screenshots in e10s yet; r=dao

oops!
Attachment #8484574 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/9242afae6c77
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: