Closed
Bug 1327709
Opened 8 years ago
Closed 5 years ago
Debugger doesn't prevents events in some cases
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1562186
People
(Reporter: arni2033, Unassigned)
References
Details
>>>
STR_1:
1. Open url: data:text/html,<input onkeydown="arguments[0].preventDefault()"/>
2. Open debugger, open "events" tab, set breakpoint at line 1
3. Click on the page outside of input
4. Hold button "=" on keyboard
5. Click in the input
6. Stop holding button "=" on keyboard
7. Click "Resume" button in debugger
AR: "=" appears in input
ER: Nothing should appear in input
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•5 years ago
|
||
At present the debugger shows no sources at this URL
Comment 2•5 years ago
|
||
hmm, data URLs should work. Brian, do you know what is up here?
Flags: needinfo?(bhackett1024)
Comment 3•5 years ago
|
||
The data URL in comment 0 doesn't have any <script> tags, so there aren't any sources (the text in the event handler is treated like an eval and not considered part of the data URL). If I add a <script> tag, I see the sources in the debugger as expected.
Flags: needinfo?(bhackett1024)
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•