RESOLVED DUPLICATE of bug 21241 21235
REGRESSION (r36882-r37006): accessing the red property of an RGBColor throw an exception
https://bugs.webkit.org/show_bug.cgi?id=21235
Summary REGRESSION (r36882-r37006): accessing the red property of an RGBColor throw a...
Benoit Marchant
Reported 2008-09-30 02:02:05 PDT
I'm pretty sure it started to happen in Version 3.1.2 (5525.20.1): var startTypedValue = startValue.getRGBColorValue(), startR = startTypedValue.red.getFloatValue(1); startTypedValue is returned fine, but on different calls: startTypedValue = Object-ID164 startTypedValue.red = undefined and on a subsequent call: startTypedValue = Object-ID168 Gianduia.js (line 7)startTypedValue.red = -1041054550 Gianduia.js (line 7)startTypedValue.red.getFloatValue = undefined It used to work just fine, by comparison in FireFox: startTypedValue = [object CSSRGBColor] startTypedValue.red = [object ROCSSPrimitiveValue] startTypedValue.red.getFloatValue = function getFloatValue() { [native code] } and in Safari (shipping version) startTypedValue = Object-ID4 startTypedValue.red = Object-ID5 startTypedValue.red.getFloatValue = function getFloatValue() { [native code] }
Attachments
test case for bug #21235 (1.49 KB, text/html)
2008-10-02 17:03 PDT, Benoit Marchant
no flags
Alexey Proskuryakov
Comment 1 2008-09-30 07:32:17 PDT
Could you please provide a test case, or a link to a page where this problem occurs? I cannot reproduce this problem from the above description. Also, are you saying that this happens in shipping Safari, and not a nightly build? For nightly builds, this may be related to bug 21241.
Benoit Marchant
Comment 2 2008-10-02 17:03:25 PDT
Created attachment 24035 [details] test case for bug #21235
Benoit Marchant
Comment 3 2008-10-02 17:04:29 PDT
(In reply to comment #1) > Could you please provide a test case, or a link to a page where this problem > occurs? > > I cannot reproduce this problem from the above description. Also, are you > saying that this happens in shipping Safari, and not a nightly build? For > nightly builds, this may be related to bug 21241. > I just uploaded a test file showing the problem
Alexey Proskuryakov
Comment 4 2008-10-02 23:24:11 PDT
You didn't say whether you see this problem with a nightly build, or with shipping Safari/WebKit 3.1.2. I can not reproduce it with shipping Safari/WebKit, so it is probably the same as bug 21241.
Alexey Proskuryakov
Comment 5 2008-10-02 23:28:26 PDT
Benoit Marchant
Comment 6 2008-10-03 07:06:27 PDT
the problem happens only with the nightly webkit
Cameron Zwarich (cpst)
Comment 7 2008-10-08 13:40:31 PDT
This regresses from r36882 to r37006, so it looks like it is a duplicate of bug 21241. *** This bug has been marked as a duplicate of 21241 ***
Note You need to log in before you can comment on or make changes to this bug.