⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185779 in webkit


Ignore:
Timestamp:
Jun 19, 2015, 4:45:35 PM (11 years ago)
Author:
dino@apple.com
Message:

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

Reviewed by Tim Horton.

Source/WebCore:

On machines before El Capitan, make the maximum canvas size
8k by 8k.

Covered by existing tests.

  • html/HTMLCanvasElement.cpp:

LayoutTests:

Un-skip fast/canvas/canvas-too-large-to-draw.html.

  • platform/mac/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185777 r185779  
     12015-06-19  Dean Jackson  <dino@apple.com>
     2
     3        Extremely large canvas crashes on pre-El Capitan machines
     4        https://bugs.webkit.org/show_bug.cgi?id=146169
     5        <rdar://problem/21410046>
     6
     7        Reviewed by Tim Horton.
     8
     9        Un-skip fast/canvas/canvas-too-large-to-draw.html.
     10
     11        * platform/mac/TestExpectations:
     12
    1132015-06-19  Matt Baker  <mattbaker@apple.com>
    214
  • trunk/LayoutTests/platform/mac/TestExpectations

    r185702 r185779  
    12921292[ ElCapitan+ ] http/tests/media/video-throttled-load-metadata.html [ Failure ]
    12931293[ ElCapitan+ ] http/tests/security/contentSecurityPolicy/media-src-allowed.html [ Skip ]
    1294 
    1295 # rdar://problem/20575487, rdar://problem/21409769
    1296 [ Mavericks Yosemite ] fast/canvas/canvas-too-large-to-draw.html [ Skip ]
  • trunk/Source/WebCore/ChangeLog

    r185778 r185779  
     12015-06-19  Dean Jackson  <dino@apple.com>
     2
     3        Extremely large canvas crashes on pre-El Capitan machines
     4        https://bugs.webkit.org/show_bug.cgi?id=146169
     5        <rdar://problem/21410046>
     6
     7        Reviewed by Tim Horton.
     8
     9        On machines before El Capitan, make the maximum canvas size
     10        8k by 8k.
     11
     12        Covered by existing tests.
     13
     14        * html/HTMLCanvasElement.cpp:
     15
    1162015-06-19  Tim Horton  <timothy_horton@apple.com>
    217
  • trunk/Source/WebCore/html/HTMLCanvasElement.cpp

    r185603 r185779  
    7070#if PLATFORM(IOS)
    7171static const unsigned MaxCanvasArea = 4096 * 4096;
     72#elif PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101100
     73static const unsigned MaxCanvasArea = 8192 * 8192;
    7274#else
    7375static const unsigned MaxCanvasArea = 16384 * 16384;
Note: See TracChangeset for help on using the changeset viewer.