Closed
Bug 342108
Opened 19 years ago
Closed 19 years ago
[FIX]Clicking link in Gmail launches extra blank tab
Categories
(Core :: Security: CAPS, defect, P1)
Core
Security: CAPS
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: ria.klaassen, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
3.85 KB,
patch
|
darin.moz
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Link in tab launches first a blank untitled tab, then the tab with the link.
Regression between 1.9a1_2006061914 and 1.9a1_2006061917.
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-06-19+13%3A00&maxdate=2006-06-19+22%3A00
Caused by Bug 337260?
Assignee | ||
Comment 1•19 years ago
|
||
What are the steps to reproduce this starting with a vanilla trunk build with a brand-new account?
Assignee | ||
Comment 2•19 years ago
|
||
I meant brand-new profile.
Reporter | ||
Comment 3•19 years ago
|
||
- Go to Gmail and login
- Open this message from bugzilla
- Click on the link to this bug
Reporter | ||
Comment 4•19 years ago
|
||
Ah, sorry. I assumed wrongly that your bugmail was in Gmail. :)
Reporter | ||
Comment 5•19 years ago
|
||
(In reply to comment #0)
> Link in tab
That was a typo. Meant "Link in Gmail".
Clicking every external link there launches an extra blank tab, also the adds on the right side.
Assignee | ||
Comment 6•19 years ago
|
||
Ah, ok. I can reproduce this. I can also reproduce this after backing out bug 337260 locally...
No longer blocks: 337260
Reporter | ||
Comment 7•19 years ago
|
||
Thanks for the effort of backing out in any case. :)
That range is correct enough, but the link unnecessarily wide.
But it still contains too many bugs and too little possible culprits:
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-06-19+13%3A00&maxdate=2006-06-19+18%3A00
Assignee | ||
Comment 8•19 years ago
|
||
I'll try to poke at this some more later today, I guess.
Comment 9•19 years ago
|
||
Backing out the patch from bug 337746 seems to fix the regression.
Assignee: nobody → dveditz
Blocks: 337746
Component: Tabbed Browser → Security
Product: Firefox → Core
QA Contact: tabbed.browser → toolkit
Updated•19 years ago
|
Component: Security → Security: CAPS
Assignee | ||
Comment 10•19 years ago
|
||
Mine, then. And that makes sense; I'm seeing an attempt to set window.opener to null fail with a security exception. Investigating now.
Assignee: dveditz → bzbarsky
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Comment 11•19 years ago
|
||
There were actually three separate issues here:
1) moz-safe-about protocol handler had the wrong contractid
2) The check for about:blank in the security manager was using the innermost
URI, which is a moz-safe-about URI.
3) The moz-safe-about URIs didn't preserve the original path, which was needed
to fix issue #2.
This patch makes gmail happy.
Attachment #226374 -
Flags: superreview?(jst)
Attachment #226374 -
Flags: review?(darin)
Assignee | ||
Updated•19 years ago
|
Summary: Clicking link in Gmail launches extra blank tab → [FIX]Clicking link in Gmail launches extra blank tab
Updated•19 years ago
|
Attachment #226374 -
Flags: review?(darin) → review+
Comment 12•19 years ago
|
||
Comment on attachment 226374 [details] [diff] [review]
Fix
sr=jst
Attachment #226374 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 13•19 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•