Closed Bug 1551132 Opened 5 years ago Closed 5 years ago

Top Sites Custom Image URL broken when browser.pagethumbnails.capturing_disabled

Categories

(Firefox :: New Tab Page, defect, P3)

66 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: takatomatsuki, Unassigned)

Details

Attachments

(1 file)

Attached image error msg (deleted) —

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

browser.pagethumbnails.capturing_disabled = true

Edit a "Top Site", add a Custom Image URL, Preview

Actual results:

"Image failed to load. Try a different URL."
Same issue reported here https://support.mozilla.org/en-US/questions/1231726

Expected results:

The image should be used, same as if browser.pagethumbnails.capturing_disabled = false.

This also happens in Nightly 68 2019-05-12 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Here's the browser console error

getScreenshot(https://www.mozilla.org/media/img/logos/firefox/logo-quantum.9c5e96634f92.png) failed: TypeError: NetworkError when attempting to fetch resource. Screenshots.jsm:45
    getScreenshotForURL resource://activity-stream/lib/Screenshots.jsm:45
    throw self-hosted:1227

The problem might be going through mozilla-central/source/toolkit/components/thumbnails/BackgroundPageThumbs.jsm#102 function captureIfMissing

Priority: -- → P3

This is a hidden pref used for testing purposes only. The user does not have any about:preferences UI to edit this preference so I don't consider this a valid bug report.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Component: Activity Streams: Newtab → New Tab Page

Depends on bug 1674252.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: