Changeset 249809 in webkit


Ignore:
Timestamp:
Sep 12, 2019 8:09:31 AM (5 years ago)
Author:
Devin Rousso
Message:

REGRESSION? (r249786): inspector/canvas/context-attributes.html is failing on macOS WK1
https://bugs.webkit.org/show_bug.cgi?id=201714
<rdar://problem/55290473>

Reviewed by Joseph Pecoraro.

  • inspector/canvas/context-attributes.html:
  • inspector/canvas/context-attributes-expected.txt:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r249804 r249809  
     12019-09-12  Devin Rousso  <drousso@apple.com>
     2
     3        REGRESSION? (r249786): inspector/canvas/context-attributes.html is failing on macOS WK1
     4        https://bugs.webkit.org/show_bug.cgi?id=201714
     5        <rdar://problem/55290473>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * inspector/canvas/context-attributes.html:
     10        * inspector/canvas/context-attributes-expected.txt:
     11
    1122019-09-12  Russell Epstein  <repstein@apple.com>
    213
  • trunk/LayoutTests/inspector/canvas/context-attributes-expected.txt

    r249786 r249809  
    3333  "premultipliedAlpha": true,
    3434  "preserveDrawingBuffer": false,
    35   "powerPreference": "default",
     35  "powerPreference": "<filtered>",
    3636  "failIfMajorPerformanceCaveat": false
    3737}
     
    4747  "premultipliedAlpha": true,
    4848  "preserveDrawingBuffer": false,
    49   "powerPreference": "default",
     49  "powerPreference": "<filtered>",
    5050  "failIfMajorPerformanceCaveat": false
    5151}
  • trunk/LayoutTests/inspector/canvas/context-attributes.html

    r225884 r249809  
    2828                    let contextDisplayName = WI.Canvas.displayNameForContextType(contextType);
    2929                    InspectorTest.expectEqual(canvas.contextType, contextType, `Canvas context should be "${contextDisplayName}".`);
    30                     InspectorTest.log(JSON.stringify(canvas.contextAttributes, null, 2));
     30                    InspectorTest.json(canvas.contextAttributes, (key, value) => {
     31                        if (key === "powerPreference") {
     32                            InspectorTest.assert(value === "default" || value === "low-power" || value === "high-performance", `Unexpected "powerPreference" value: ${value}`);
     33                            return "<filtered>";
     34                        }
     35                        return value;
     36                    });
    3137
    3238                    for (let name in contextAttributes)
Note: See TracChangeset for help on using the changeset viewer.