Closed Bug 1039904 Opened 10 years ago Closed 10 years ago

Changing the URL in a pinned tab opens new tab instead

Categories

(Firefox :: Tabbed Browser, defect)

33 Branch
defect
Not set
normal
Points:
2

Tracking

()

VERIFIED FIXED
Firefox 34
Iteration:
34.1
Tracking Status
firefox33 + verified
firefox34 --- verified

People

(Reporter: metasieben, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(1 file)

For the last few Nightlies I have been unable to change the URL in an App-tab, instead a new tab is created at the end of the Tabstrip.

Even pressing Enter, without changing the URL opens a new tab.
I can't reproduce this on today's Nightly on OS X. Can you try reproduce this in safe mode[1]? I suspect it's caused by an extension.

[1] https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Flags: needinfo?(mozilla)
Not only am I able to reproduce it in safe-mode, but also with a new profile.

STR.
[1] open several tabs add some app-tabs(eg. http://planet.mozilla.org/?abc )
[2] set session-restore to >Show my windows and tabs from last time<
[3] restart browser.
[4] change url of app-tab to http://planet.mozilla.org/?abcdef

result: instead of simply opening the url, Nightly opens a new tab, at the end of the tab-strip.
Flags: needinfo?(mozilla)
The last working mozilla-central build is from 2014-07-11(rev:e1a037c085d1), the next one (rev: b0701d069bf9), at least for me, doesn't.
Summary: Changing the URL in App-Tab opens new Tab instead → Changing the URL in a pinned tab opens new tab instead
Confirmed in 33.0a1 (2014-07-20), Win 7 using the STR in comment 2
Status: UNCONFIRMED → NEW
Ever confirmed: true
[Tracking Requested - why for this release]: This was merged up yesterday, and is a recent regression of core functionality.

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e1a037c085d1&tochange=b0701d069bf9

The best I can think of here is bug 1034845... Dão, is it just me or would this be caused by the loadURI vs. openUILinkIn switch in loadCurrent in urlbarBindings.xml ? (not entirely sure why yet, but it seems plausible...)
Flags: needinfo?(dao)
Flags: firefox-backlog+
Keywords: regression
(In reply to :Gijs Kruitbosch (PTO july 17-21) from comment #5)
> The best I can think of here is bug 1034845... Dão, is it just me or would
> this be caused by the loadURI vs. openUILinkIn switch in loadCurrent in
> urlbarBindings.xml ?

yes
Assignee: nobody → dao
Blocks: 1034845
Points: --- → 2
Flags: needinfo?(dao)
OS: Mac OS X → All
Hardware: x86 → All
Iteration: --- → 34.1
Waiting on feedback from GMC if this bug should be added.
Iteration: 34.1 → ---
(I think we should test-suite this so we don't regress it again)
Flags: in-testsuite?
Iteration: --- → 34.1
Added to Iteration 34.1.  Dao, can you mark this bug as either [qa+] or [qa-] for verification.
Status: NEW → ASSIGNED
QA Whiteboard: [qa?]
Flags: needinfo?(dao)
QA Whiteboard: [qa?] → [qa+]
Flags: needinfo?(dao)
QA Contact: cornel.ionce
Attached patch patchSplinter Review
Attachment #8465478 - Flags: review?(mconley)
Why was this caused by bug 1034845?
Flags: needinfo?(dao)
(In reply to :Gavin Sharp [email: gavin@gavinsharp.com] from comment #11)
> Why was this caused by bug 1034845?

Because it replaced the gBrowser.loadURIWithFlags call with openUILinkIn, to avoid duplicating the flags logic.
Flags: needinfo?(dao)
Attachment #8465478 - Flags: review?(mconley) → review+
Comment on attachment 8465478 [details] [diff] [review]
patch

Review of attachment 8465478 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/base/content/utilityOverlay.js
@@ +219,5 @@
>    var aDisallowInheritPrincipal = params.disallowInheritPrincipal;
>    var aInitiatingDoc        = params.initiatingDoc;
>    var aIsPrivate            = params.private;
>    var aSkipTabAnimation     = params.skipTabAnimation;
> +  var aAllowPinnedTabHostChange = !!params.allowPinnedTabHostChange;

Just a heads up that we'll want to add this to the documentation in the header of this function.
https://hg.mozilla.org/mozilla-central/rev/e3e739ad7b55
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
QA Contact: cornel.ionce → andrei.vaida
I was able to reproduce the initial issue on older Nightlies 33.0a1 (e.g. 2014-07-14, 2014-07-16), as the reporter mentioned in Comment 0 and 2.

Verified fixed on Nightly 34.0a1 (2014-08-03) using Windows 7 64-bit, Mac OS X 10.9.4 and Ubuntu 14.04 LTS 64-bit.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa+] → [qa!]
Comment on attachment 8465478 [details] [diff] [review]
patch

Approval Request Comment
[Feature/regressing bug #]: bug 1034845
[User impact if declined]: see comment 0
[Describe test coverage new/current, TBPL]: https://tbpl.mozilla.org/?rev=e3e739ad7b55
[Risks and why]: trivial fix, low risk
[String/UUID change made/needed]: none
Attachment #8465478 - Flags: approval-mozilla-aurora?
Attachment #8465478 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified fixed on Aurora 33.0a2 (2014-08-05) as well, using Windows 7 64-bit, Ubuntu 13.04 32-bit and Mac OS X 10.9.4.
A test for this was landed in bug 1064280
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: