UNCONFIRMED 55233
XSL transformations do not handle errors
https://bugs.webkit.org/show_bug.cgi?id=55233
Summary XSL transformations do not handle errors
Vsevolod Vlasov
Reported 2011-02-25 10:37:40 PST
When there was an error applying XSL transformation, the blank page is shown or sometimes the previous page content keeps showing. Firefox reports such errors.
Attachments
Patch (No tests) (48.28 KB, patch)
2011-05-25 16:15 PDT, Vsevolod Vlasov
abarth: review-
webkit-ews: commit-queue-
Archive of layout-test-results from ec2-cr-linux-01 (1.32 MB, application/zip)
2011-05-25 23:02 PDT, WebKit Review Bot
no flags
Vsevolod Vlasov
Comment 1 2011-05-25 16:15:29 PDT
Created attachment 94877 [details] Patch (No tests) First attempt
Early Warning System Bot
Comment 2 2011-05-25 16:24:54 PDT
Comment on attachment 94877 [details] Patch (No tests) Attachment 94877 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/8730970
Collabora GTK+ EWS bot
Comment 3 2011-05-25 17:43:31 PDT
Comment on attachment 94877 [details] Patch (No tests) Attachment 94877 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/8731884
WebKit Review Bot
Comment 4 2011-05-25 23:02:16 PDT
Comment on attachment 94877 [details] Patch (No tests) Attachment 94877 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8739040 New failing tests: svg/custom/use-invalid-html.xhtml fast/parser/xml-colon-entity.html svg/custom/bug45331.svg fast/dom/set-innerHTML.xhtml svg/custom/use-invalid-style.svg svg/custom/path-bad-data.svg svg/custom/junk-data.svg fast/parser/badentity.xhtml fast/parser/xhtml-alternate-entities.xml svg/custom/use-invalid-pattern.svg svg/custom/missing-xlink.svg fast/encoding/invalid-xml.html fast/xsl/xslt-extra-content-at-end.xml fast/frames/onlyCommentInIFrame.html fast/text/bad-encoding.html fast/parser/xml-declaration-missing-ending-mark.html fast/parser/external-entities.xml svg/custom/use-crash-in-non-wellformed-document.svg fast/css/stylesheet-candidate-nodes-crash.xhtml
WebKit Review Bot
Comment 5 2011-05-25 23:02:21 PDT
Created attachment 94920 [details] Archive of layout-test-results from ec2-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-01 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Adam Barth
Comment 6 2011-05-26 09:59:05 PDT
Comment on attachment 94877 [details] Patch (No tests) View in context: https://bugs.webkit.org/attachment.cgi?id=94877&action=review This looks pretty cool, but we'll need some tests! (I didn't review deeply.) > Source/WebCore/xml/XMLErrors.cpp:68 > + m_errorMessages += "warning in " + sourceURL + " on line" + String::number(position.m_line.oneBasedInt()) + " at column " + String::number(position.m_column.oneBasedInt()) + ": " + m; Is there an XSS risk here? Should we sandbox error pages to be extra-sure?
Karl Rackler
Comment 7 2020-07-01 17:11:07 PDT
I removed those expectations for fast/frames/onlyCommentInIFrame.html here because the test was passing consistently https://bug-213863-attachments.webkit.org/attachment.cgi?id=403332
Note You need to log in before you can comment on or make changes to this bug.