Changeset 202554 in webkit


Ignore:
Timestamp:
Jun 28, 2016 12:17:26 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

http/tests/media/hls/video-controller-getStartDate.html is failing on non-PDT time-based computers
https://bugs.webkit.org/show_bug.cgi?id=159134

Patch by Youenn Fablet <youenn@apple.com> on 2016-06-28
Reviewed by Alex Christensen.

  • http/tests/media/hls/video-controller-getStartDate-expected.txt: Converting date to UTC string before making the comparison.
  • http/tests/media/hls/video-controller-getStartDate.html: Rebasing.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202552 r202554  
     12016-06-28  Youenn Fablet  <youenn@apple.com>
     2
     3        http/tests/media/hls/video-controller-getStartDate.html is failing on non-PDT time-based computers
     4        https://bugs.webkit.org/show_bug.cgi?id=159134
     5
     6        Reviewed by Alex Christensen.
     7
     8        * http/tests/media/hls/video-controller-getStartDate-expected.txt: Converting date to UTC string before making the comparison.
     9        * http/tests/media/hls/video-controller-getStartDate.html: Rebasing.
     10
    1112016-06-28  Hunseop Jeong  <hs85.jeong@samsung.com>
    212
  • trunk/LayoutTests/http/tests/media/hls/video-controller-getStartDate-expected.txt

    r186020 r202554  
    55EVENT(canplaythrough)
    66EXPECTED (isNaN(video.getStartDate()) == 'true') OK
    7 EXPECTED (video.getStartDate() == 'Wed Nov 03 2010 01:00:00 GMT-0700 (PDT)') OK
     7EXPECTED (video.getStartDate().toUTCString() == 'Wed, 03 Nov 2010 08:00:00 GMT') OK
    88END OF TEST
    99
  • trunk/LayoutTests/http/tests/media/hls/video-controller-getStartDate.html

    r186020 r202554  
    3232                testExpected("isNaN(video.getStartDate())", true );
    3333                video = document.getElementById('source_with_start_date');
    34                 testExpected("video.getStartDate()", "Wed Nov 03 2010 01:00:00 GMT-0700 (PDT)");
     34                testExpected("video.getStartDate().toUTCString()", "Wed, 03 Nov 2010 08:00:00 GMT");
    3535
    3636                endTest();
Note: See TracChangeset for help on using the changeset viewer.