Closed Bug 1371295 Opened 7 years ago Closed 5 years ago

Notification without checkbox throws error before callback when breakpoint is enabled

Categories

(DevTools :: Debugger, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: isaacschemm, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1
Build ID: 20170527164927

Steps to reproduce:

* Open Browser Toolbox
* Visit: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation
* Click "Show my location" in the demo area under the Live Result heading
* Place a breakpoint at line 1291 of resource://gre/PopupNotifications.jsm
* Click "Show my location" again
* Click "Share Location" to approve the request
* Press F8 to continue when the debugger breaks


Actual results:

Error in Browser Toolbox: "notificationEl.checkbox is undefined", and the callback is not run


Expected results:

The callback should have been run (as it is when no breakpoint is used)
Component: Untriaged → Developer Tools: Debugger
The notification checkbox was introduced in bug 1291642, maybe johannh can help provide some insight.
Has the status of this changed at all?
Product: Firefox → DevTools

I can no longer reproduce this.

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