Closed Bug 1327704 Opened 8 years ago Closed 6 years ago

Debugger brings some confusion in the way it shows/handles breakpoints of the same event in different scripts

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: arni2033, Unassigned)

Details

>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open "data:" url [1] 2. Open debugger -> events 3. Click in checkbox near event "click on #B1" 4. Click on button #B2 AR: Debugger breaks on 'click' event on #B2 ER: Either X or Y X) "Events" tab should indicate that it'll break on any "click" event Y) Debugger shouldn't break on irrelevant elements/scripts STR_2: 1. Open "data:" url [1] 2. Open debugger -> events 3. Click in checkbox near event "click on #B1" 4. Reload the page via F5 AR: Checkboxes near both "click" events are now checked ER: Either X or Y X) "Events" tab should check both checkboxes after Step 3 to indicate that it'll break on any 'click' Y) After Step 4 only clicked checkbox should remain checked > [1] data:text/html,<button id="B1">1<button id="B2">2<script src="data:text/javascript,B1.onclick=function(){console.log(1)}"></script><script src="data:text/javascript,B2.onclick=function(){console.log(2)}"></script>
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

closing as this relates to the old debugger's event listeners feature

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.