| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html
|
| index 4e7093b7c5090c83169a3cfc109297c67be931e4..9b08b6f5d088bab74a9fd32126cdbc8e19fdf06a 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html
|
| @@ -3,13 +3,13 @@
|
| <script src="../../../../../../resources/testharness.js"></script>
|
| <script src="../../../../../../resources/testharnessreport.js"></script>
|
| <div id=log></div>
|
| +<iframe style="display:none"></iframe>
|
| <script>
|
| async_test(function() {
|
| - var iframe = document.createElement('iframe');
|
| + var iframe = document.getElementsByTagName('iframe')[0];
|
| iframe.addEventListener('load', this.step_func_done(function() {
|
| assert_equals(iframe.contentDocument.contentType, "text/html");
|
| }), false);
|
| iframe.src = "../resources/blob.htm";
|
| - document.body.appendChild(iframe);
|
| });
|
| </script>
|
|
|