Closed
Bug 737316
Opened 13 years ago
Closed 11 years ago
Scratchpad is broken if dom.event.clipboardevents.enabled is set to false
Categories
(DevTools :: Source Editor, defect, P3)
DevTools
Source Editor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tinybutstrong, Unassigned)
Details
(Whiteboard: [sourceeditor][orion])
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:14.0) Gecko/20120318 Firefox/14.0a1
Build ID: 20120318040231
Steps to reproduce:
After bug 542938 landed user can set dom.event.clipboardevents.enabled to false. Do it, open Scratchpad and paste some html/css code.
Actual results:
Syntax highlighting stop to work in Scratchpad and get more issues.
Expected results:
Doesn't interfere with Scratchpad!
Reporter | ||
Updated•13 years ago
|
Keywords: regression
Reporter | ||
Updated•13 years ago
|
Component: Untriaged → Developer Tools: Scratchpad
Reporter | ||
Updated•13 years ago
|
OS: Windows NT → Windows 8
Reporter | ||
Updated•13 years ago
|
Version: 14 Branch → Trunk
![]() |
||
Comment 1•13 years ago
|
||
Confirmed on
http://hg.mozilla.org/mozilla-central/rev/58a2cd0203ee
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120319 Firefox/14.0a1 ID:20120319031122
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
QA Contact: untriaged → developer.tools.scratchpad
![]() |
||
Updated•13 years ago
|
OS: Windows 8 → Windows 7
![]() |
||
Comment 2•13 years ago
|
||
This is not technically a regression. This is by design.
Why it happens: Scratchpad uses the Orion-based source editor component. Orion is a web app that uses the oncut/copy/paste clipboard events to handle the user cut/copy/paste actions. If you disable these, Orion breaks on the web and inside our developer tools.
We should protect Orion's code against such configuration changes.
Keywords: regression
Whiteboard: [sourceeditor][orion]
![]() |
||
Comment 4•13 years ago
|
||
Moving to Source Editor component.
Filter on CHELICERAE.
Component: Developer Tools: Scratchpad → Developer Tools: Source Editor
![]() |
||
Comment 7•11 years ago
|
||
This had been fixed with the CodeMirror switch.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•