WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
VERIFIED FIXED
3327
Exception When Setting Style to Invalid Value Lacks Line/File Information
https://bugs.webkit.org/show_bug.cgi?id=3327
Summary
Exception When Setting Style to Invalid Value Lacks Line/File Information
Mark Rowe (bdash)
Reported
2005-06-07 20:14:30 PDT
When an Javascript exception is raised due to setting a CSS property to an invalid value, the exception object lacks line number and file information. To Reproduce: Load the above URL in Safari, and check the Javascript Console. An exception titled 'CSS exception 0' is listed with a URL of 'undefined' and line number of 0. Excepted behaviour: The Javascript console should contain an exception with the correct URL, http:// bdash.net.nz/files/safari-js-error.html, and line number of 4.
Attachments
Retrieve the line number + source URL from the current node if an exception is found during KJS_CHECKEXCEPTIONVALUE.
(799 bytes, patch)
2005-06-07 20:18 PDT
,
Mark Rowe (bdash)
no flags
Details
Formatted Diff
Diff
Updated patch using local variable to reduce duplication of effort.
(813 bytes, patch)
2005-06-07 23:51 PDT
,
Mark Rowe (bdash)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2005-06-07 20:18:03 PDT
Created
attachment 2137
[details]
Retrieve the line number + source URL from the current node if an exception is found during KJS_CHECKEXCEPTIONVALUE.
Mark Rowe (bdash)
Comment 2
2005-06-07 23:51:21 PDT
Created
attachment 2142
[details]
Updated patch using local variable to reduce duplication of effort. Patch updated as requested. I ran run-webkit-tests earlier after creating my initial patch, and everything looked ok. I've pulled in the changes to the Xcode project files since then though and the tests no longer build so I cannot verify them with this latest patch applied.
Maciej Stachowiak
Comment 3
2005-06-08 00:25:42 PDT
r=me
Maciej Stachowiak
Comment 4
2005-06-08 00:27:26 PDT
Committed the change.
Chris Petersen
Comment 5
2005-06-18 23:00:52 PDT
Reporter, please mark this bug as Verified if this issue has been fixed in the latest TOT Webkit.
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