Changeset 249127 in webkit
- Timestamp:
- Aug 26, 2019 5:48:14 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r249125 r249127 1 2019-08-26 Devin Rousso <drousso@apple.com> 2 3 Unreviewed, add extra test failure logging after r200971 4 5 * inspector/debugger/tail-deleted-frames-this-value.html: 6 Also log the actual value (in addition to the expected one) in assertion messages. 7 1 8 2019-08-26 Wenson Hsieh <wenson_hsieh@apple.com> 2 9 -
trunk/LayoutTests/inspector/debugger/tail-deleted-frames-this-value.html
r249122 r249127 43 43 let callFrames = targetData.callFrames; 44 44 45 InspectorTest.assert(callFrames.length >= expectedFrames.length, `Should have ${expectedFrames.length} frames.`);45 InspectorTest.assert(callFrames.length >= expectedFrames.length, `Should have at least ${expectedFrames.length} frames, but have ${callFrame.length} instead.`); 46 46 47 47 // Resolve a thisObject preview on each of the CallFrames. … … 61 61 let expectedFrame = expectedFrames[i]; 62 62 InspectorTest.log("Expected frame: " + JSON.stringify(expectedFrame)); 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} .`);63 InspectorTest.assert(callFrame.functionName === expectedFrame.functionName, `Should have functionName of '${expectedFrame.functionName}', but have '${callFrame.functionName}' instead.`); 64 InspectorTest.assert(callFrame.isTailDeleted === expectedFrame.isTailDeleted, `Should have isTailDeleted of '${expectedFrame.isTailDeleted}', but have '${callFrame.isTailDeleted}' instead.`); 65 65 66 66 let thisObject = callFrame.thisObject; 67 67 let properties = thisObject.preview.propertyPreviews; 68 InspectorTest.assert(properties.length === 1, "Should h vae one property.");68 InspectorTest.assert(properties.length === 1, "Should have one property."); 69 69 let prop = properties[0]; 70 70 InspectorTest.expectThat(expectedFrame.thisValue[0] === prop.name, `'this' value should have expected property: ${expectedFrame.thisValue[0]}`);
Note: See TracChangeset
for help on using the changeset viewer.