Changeset 139737 in webkit


Ignore:
Timestamp:
Jan 15, 2013 7:12:11 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Chromium] media/track/track-css-cue-lifetime.html Win7 dbg times out since r139562
https://bugs.webkit.org/show_bug.cgi?id=106853

Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-15
Reviewed by Eric Carlson.

The amount of seeks may be reduced significantly since they may be slow.

  • media/track/track-css-cue-lifetime-expected.txt:
  • media/track/track-css-cue-lifetime.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139732 r139737  
     12013-01-15  Dima Gorbik  <dgorbik@apple.com>
     2
     3        [Chromium] media/track/track-css-cue-lifetime.html Win7 dbg times out since r139562
     4        https://bugs.webkit.org/show_bug.cgi?id=106853
     5
     6        Reviewed by Eric Carlson.
     7
     8        The amount of seeks may be reduced significantly since they may be slow.
     9
     10        * media/track/track-css-cue-lifetime-expected.txt:
     11        * media/track/track-css-cue-lifetime.html:
     12
    1132013-01-15  Tommy Widenflycht  <tommyw@google.com>
    214
  • trunk/LayoutTests/media/track/track-css-cue-lifetime-expected.txt

    r139562 r139737  
    66EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    771
    8 RUN(video.currentTime = 0.7)
     8RUN(video.currentTime = 0.5)
    99EVENT(seeked)
    1010EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
     
    1212EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    13132
    14 RUN(video.currentTime = 0.8)
     14RUN(video.currentTime = 0.9)
    1515EVENT(seeked)
    1616EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
     
    1818EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    19193
    20 RUN(video.currentTime = 0.9)
     20RUN(video.currentTime = 1.3)
    2121EVENT(seeked)
    2222EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
     
    2424EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    25254
    26 RUN(video.currentTime = 1)
     26RUN(video.currentTime = 1.7)
    2727EVENT(seeked)
    2828EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
     
    3030EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    31315
    32 RUN(video.currentTime = 1.1)
    33 EVENT(seeked)
    34 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    35 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    36 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    37 6
    38 RUN(video.currentTime = 1.2000000000000002)
    39 EVENT(seeked)
    40 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    41 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    42 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    43 7
    44 RUN(video.currentTime = 1.3)
    45 EVENT(seeked)
    46 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    47 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    48 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    49 8
    50 RUN(video.currentTime = 1.4)
    51 EVENT(seeked)
    52 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    53 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    54 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    55 9
    56 RUN(video.currentTime = 1.5)
    57 EVENT(seeked)
    58 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    59 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    60 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    61 10
    62 RUN(video.currentTime = 1.6)
    63 EVENT(seeked)
    64 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    65 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    66 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    67 11
    68 RUN(video.currentTime = 1.7000000000000002)
    69 EVENT(seeked)
    70 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    71 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    72 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    73 12
    74 RUN(video.currentTime = 1.8000000000000003)
    75 EVENT(seeked)
    76 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    77 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    78 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    79 13
    80 RUN(video.currentTime = 1.9)
    81 EVENT(seeked)
    82 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    83 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    84 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    85 14
    86 RUN(video.currentTime = 2)
    87 EVENT(seeked)
    88 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    89 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    90 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    91 15
    9232RUN(video.currentTime = 2.1)
    93 EVENT(seeked)
    94 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    95 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    96 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    97 16
    98 RUN(video.currentTime = 2.2)
    99 EVENT(seeked)
    100 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    101 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    102 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    103 17
    104 RUN(video.currentTime = 2.3000000000000003)
    105 EVENT(seeked)
    106 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    107 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    108 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    109 18
    110 RUN(video.currentTime = 2.4)
    111 EVENT(seeked)
    112 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    113 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    114 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    115 19
    116 RUN(video.currentTime = 2.5)
    117 EVENT(seeked)
    118 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    119 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    120 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    121 20
    122 RUN(video.currentTime = 2.6)
    123 EVENT(seeked)
    124 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    125 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    126 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    127 21
    128 RUN(video.currentTime = 2.7)
    129 EVENT(seeked)
    130 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    131 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    132 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    133 22
    134 RUN(video.currentTime = 2.8000000000000003)
    135 EVENT(seeked)
    136 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    137 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
    138 EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
    139 23
    140 RUN(video.currentTime = 2.9000000000000004)
    14133EVENT(seeked)
    14234EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
  • trunk/LayoutTests/media/track/track-css-cue-lifetime.html

    r139562 r139737  
    1717        var cueNode;
    1818        var seekedCount = 0;
    19         var step = 0.1;
     19        var step = 0.4;
    2020        var initialTime = 0.6;
    2121        var endTime = 3.0
     
    4747            else {
    4848                consoleWrite("" + seekedCount);
    49                 run("video.currentTime = " + (initialTime + seekedCount * step));
     49                run("video.currentTime = " + Math.round(initialTime + seekedCount * step * 10) / 10);
    5050            }
    5151        }
Note: See TracChangeset for help on using the changeset viewer.