Closed Bug 1246202 (newtab-fallback) Opened 8 years ago Closed 5 years ago

Fallback for remote about:newtab

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: franziskus, Unassigned, NeedInfo)

References

Details

In case the integrity of the remote about:newtab page can not be verified the page load fails and about:blank is loaded. To make UX better a locally hosted version of about:newtab should be loaded.
Assignee: nobody → hchang
How about we add another entry in NewTabRemoteResources, perhaps with a key of 'localFallback': https://dxr.mozilla.org/mozilla-central/source/browser/components/newtab/NewTabRemoteResources.jsm

Should the document fail to load, we'll load the localFallback location. Perhaps this location can be "about:newtab" for now?
Actually, that won't work. Can we change the document URL to about:newtab and LOAD_NORMAL with a resource:// url?

Otherwise we'll need to load "about:newtab" and find a way to turn off "remote" mode for only one load in aboutRedirector.cpp
Hi Henry,

Do we have any progress or plan on this bug?
It seems you told me something beforehand but my memory is vague.
Flags: needinfo?(hchang)
(In reply to Ethan Tseng [:ethan] from comment #3)
> Hi Henry,
> 
> Do we have any progress or plan on this bug?
> It seems you told me something beforehand but my memory is vague.

Nope. From what I was told by Olivier, Firefox team would like to implement other remote pages (e.g. remote:home) and the fallback page might also be used by those remote pages. So, it becomes a general feature but not just for remote:newtab.
Flags: needinfo?(hchang)
(In reply to Henry Chang [:henry][:hchang] from comment #4)
> Nope. From what I was told by Olivier, Firefox team would like to implement
> other remote pages (e.g. remote:home) and the fallback page might also be
> used by those remote pages. So, it becomes a general feature but not just
> for remote:newtab.

Hi Olivier,
If so, what should we do with this bug?
Any idea?
Flags: needinfo?(oyiptong)
The most important thing is we require a design for different fallback pages according to the remote pages. Probably we need the time frame of remote:newtab and remote:home (and so on) to decide when it's time to go.
Assignee: hchang → nobody
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.