Empty XML document not consistently reported as an error
Reported by
bzbar...@mit.edu,
Apr 18 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0 Steps to reproduce the problem: 1. Load attach testcase. What is the expected behavior? There's an error message in the iframe that looks similar to the error message below the iframe. What went wrong? There is no error message in the iframe. Did this work before? No Does this work in other browsers? No Safari has the same bug. Firefox does not. Chrome version: 59.0.3067.0 (Official Build) dev (64-bit) Channel: n/a OS Version: OS X 10.12 Flash Version: The HTML spec does allow not reporting errors for XML documents in iframes. But for other XML errors Blink reports them... it's just this one that doesn't get reported.
,
Apr 19 2017
Adding dominicc@ for opportunistic first line triage.
,
Apr 24 2017
It looks like there's no error reported because we don't treat data:application/xml, as an error but an empty document.
,
Apr 24 2017
Except in DOMParser you treat it as an error...
,
Apr 27 2017
Yeah. This is inconsistent and probably wrong. I'm just reporting a bit of debugging: The problem isn't that there's an error that's not reported; it's that there's no error in the first place. I haven't debugged where the zero-length content from the data: URL is going off the rails. FWIW if you serve Chromium 0 bytes of application/xml content we also treat that as an empty XML document whereas FF displays its XML error UI.
,
Aug 22 2017
Bulk disowning per sshruthi's email about bug triage best practices.
,
Aug 22
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by jmukthavaram@chromium.org
, Apr 18 2017Status: Untriaged (was: Unconfirmed)
286 KB
286 KB View Download