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)
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?
Reporter | ||
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
I am guessing this is CSS land and belongs to pierre@netscape.com. Reassigning.
Assignee: joki → pierre
Assignee | ||
Comment 3•24 years ago
|
||
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
Comment 4•24 years ago
|
||
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
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•