Commit 0874c202 authored by adamk@chromium.org's avatar adamk@chromium.org

Layout Test fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html is flaky

https://bugs.webkit.org/show_bug.cgi?id=106612

Reviewed by Eric Seidel.

* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html: Wait for
the iframe's onload event before running the test.
* platform/chromium/TestExpectations: Remove flaky expectation.
* platform/efl/TestExpectations: ditto
* platform/gtk/TestExpectations: ditto


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 35e31aa7
2013-01-24 Adam Klein <adamk@chromium.org>
Layout Test fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=106612
Reviewed by Eric Seidel.
* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html: Wait for
the iframe's onload event before running the test.
* platform/chromium/TestExpectations: Remove flaky expectation.
* platform/efl/TestExpectations: ditto
* platform/gtk/TestExpectations: ditto
2013-01-24 Tony Chang <tony@chromium.org>
Remove document as a parameter from a few internals methods
<!DOCTYPE html>
<body>
<template><div></div></template>
<iframe srcdoc="<template><div></div></template>" style="display:none"></iframe>
<script src="../../js/resources/js-test-pre.js"></script>
<script>
description('Adopting a template from another document should also switch the template content document');
jsTestIsAsync = true;
var template = document.querySelector('template');
var frameTemplate = frames[0].document.querySelector('template');
var template;
var frameTemplate;
function test() {
template = document.querySelector('template');
frameTemplate = frames[0].document.querySelector('template');
debug('Before adoption:');
shouldNotBe('template.ownerDocument', 'frameTemplate.ownerDocument');
shouldNotBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
frameTemplate = document.adoptNode(frameTemplate);
debug('\nAfter adoption:');
shouldBe('template.ownerDocument', 'frameTemplate.ownerDocument');
shouldBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
debug('');
debug('Before adoption:');
shouldNotBe('template.ownerDocument', 'frameTemplate.ownerDocument');
shouldNotBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
frameTemplate = document.adoptNode(frameTemplate);
debug('\nAfter adoption:');
shouldBe('template.ownerDocument', 'frameTemplate.ownerDocument');
shouldBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
debug('');
finishJSTest();
}
</script>
<script src="../../js/resources/js-test-post.js"></script>
<iframe srcdoc="<template><div></div></template>" onload="test()" style="display:none"></iframe>
</body>
......@@ -4289,7 +4289,6 @@ webkit.org/b/103955 fast/repaint/repaint-across-writing-mode-boundary.html [ Ima
webkit.org/b/103955 fast/repaint/selection-rl.html [ ImageOnlyFailure ]
webkit.org/b/103955 fast/repaint/caret-with-transformation.html [ Missing ]
webkit.org/b/106609 [ Win ] animations/fill-mode-iteration-count-non-integer.html [ Failure ]
webkit.org/b/106612 [ Win ] fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure Pass ]
webkit.org/b/106689 canvas/philip/tests/2d.gradient.interpolate.overlap2.html [ Failure ]
webkit.org/b/106689 canvas/philip/tests/2d.gradient.linear.transform.1.html [ Failure ]
......
......@@ -1775,9 +1775,6 @@ webkit.org/b/85522 http/tests/security/sandboxed-iframe-form-top.html [ Skip ]
webkit.org/b/106015 fast/css-generated-content/pseudo-animation.html [ Failure ]
webkit.org/b/106015 fast/css-generated-content/pseudo-transition.html [ Failure ]
# New test introduced in r138756 is failing.
webkit.org/b/106086 fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure ]
# Fail after r139145 on MAC, EFL, QT, GTK.
webkit.org/b/106415 fast/workers/worker-close-more.html [ Pass Failure ]
......
......@@ -637,8 +637,6 @@ webkit.org/b/107194 storage/indexeddb/lazy-index-population.html [ Failure Pass
# End of Flaky tests
#////////////////////////////////////////////////////////////////////////////////////////
webkit.org/b/106086 fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure Pass ]
#////////////////////////////////////////////////////////////////////////////////////////
# Slow tests
#////////////////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment