Closed Bug 1203395 Opened 9 years ago Closed 9 years ago

[window mode] View Selection Source fails

Categories

(Toolkit :: View Source, defect)

43 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla44
Tracking Status
firefox42 --- unaffected
firefox43 + verified
firefox44 + verified

People

(Reporter: jryans, Assigned: jryans)

References

Details

(Keywords: regression)

Attachments

(1 file)

Similar (but not the same) to bug 1168243, bug 1134585.

This applies to Nightly 43 only, not 42.

Only view source window mode is affected.  Tab mode is safe.
Both e10s on and off are affected.

STR:

1. Go to http://www.htmq.com/html/sample/frame.htm
2. Select text from inner frame
3. Context menu -> View Selection Source

ER:

See the selection source in a window.

AR:

Blank window.

Error:

NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService2.newURI]
[Tracking Requested - why for this release]: Tracking to make sure this solved, esp. since tabs are currently off in beta / release for the moment.
I just tried this in OS X 10.10.4 in the current Nightly and it worked. jryans can you still reproduce the bug?
Flags: needinfo?(jryans)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #2)
> I just tried this in OS X 10.10.4 in the current Nightly and it worked.
> jryans can you still reproduce the bug?

I can still reproduce with latest Nightly.  I am on OS X 10.10.5.  Are you sure you used window mode?  You'd need to set "view_source.tab" pref to false first, as tab mode is the default in Nightly.  (I should have said that more explicitly above.)
Flags: needinfo?(jryans) → needinfo?(lhenry)
Oh you're right, that's exactly why I couldn't reproduce it. I see the problem now.
Flags: needinfo?(lhenry)
Actually, this is not specific to frames.  It's just any kind of selection in window mode.
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Keywords: regression
Summary: [window mode] View Selection Source fails for inner frames → [window mode] View Selection Source fails
Comment on attachment 8665719 [details]
MozReview Request: Bug 1203395 - Repair view selection source in window mode. r=mconley

https://reviewboard.mozilla.org/r/20309/#review18333

Looks good, thanks jryans!

::: toolkit/components/viewsource/test/browser/browser_contextmenu.js:45
(Diff revision 1)
> +  debugger;

Leftovers? :)
Attachment #8665719 - Flags: review?(mconley) → review+
https://reviewboard.mozilla.org/r/20309/#review18333

> Leftovers? :)

Just making sure you're paying attention... ;)
Comment on attachment 8665719 [details]
MozReview Request: Bug 1203395 - Repair view selection source in window mode. r=mconley

Bug 1203395 - Repair view selection source in window mode. r=mconley
https://hg.mozilla.org/mozilla-central/rev/5636e295717a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment on attachment 8665719 [details]
MozReview Request: Bug 1203395 - Repair view selection source in window mode. r=mconley

Approval Request Comment
[Feature/regressing bug #]: Broken bug 1134585, which converted some context menu functionality for e10s, but did not test the window case
[User impact if declined]: View source selection in window mode in blank
[Describe test coverage new/current, TreeHerder]: On m-c, additional automated tests added
[Risks and why]: Low, new tests added.
[String/UUID change made/needed]: None
Attachment #8665719 - Flags: approval-mozilla-aurora?
Comment on attachment 8665719 [details]
MozReview Request: Bug 1203395 - Repair view selection source in window mode. r=mconley

Comes with new tests; fix for regression. Let's uplift to aurora!
Attachment #8665719 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reproduced the initial issue on 43.0a1 Nightly (2015-09-09) using the STR from the description on Windows 7 64-bit and Mac OS X 10.10.

Confirming the fix for the same OSs using latest 44 Aurora (20151213004008) and Firefox 43 RC (20151208100201).
Status: RESOLVED → VERIFIED
See Also: → 1259928
Blocks: 1259928
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: