Changeset 140715 in webkit


Ignore:
Timestamp:
Jan 24, 2013 1:16:32 PM (11 years ago)
Author:
adamk@chromium.org
Message:

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
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r140710 r140715  
     12013-01-24  Adam Klein  <adamk@chromium.org>
     2
     3        Layout Test fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=106612
     5
     6        Reviewed by Eric Seidel.
     7
     8        * fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html: Wait for
     9        the iframe's onload event before running the test.
     10        * platform/chromium/TestExpectations: Remove flaky expectation.
     11        * platform/efl/TestExpectations: ditto
     12        * platform/gtk/TestExpectations: ditto
     13
    1142013-01-24  Tony Chang  <tony@chromium.org>
    215
  • trunk/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html

    r138756 r140715  
    22<body>
    33<template><div></div></template>
    4 <iframe srcdoc="<template><div></div></template>" style="display:none"></iframe>
    54<script src="../../js/resources/js-test-pre.js"></script>
    65<script>
    76description('Adopting a template from another document should also switch the template content document');
     7jsTestIsAsync = true;
    88
    9 var template = document.querySelector('template');
    10 var frameTemplate = frames[0].document.querySelector('template');
     9var template;
     10var frameTemplate;
     11function test() {
     12    template = document.querySelector('template');
     13    frameTemplate = frames[0].document.querySelector('template');
    1114
    12 debug('Before adoption:');
    13 shouldNotBe('template.ownerDocument', 'frameTemplate.ownerDocument');
    14 shouldNotBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
    15 frameTemplate = document.adoptNode(frameTemplate);
    16 debug('\nAfter adoption:');
    17 shouldBe('template.ownerDocument', 'frameTemplate.ownerDocument');
    18 shouldBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
    19 debug('');
     15    debug('Before adoption:');
     16    shouldNotBe('template.ownerDocument', 'frameTemplate.ownerDocument');
     17    shouldNotBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
     18    frameTemplate = document.adoptNode(frameTemplate);
     19    debug('\nAfter adoption:');
     20    shouldBe('template.ownerDocument', 'frameTemplate.ownerDocument');
     21    shouldBe('template.content.ownerDocument', 'frameTemplate.content.ownerDocument');
     22    debug('');
     23    finishJSTest();
     24}
    2025</script>
    2126<script src="../../js/resources/js-test-post.js"></script>
     27<iframe srcdoc="<template><div></div></template>" onload="test()" style="display:none"></iframe>
    2228</body>
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r140693 r140715  
    42904290webkit.org/b/103955 fast/repaint/caret-with-transformation.html [ Missing ]
    42914291webkit.org/b/106609 [ Win ] animations/fill-mode-iteration-count-non-integer.html [ Failure ]
    4292 webkit.org/b/106612 [ Win ] fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure Pass ]
    42934292
    42944293webkit.org/b/106689 canvas/philip/tests/2d.gradient.interpolate.overlap2.html [ Failure ]
  • trunk/LayoutTests/platform/efl/TestExpectations

    r140701 r140715  
    17761776webkit.org/b/106015 fast/css-generated-content/pseudo-transition.html [ Failure ]
    17771777
    1778 # New test introduced in r138756 is failing.
    1779 webkit.org/b/106086 fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure ]
    1780 
    17811778# Fail after r139145 on MAC, EFL, QT, GTK.
    17821779webkit.org/b/106415 fast/workers/worker-close-more.html [ Pass Failure ]
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r140693 r140715  
    637637# End of Flaky tests
    638638#////////////////////////////////////////////////////////////////////////////////////////
    639 
    640 webkit.org/b/106086 fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html [ Failure Pass ]
    641639
    642640#////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.