Open Bug 1451081 Opened 7 years ago Updated 7 months ago

Make viewing source work again in SeaMonkey after bug 1418403

Categories

(SeaMonkey :: General, enhancement, P3)

enhancement

Tracking

(seamonkey2.57esr affected, seamonkey2.58 affected)

Tracking Status
seamonkey2.57esr --- affected
seamonkey2.58 --- affected

People

(Reporter: frg, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

Bug 1418403 broke viewing source code in SeaMonkey and TB. TB restored some functionality in bug 1439021 but we need to further adapt this. +++ This bug was initially created as a clone of Bug #1418403 +++ This was mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1416372#c3, so spinning it off into a new bug. From https://bugzilla.mozilla.org/show_bug.cgi?id=1416372#c2: When we collected data on the different modes 2 years ago (bug 1203624 comment 11), we saw: View Source in Browser: 56,700 uses (99.30%) View Source in Window: 357 uses ( 0.62%) View Source External (Success): 44 uses ( 0.08%) View Source External (Failed): 48 uses (re-counted as browser / window above) Maybe these numbers are low enough that we should remove the pref and the additional code to support both modes.
Attached patch 1451081-viewSource-wip.diff (obsolete) — Splinter Review
WIP patch from stefanh with a quick copy/paste from me (browser.js to navigator.js). We think we should keep the e10s parts to ease later porting. We would prefer to open a new browser window insetad of a tab but this might not be so easy as I thought. Stefan do you want to take the bug?
Flags: needinfo?(stefanh)
Summary: Remove view_source.tab pref → Make viewing source work again in SeaMonkey after bug 1418403
frg, the patch you provided is on top of a bunch of other patches. Hmm, skip the overlay now when it doesn't open in a new window?
Flags: needinfo?(stefanh) → needinfo?(frgrahl)
> frg, the patch you provided is on top of a bunch of other patches. Sent you my patch queue. SeaMoneky dumps without it. > Hmm, skip the overlay now when it doesn't open in a new window? The overlay probably needs to be removed. Doesn't make sense any longer with opening the source directly in the browser and they need to go anyway. But hard to test with mail broken. For opening the source in a Window we would need to create a new browser and then get the tab. handURIToExistingBrowser or another function can probably not be used because we need the tab value. So also not sure if it is worth it to figure it out. Maybe in a followup bug.
Flags: needinfo?(frgrahl)
Rebased 2.57 wip patch
Attachment #8964651 - Attachment is obsolete: true
Rebased c-c wip patch
Attachment #9381289 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: