[FF3] Exception if parent of <observes> have observed attribute

RESOLVED INCOMPLETE

Status

()

Firefox
Toolbars and Customization
RESOLVED INCOMPLETE
11 years ago
8 years ago

People

(Reporter: uh-zuh, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 2010-11-15])

Attachments

(1 attachment)

1.22 KB, application/x-xpinstall
Details
(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 WebMoney Advisor
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3

Following code in <toolbarbutton> element with part 'atr1="123"' makes exception (see Error Console) when customization starts. And no exception when part 'atr1="123"' not present.

For more information see 'Steps to Reproduce'

Code:
<?xml version="1.0"?>

<overlay id="example_overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

	<toolbarpalette id="BrowserToolbarPalette">
		<toolbarbutton atr1="123">
			<observes element="example_broadcaster1" attribute="atr1" />
		</toolbarbutton>
	</toolbarpalette>

	<toolbox id="navigator-toolbox">
		<broadcasterset id="example_broadcaster_set">
			<broadcaster id="example_broadcaster1" atr1="" />
		</broadcasterset>
	</toolbox>
	
</overlay>

Exception 1:
Illegal operation on WrappedNative prototype object = NS_ERROR_XPC_BAD_OP_ON_WN_PROTO
chrome://global/content/customizeToolbar.js
446

Exception 2:
UpdateUrlbarSearchSplitterState is not defined
chrome://browser/content/browser.js
2767


Reproducible: Always

Steps to Reproduce:
1. Install attached *.xpi extension
2. Restart Firefox
3. Open Error Console
4. Right click on toolbar area and open customization window.
5. Verify: Exception 1 occurred in Error Console
6. Close browser window
7. Verify: Exception 2 occurred in Error Console
Actual Results:  
User have no access to any elements within <toolbarpalette> from current Firefox Extension.

Expected Results:  
No exception appear. User have access to any customizable elements from current Firefox Extension (elements within <toolbarpalette>).

about:buildconfig

Build platform
target
i686-pc-mingw32

Build tools
Compiler 	Version 	Compiler flags
cl 	14.00.50727 	-GL -TC -nologo -W3 -Gy -Fd$(PDBFILE)
cl 	14.00.50727 	-GR- -GL -TP -nologo -Zc:wchar_t- -W3 -Gy -Fd$(PDBFILE)

Configure arguments
--enable-application=browser --enable-update-channel=beta --enable-optimize --disable-debug --disable-tests --enable-update-packaging --enable-official-branding
(Reporter)

Comment 1

11 years ago
Created attachment 305076 [details]
Demonstration example (.xpi)
(Reporter)

Updated

11 years ago
Summary: Exception if parent of <observes> have observed attribute → [FF3] Exception if parent of <observes> have observed attribute
This bug was reported using Firefox 3.0 or older, which is no longer supported. The bug has also not been changed in over 500 days and is still in UNCO.
Reporter, please retest this bug in Firefox 3.6.10 or later using a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles. If you still see this problem, please update the bug. If you no longer see the bug, please set the resolution to RESOLVED, WORKSFORME.

This is a mass search of unconfirmed bugs that have no activity on them, so if you feel a bug was marked in error, just remove the CLOSEME comment in the whiteboard within the next month.
Whiteboard: [CLOSEME 2010-11-15]
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.