Changeset 185792 in webkit


Ignore:
Timestamp:
Jun 20, 2015, 7:26:05 AM (10 years ago)
Author:
ddkilzer@apple.com
Message:

REGRESSION (r185779): fast/canvas/canvas-too-large-to-draw.html broken prior to El Capitan

This layout test started failing after the fix for:

Extremely large canvas crashes on pre-El Capitan machines
https://bugs.webkit.org/show_bug.cgi?id=146169
<rdar://problem/21410046>

  • fast/canvas/canvas-too-large-to-draw.html: Update test for new

expectations after r185779.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/LayoutTests/ChangeLog

    r185791 r185792  
     12015-06-20  David Kilzer  <ddkilzer@apple.com>
     2
     3        REGRESSION (r185779): fast/canvas/canvas-too-large-to-draw.html broken prior to El Capitan
     4
     5        This layout test started failing after the fix for:
     6
     7            Extremely large canvas crashes on pre-El Capitan machines
     8            https://bugs.webkit.org/show_bug.cgi?id=146169
     9            <rdar://problem/21410046>
     10
     11        * fast/canvas/canvas-too-large-to-draw.html: Update test for new
     12        expectations after r185779.
     13
    1142015-06-20  Yusuke Suzuki  <utatane.tea@gmail.com>
    215
  • TabularUnified trunk/LayoutTests/fast/canvas/canvas-too-large-to-draw.html

    r185603 r185792  
    1818
    1919    var iOSPlatform = navigator.userAgent.search(/\biPhone OS\b/) != -1;
    20     var MAX_WIDTH = iOSPlatform ? Math.pow(2, 12) : Math.pow(2, 14);
    21     var MAX_HEIGHT = iOSPlatform ? Math.pow(2, 12) : Math.pow(2, 14);
     20    var OSXYosemiteOrOlder = navigator.userAgent.search(/\bMac OS X 10_(8|9|10)(_[0-9]+)?\b/) != -1;
     21    var MAX_WIDTH = iOSPlatform ? Math.pow(2, 12) : (OSXYosemiteOrOlder ? Math.pow(2, 13) : Math.pow(2, 14));
     22    var MAX_HEIGHT = MAX_WIDTH;
    2223
    2324    function fillCanvas(id, width, height) {
Note: See TracChangeset for help on using the changeset viewer.