Skip to content
This repository was archived by the owner on Jul 27, 2018. It is now read-only.
This repository was archived by the owner on Jul 27, 2018. It is now read-only.

Can't take screenshot unless iframe was ever displayed #266

Closed

Description

@Gozala

Now that we have session restore back on I was trying to figure out why we don't get thumbnails when you refresh. It looks like .getScreenshot() call remains forever pending if iframe always had display: none. Note that if iframe was displaying event once this issue no longer occurs.

I came to above conclusion by doing following reloading browser.html that already had some pages open with tabs tiles generated out of screenshots. After reload I connected with wedIDE & used console to try to .getScreenshot() note that calls to setVisible and setActive had no effect on the outcome. Finally after removing hidden attribute and then putting it back .getScreenshot() did succeed.

@paulrouget is this a bug that we can solve or a limitation of the platform ? If later then we should probably stack iframes on top of each other and and hide inactive iframes only if they were loaded.

Activity

  1. Gozala commented on Apr 23, 2015

    @Gozala
    ContributorAuthor

    @paulrouget do we want to keep this one open ? Workaround in #277 works although I'd prefer if we could avoid such workarounds.

  2. paulrouget commented on Apr 23, 2015

    @paulrouget
    Contributor

    Let's keep this open.

  3. Gozala commented on Aug 7, 2015

    @Gozala
    ContributorAuthor
  4. Gozala commented on Jan 12, 2016

    @Gozala
    ContributorAuthor

    Our target runtime is on Servo so no point in keeping gecko issues open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions