Changeset 249122 in webkit


Ignore:
Timestamp:
Aug 26, 2019 4:01:47 PM (5 years ago)
Author:
Devin Rousso
Message:

Unreviewed, fix test failure after r200971

  • inspector/timeline/line-column-expected.txt:
  • inspector/debugger/tail-deleted-frames-this-value.html:

Add messages to all InspectorTest.assert so we can know which one is firing on the bots.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r249113 r249122  
     12019-08-26  Devin Rousso  <drousso@apple.com>
     2
     3        Unreviewed, fix test failure after r200971
     4
     5        * inspector/timeline/line-column-expected.txt:
     6
     7        * inspector/debugger/tail-deleted-frames-this-value.html:
     8        Add messages to all `InspectorTest.assert` so we can know which one is firing on the bots.
     9
    1102019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
    211
  • trunk/LayoutTests/inspector/debugger/tail-deleted-frames-this-value.html

    r220119 r249122  
    4343        let callFrames = targetData.callFrames;
    4444
    45         InspectorTest.assert(callFrames.length >= expectedFrames.length);
     45        InspectorTest.assert(callFrames.length >= expectedFrames.length, `Should have ${expectedFrames.length} frames.`);
    4646
    4747        // Resolve a thisObject preview on each of the CallFrames.
     
    6161                let expectedFrame = expectedFrames[i];
    6262                InspectorTest.log("Expected frame: " + JSON.stringify(expectedFrame));
    63                 InspectorTest.assert(callFrame.functionName === expectedFrame.functionName);
    64                 InspectorTest.assert(callFrame.isTailDeleted === expectedFrame.isTailDeleted);
     63                InspectorTest.assert(callFrame.functionName === expectedFrame.functionName, `Should have functionName of '${expectedFrame.functionName}'.`);
     64                InspectorTest.assert(callFrame.isTailDeleted === expectedFrame.isTailDeleted, `Should have isTailDeleted of '${expectedFrame.isTailDeleted}.`);
    6565
    6666                let thisObject = callFrame.thisObject;
    6767                let properties = thisObject.preview.propertyPreviews;
    68                 InspectorTest.assert(properties.length === 1);
     68                InspectorTest.assert(properties.length === 1, "Should hvae one property.");
    6969                let prop = properties[0];
    7070                InspectorTest.expectThat(expectedFrame.thisValue[0] === prop.name, `'this' value should have expected property: ${expectedFrame.thisValue[0]}`);
  • trunk/LayoutTests/inspector/timeline/line-column-expected.txt

    r248908 r249122  
    4646          "url": "",
    4747          "scriptId": "<filtered>",
    48           "lineNumber": 141,
     48          "lineNumber": 144,
    4949          "columnNumber": 97
    5050        }
     
    108108              "url": "",
    109109              "scriptId": "<filtered>",
    110               "lineNumber": 141,
     110              "lineNumber": 144,
    111111              "columnNumber": 97
    112112            }
     
    161161          "url": "",
    162162          "scriptId": "<filtered>",
    163           "lineNumber": 141,
     163          "lineNumber": 144,
    164164          "columnNumber": 97
    165165        }
     
    221221          "url": "",
    222222          "scriptId": "<filtered>",
    223           "lineNumber": 141,
     223          "lineNumber": 144,
    224224          "columnNumber": 97
    225225        }
Note: See TracChangeset for help on using the changeset viewer.