Closed
Bug 1089376
Opened 9 years ago
Closed 9 years ago
clicking webcompat "Report Site Issue" from private tab opens in regular tab
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox35 unaffected, firefox36+ verified, fennec36+)
VERIFIED
FIXED
Firefox 36
Tracking | Status | |
---|---|---|
firefox35 | --- | unaffected |
firefox36 | + | verified |
fennec | 36+ | --- |
People
(Reporter: c.ascheberg, Assigned: miketaylr)
References
Details
Attachments
(1 file, 1 obsolete file)
1.88 KB,
patch
|
miketaylr
:
review+
|
Details | Diff | Splinter Review |
STR: - open website in private tab - click "Report Site Issue" from menu Result: - webcompat opens in regular tab, has the "private" URL as a parameter Expected: - should probably open in a private tab
Comment 1•9 years ago
|
||
[Tracking Requested - why for this release]: we should keep the user's tab context
tracking-fennec: --- → ?
status-firefox35:
--- → unaffected
status-firefox36:
--- → affected
tracking-firefox36:
--- → ?
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → miket
Assignee | ||
Comment 2•9 years ago
|
||
Yeah, that's not good. Thanks for the report Christian.
Assignee | ||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Comment on attachment 8512068 [details] [diff] [review] 1089376.patch Review of attachment 8512068 [details] [diff] [review]: ----------------------------------------------------------------- wesj is on PTO, but this looks good to me, so I think you should land it :) ::: mobile/android/chrome/content/WebcompatReporter.js @@ +81,5 @@ > webcompatURL.searchParams.append("url", url); > + if (PrivateBrowsingUtils.isBrowserPrivate(BrowserApp.selectedTab.browser)) { > + BrowserApp.addTab(webcompatURL.href, {isPrivate: true}); > + } else { > + BrowserApp.addTab(webcompatURL.href); While you're here, you could also set the parentId on the new tab to be the current tab, so that if the user hits back to close the tab, they'll return to the original page. Here's an example: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#546
Attachment #8512068 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to :Margaret Leibovic from comment #4) > While you're here, you could also set the parentId on the new tab to be the > current tab, so that if the user hits back to close the tab, they'll return > to the original page. Here's an example: > http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/ > browser.js#546 Ah, cool. Thanks! Will update.
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8512068 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9d42e896570c
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9d42e896570c
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
Updated•9 years ago
|
tracking-fennec: ? → 36+
Comment 9•9 years ago
|
||
Clicking "Report Site Issue" from private tab opens also in private tab, so: verified fixed on: device: LG Nexus 4 (Android 4.4) build: Firefox for Android 36.0a1 (2014-10-29)
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Updated•2 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•