If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Conditional breakpoint displays error unrelated to the condition itself when I change it

NEW
Unassigned

Status

()

Firefox
Developer Tools: Debugger
P3
normal
9 months ago
a month ago

People

(Reporter: arni2033, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

9 months ago
>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160429030215
STR_1:
1. Open   data:text/html,<script>onclick=function(){console.log("LOWERcase")}</script>
2. Open debugger, set conditional breakpoint  "event.type == 'cut'"  (without outer quotes) at line 1
3. Click on the page. Press F8 to resume script
4. Change conditional breakpoint to  "'document' in window"  (without outer quotes)
5. Click on the page

AR:  Conditional breakpoint displays error "event is not defined"
ER:  No errors, because I'm not even using variable "event" in condition
(Reporter)

Updated

9 months ago
No longer blocks: 1277113
(Reporter)

Updated

9 months ago
Component: Untriaged → Developer Tools: Canvas Debugger
(Reporter)

Updated

9 months ago
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
I'm not able to reproduce this bug in Nightly when I go through your steps.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.