WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11898
CSSMediaRule functions insertRule and deleteRule assert when called from js in debug builds
https://bugs.webkit.org/show_bug.cgi?id=11898
Summary
CSSMediaRule functions insertRule and deleteRule assert when called from js i...
Sam Weinig
Reported
2006-12-20 15:35:52 PST
Test case to come
Attachments
testcase
(1.12 KB, text/html)
2006-12-20 15:38 PST
,
Sam Weinig
no flags
Details
First attempt
(3.56 KB, patch)
2006-12-21 08:58 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Now with comment
(3.72 KB, patch)
2006-12-21 10:58 PST
,
Rob Buis
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2006-12-20 15:38:14 PST
Created
attachment 11940
[details]
testcase
David Kilzer (:ddkilzer)
Comment 2
2006-12-20 16:55:11 PST
Is this related to
Bug 11891
?
Alexey Proskuryakov
Comment 3
2006-12-20 21:27:09 PST
I don't see the relation to
bug 11891
(yet?). This assertion failure is here: JSValue* DOMCSSRule::getValueProperty(ExecState* exec, int token) const { CSSRule &cssRule = *m_impl; switch (token) { <...> default: assert(0);
David Kilzer (:ddkilzer)
Comment 4
2006-12-21 03:12:43 PST
(In reply to
comment #3
)
> I don't see the relation to
bug 11891
(yet?).
Please ignore my earlier comment. The only link between the two is that they're CSS-related.
Rob Buis
Comment 5
2006-12-21 04:47:45 PST
Hi Alexey, Correct, however it should not end up in that function in the first place :) After some research I have a fix. A patch is coming up later today. Cheers, Rob. (In reply to
comment #3
)
> I don't see the relation to
bug 11891
(yet?). > > This assertion failure is here: > > JSValue* DOMCSSRule::getValueProperty(ExecState* exec, int token) const > { > CSSRule &cssRule = *m_impl; > switch (token) { > <...> > default: > assert(0); >
Rob Buis
Comment 6
2006-12-21 08:58:14 PST
Created
attachment 11950
[details]
First attempt This works :) I hope it is okay to test this way, since it is custom bindings code. Cheers, Rob.
Rob Buis
Comment 7
2006-12-21 10:58:46 PST
Created
attachment 11952
[details]
Now with comment Added a comment explaining the fix. Cheers, Rob.
Anders Carlsson
Comment 8
2006-12-21 11:48:40 PST
Comment on
attachment 11952
[details]
Now with comment Me and Rob discussed some changes on IRC. r=me
Rob Buis
Comment 9
2006-12-21 13:19:48 PST
Landed in
r18376
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug