Closed Bug 49174 Opened 24 years ago Closed 24 years ago

Assertions when right-clicking a text field

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
FreeBSD
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jesup, Assigned: pierre)

Details

See also bug 37950. I get assertions when right-clicking a text field. They come from attempts to get list-style and background in: nsContextMenu.js:279 var cssAttr = this.target.style.getPropertyValue( "list-style-image" ) || this.target.style.getPropertyValue( "list-style" ) || this.target.style.getPropertyValue( "background-image" ) || this.target.style.getPropertyValue( "background" ); Breakpoint 2, nsDebug::Assertion ( aStr=0x299f48e0 "can't query for shorthand properties", aExpr=0x281f2d60 "Error", aFile=0x299f47af "nsCSSDeclaration.cpp", aLine=3906) at nsDebug.cpp:184 (gdb) c Continuing. ###!!! ASSERTION: can't query for shorthand properties: 'Error', file nsCSSDeclaration.cpp, line 3906 ###!!! Break: at file nsCSSDeclaration.cpp, line 3906 Breakpoint 2, nsDebug::Assertion ( aStr=0x299f48e0 "can't query for shorthand properties", aExpr=0x281f2d60 "Error", aFile=0x299f47af "nsCSSDeclaration.cpp", aLine=3906) at nsDebug.cpp:184 (gdb) c Continuing. ###!!! ASSERTION: can't query for shorthand properties: 'Error', file nsCSSDeclaration.cpp, line 3906 ###!!! Break: at file nsCSSDeclaration.cpp, line 3906 Perhaps these shouldn't be NS_ERROR()? Perhaps they should be silently ignored?
Status: UNCONFIRMED → NEW
Ever confirmed: true
I am guessing this is CSS land and belongs to pierre@netscape.com. Reassigning.
Assignee: joki → pierre
Updating QA Contact.
QA Contact: janc → lorca
We shouldn't silently fail, the Asserts are good, they report a script that can't work. Marked fixed. The script was fixed since this bug was opened (it's been a long time, sorry).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
QA contact updated
QA Contact: gerardok → madhur
verified on build 2001-08-06-trunk
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.