TypeError: this.parentNode.parentNode is null

Bug #1412534 reported by Yvon TANGUY
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cookiekeeper
Fix Released
Low
Yvon TANGUY
1.8.0
Fix Released
Low
Yvon TANGUY

Bug Description

This error is displayed when display the CK preferences dialogue, after clicking on the notification "Preferences" button:
Error: TypeError: this.parentNode.parentNode is null
Source File: chrome://cookiekeeper/content/cookiekeeper.xul
Line: 1

It seems to be due to a change in the Mozilla codebase, older versions do not trigger this error.

Tags: preferences ui

Related branches

Revision history for this message
Yvon TANGUY (vono22) wrote :

The "oncommand" event for the notification is propagated to the "notification" object, which have the "oncommand" event:
this.parentNode.parentNode._doButtonCommand(event);
(from toolkit/content/widgets/notification.xml)

To prevent this, call the method "stopPropagation()" for the event.

Changed in cookiekeeper:
status: Triaged → Fix Committed
Yvon TANGUY (vono22)
Changed in cookiekeeper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.