WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22522
Add proper WML error handling
https://bugs.webkit.org/show_bug.cgi?id=22522
Summary
Add proper WML error handling
Nikolas Zimmermann
Reported
2008-11-26 18:46:45 PST
WML treats all errors as fatal errors. That means any error within a document needs to be presented as 'parsing' error by the tokenizer - just like to XML parsing errors.
Attachments
Initial patch
(24.18 KB, patch)
2008-11-26 20:49 PST
,
Nikolas Zimmermann
staikos
: review+
Details
Formatted Diff
Diff
LayoutTest changes
(15.80 KB, patch)
2008-11-26 20:50 PST
,
Nikolas Zimmermann
staikos
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2008-11-26 20:49:42 PST
Created
attachment 25549
[details]
Initial patch
Nikolas Zimmermann
Comment 2
2008-11-26 20:50:08 PST
Created
attachment 25550
[details]
LayoutTest changes
George Staikos
Comment 3
2008-11-26 20:56:06 PST
Comment on
attachment 25549
[details]
Initial patch With minor comments: 1) our error messages should really be localized 2) should use something like " if (pageState && !pageState->...)"
Nikolas Zimmermann
Comment 4
2008-11-26 21:09:06 PST
(In reply to
comment #3
)
> (From update of
attachment 25549
[details]
[review]) > With minor comments: > > 1) our error messages should really be localized
The other XML tokenizer error messages are handled the same. If it's a problem, it's a general problem, would need to investigate how Mac handles translation.
> 2) should use something like " if (pageState && !pageState->...)"
Fixed. Landed in
r38816
.
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