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)
Toolkit
View Source
Tracking
()
RESOLVED
FIXED
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
Reporter | ||
Updated•9 years ago
|
No longer blocks: 1067325
tracking-e10s:
--- → ?
Reporter | ||
Updated•9 years ago
|
status-firefox40:
--- → affected
Reporter | ||
Updated•9 years ago
|
Version: 41 Branch → Trunk
Reporter | ||
Updated•9 years ago
|
Blocks: 917681
Keywords: regression
Updated•9 years ago
|
Flags: needinfo?(mconley)
Assignee | ||
Comment 1•9 years ago
|
||
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 | ||
Updated•9 years ago
|
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Assignee | ||
Updated•9 years ago
|
Keywords: regressionwindow-wanted
Assignee | ||
Comment 4•9 years ago
|
||
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?
Reporter | ||
Comment 6•9 years ago
|
||
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)
Reporter | ||
Comment 7•9 years ago
|
||
Not regression, this is e10s implementation bug.
Keywords: regressionwindow-wanted
Updated•9 years ago
|
Comment 8•9 years ago
|
||
This should have been fixed by 1134585.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•9 years ago
|
||
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
Depends on: 1134585
You need to log in
before you can comment on or make changes to this bug.
Description
•