Closed
Bug 1460939
Opened 6 years ago
Closed 5 years ago
Reload of wyciwyg toplevel page coming from file:// is broken in e10s
Categories
(Core :: DOM: Navigation, defect, P3)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla67
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: regression)
Attachments
(1 file)
157 bytes,
text/html
|
Details |
See attached testcase. On tip, it reloads to a blank page, with this error in the console: JavaScript error: chrome://global/content/browser-child.js, line 352: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.loadURIWithOptions] It used to reload to a page showing "Test". This broke somewhere in the 55 cycle, and if I grab the 2017-02-01 nightly it's broken in e10s mode but works in non-e10s mode. So it's possible this never worked in e10s mode... Mike, do you know who would be the right person to look at this? Olli, do you think we should just give up on wyciwyg completely?
Flags: needinfo?(mconley)
Flags: needinfo?(bugs)
Comment 1•6 years ago
|
||
Hey bz, I think I'm misunderstanding the STR here. Here's what I'm doing: 1) Browse to https://bugzilla.mozilla.org/attachment.cgi?id=8975099 2) Click on the <div> 3) Reload the page On today's Nightly on both macOS and Windows, as well as the May 11th Nightly (when you filed the bug), I still see "Test" after reloading. Are my STR off?
Flags: needinfo?(mconley) → needinfo?(bzbarsky)
Assignee | ||
Comment 2•6 years ago
|
||
Ah, looks like it works for http but not file://; I should have tested both. Try downloading the testcase and running from a file:// URI.
Flags: needinfo?(bzbarsky) → needinfo?(mconley)
Summary: Reload of wyciwyg toplevel page is broken in e10s → Reload of wyciwyg toplevel page coming from file:// is broken in e10s
Comment 3•6 years ago
|
||
If it works for http, removing support sounds a bit risky. But, it might be worth to do it anyhow. Just load the page from scratch and let it run its document.write stuff again. Would be good to have a pref for the removal first, and enable perhaps Nightly only.
Flags: needinfo?(bugs)
Comment 4•6 years ago
|
||
I did some bisection. Unfortunately, there are some busted or missing taskcluster builds around that time, so the smallest range I could get was: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bad312aefb42982f492ad2cf36f4c6c3d698f4f7&tochange=f8f4eaac1701107f794b48891bcca2c95d39d503 but I'm 98% certain this was caused by bug 1147911. I'm also not sure this is worth fixing, fwiw. wyciwyg support for file:/// documents that do document.write-y things sounds pretty niche.
Blocks: 1147911
Flags: needinfo?(mconley)
Comment 5•6 years ago
|
||
Wonder if this is related to bug 1402418 as well...
Assignee | ||
Comment 6•6 years ago
|
||
Oh, hmm. Are we not putting the wyciwyg://file:// load in the same process as file:// ? wyciwyg support for file:// might be less niche for the web, given WebKit's lack of support for it altogether....
Flags: needinfo?(bobowencode)
Comment 7•6 years ago
|
||
We don't have a special case for wyciwyg in E10SUtils.jsm getRemoteTypeForURIObject and I don't think we ever have, so they default to web/http remote type. I'm guessing that they aren't nsINestedURIs, because I think if they were it would handle this correctly.
Flags: needinfo?(bobowencode)
Assignee | ||
Comment 8•6 years ago
|
||
> I'm guessing that they aren't nsINestedURIs
That's correct. People who need to deal with them have to manually parse some bits out of them. See nsContentUtils::RemoveWyciwygScheme.
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Keywords: regression
Comment 9•5 years ago
|
||
wyciwyg is going away so I think this will become a non-issue.
Depends on: 1489308
Assignee | ||
Comment 10•5 years ago
|
||
Fixed by bug 1489308.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Assignee: nobody → bzbarsky
status-firefox65:
--- → wontfix
status-firefox66:
--- → wontfix
status-firefox67:
--- → fixed
status-firefox-esr60:
--- → wontfix
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•