| Index: LayoutTests/fast/dom/document-body-getter-setter.html
|
| diff --git a/LayoutTests/fast/dom/document-body-getter-setter.html b/LayoutTests/fast/dom/document-body-getter-setter.html
|
| index aab57c2f6307dcead99a0ba81fd2fceffff8d6a5..44385e92e981d8a6b0298e25535ddbf1cdc2fa72 100644
|
| --- a/LayoutTests/fast/dom/document-body-getter-setter.html
|
| +++ b/LayoutTests/fast/dom/document-body-getter-setter.html
|
| @@ -9,7 +9,7 @@ onload = function() {
|
| frame = document.createElement('iframe');
|
| document.body.appendChild(frame);
|
|
|
| - shouldThrow('frame.contentDocument.body = document.createElement("div")', "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
|
| + shouldThrow('frame.contentDocument.body = document.createElement("div")', '"HierarchyRequestError: Failed to set the \'body\' property on \'Document\': The new body element is of type \'DIV\'. It must be either a \'BODY\' or \'FRAMESET\' element."');
|
| shouldNotThrow('frame.contentDocument.body = document.createElement("frameset")');
|
| shouldBe('frame.contentDocument.documentElement.childNodes.length', '2');
|
| shouldNotThrow('frame.contentDocument.body = document.createElement("body")');
|
|
|