Some abnormal URLs in other applications cause firefox open unexpected new inoperative window
Categories
(Core :: Security: CAPS, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox101 | --- | fixed |
People
(Reporter: yamadat501, Assigned: mconley)
Details
Attachments
(2 files)
STR:
- Copy and paste URL shown below to some applications that treats string starts with http:// as URL.
https://.twitter.com/M5fv44m/status/1504475608884998154 - Open URL form other applications.
Expected Results:
Open URLs as error.
Actual Results:
Unexpectedly, open new window and some of components like menu, bookmark toolbar etc. doesn't work.
I confirmed it at nightly and probably happens at releases by a person reported it to me.
| Reporter | ||
Comment 1•4 years ago
|
||
Screenshot of unexpectedly opened window.
Its UI is completely different from the UI in my settings.
Comment 2•4 years ago
|
||
I see this through Windows Terminal, pasting the URL in there and opening with Ctrl+Click.
Also if I context menu>Open in New Window that link then the window can't be closed but the close tab button works
Comment 3•4 years ago
|
||
In Mac you can reproduce this with open -a /Applications/Firefox.app "https://.twitter.com/M5fv44m/status/1504475608884998154"
| Assignee | ||
Comment 4•4 years ago
|
||
I looked at this briefly. The problem is that during startup, when we're computing which content process to load the first tab into via E10SUtils' validatedWebRemoteType, we try to parse the siteOrigin out from the URI, and an exception gets thrown in the STR. That exception, because it's occurring so early within the browser startup sequence, causes a whole series of things to break.
I think I have a solution to make us more resilient here.
| Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
| bugherder | ||
Description
•