Chromium Code Reviews| Index: LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html |
| diff --git a/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html |
| index e0e7e6795d7a891fb243760f4207c63517f5c85d..1b21d00406b637c8e2451735b22acc1f952bf186 100644 |
| --- a/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html |
| +++ b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html |
| @@ -6,12 +6,9 @@ FAIL (Script did not run); |
| document.body.textContent = "FAIL"; |
| try { |
| document.implementation.createDocument(null, null, document.doctype); |
| - document.body.textContent = "FAIL (no exception)"; |
| + document.body.textContent = "PASS"; |
|
arv (Not doing code reviews)
2013/08/20 14:38:11
Are we moving (and adopting) the doctype to the ne
do-not-use
2013/08/20 15:00:38
Yes, we move an adopt the docType to the new docum
do-not-use
2013/08/20 15:31:00
Done.
|
| } |
| catch(e) { |
| - if (e.code === DOMException.WRONG_DOCUMENT_ERR || e.code === DOMException.NOT_SUPPORTED_ERR) |
| - document.body.textContent = "PASS"; |
| - else |
| - document.body.textContent = "FAIL (wrong exception: " + e.code + ")"; |
| + document.body.textContent = "FAIL threw exception: " + e; |
| } |
| </script> |