Closed
Bug 531799
Opened 15 years ago
Closed 15 years ago
getSelection doesn't work from jetpack
Categories
(Mozilla Labs :: Jetpack Prototype, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
1.0
People
(Reporter: zbraniecki, Unassigned)
Details
I'm lying. It actually works, but just for now.
Basically, since we're in a separate context it is not easy to get window.getSelection from the active tab.
One can use jetpack.tabs.focused.contentDocument.getSelection and it does work (in Fx 3.6), but it spawns deprecation warning:
"Deprecated method document.getSelection() called. Please use window.getSelection() instead."
Comment 1•15 years ago
|
||
This will be addressed in the near future.
For now you can use the .contentWindow to avoid the warning.
Severity: normal → enhancement
Priority: -- → P5
Target Milestone: -- → 1.0
Comment 2•15 years ago
|
||
We will be monitoring all these issues after the rebooted Jetpack code base is released in the first week of March to ensure their causes are not duplicated. Many of the bugs/issues with the prototype version of Jetpack will be made irrelevant given the structure of the new SDK.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•