Closed Bug 1168243 Opened 9 years ago Closed 9 years ago

[e10s] View Selection Source does not work for Frame document

Categories

(Toolkit :: View Source, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
e10s + ---
firefox40 --- affected
firefox41 --- affected

People

(Reporter: alice0775, Assigned: mconley)

References

Details

+++ This bug was initially created as a clone of Bug #1168089 +++ Steps To reproduce: 1. Open web page which is using frameset 2. Select text 3. Right click on the page 4. Choose "View Selection Source" Actual Results: Blank tab open but no contents Expected Results: Source code which is selected should be shown
No longer blocks: 1067325
tracking-e10s: --- → ?
Version: 41 Branch → Trunk
No longer depends on: 1168089
Blocks: 917681
Keywords: regression
Flags: needinfo?(mconley)
Hey Alice0775 - this bug is marked as affecting Fx 40. Are you certain this is the case? View Source in a tab should not be available in 40.
Flags: needinfo?(mconley) → needinfo?(alice0775)
(In reply to Mike Conley (:mconley) - Needinfo me! from comment #1) > Hey Alice0775 - this bug is marked as affecting Fx 40. Are you certain this > is the case? View Source in a tab should not be available in 40. I can confirm that 40 is affected. Both window and tab mode are affected, including 40's window mode before bug 1067325. So, this is not a regression of the view source in tab work. STR for 40: 1. Go to http://www.htmq.com/html/sample/frame.htm 2. Select text inside one of the frames 3. Right click -> View Selection Source ER: Should see source for the selected text AR: Empty window
Flags: needinfo?(alice0775) → needinfo?(mconley)
The core issue appears to be that viewPartialSource calls |focusedWindow.getSelection();|. In e10s for a nested frame, this does return a Selection object, but it's an object for an empty selection. So, something needs to be adjusted to get the proper Selection object for nested frames in e10s.
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Hey Alice0775 - do you think you'd be able to help me to find a regression window?
Flags: needinfo?(alice0775)
(In reply to Mike Conley (:mconley) - Needinfo me! from comment #4) > Hey Alice0775 - do you think you'd be able to help me to find a regression > window? Is it the blocking bug Alice0775 noted (bug 917681), or is that just related to the issue?
Until landing of Bug 917681, No "View Selection Source" in contextmenu. After landing of Bug 917681, "View Selection Source" in contextmenu, but a blank window/tab is produced.
Flags: needinfo?(alice0775)
Not regression, this is e10s implementation bug.
This should have been fixed by 1134585.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified to fix. https://hg.mozilla.org/mozilla-central/rev/8cba870a352c Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 ID:20150811030206
You need to log in before you can comment on or make changes to this bug.