Commit f532c87b authored by Wolfgang Beyer's avatar Wolfgang Beyer Committed by Chromium LUCI CQ

[DevTools] Update tests after landing DevTools frontend changes

Frontend CL: https://crrev.com/c/2581542
Disable tests CL: https://crrev.com/c/2580885

Bug: 1152082
Design doc: http://doc/1UnwKLgjYPDsLsYCBh9LKiaPN6Aq2XLKvt4Ak3FT7J3k


update tests

Change-Id: I2deaf3b83905665db277600d9170e6ae89e09723
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2581839Reviewed-by: default avatarPeter Marshall <petermarshall@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836572}
parent b39b70ca
......@@ -5775,10 +5775,6 @@ crbug.com/1042877 http/tests/security/mixedContent/strict-mode-via-pref-image-bl
# Mixed content autoupgrades cause test to fail because test relied on http subresources to test a different origin, needs to be changed to not rely on HTTP URLs.
crbug.com/1042877 http/tests/security/img-crossorigin-redirect-credentials.https.html [ Failure ]
# Temporarily disable tests to land DevTools frontend changes
crbug.com/1152082 http/tests/devtools/a11y-axe-core/sources/call-stack-a11y-test.js [ Pass Failure Timeout ]
crbug.com/1152082 http/tests/devtools/tracing/timeline-js/timeline-js-blackboxing.js [ Pass Failure Timeout ]
# Sheriff 2020-10-09
crbug.com/1136687 external/wpt/pointerevents/pointerlock/pointerevent_pointerlock_supercedes_capture.html [ Pass Failure ]
crbug.com/1136726 [ Linux ] virtual/gpu-rasterization/images/imagemap-focus-ring-outline-color-not-inherited-from-map.html [ Failure ]
......
Testing accessibility in the call stack sidebar pane.
Set timer for test function.
Call stack pane content: Show blackboxed framesNot paused(anonymous)test.js:20callWithAsyncStacktest.js:13call1wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call2VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call3VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call4VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call5VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17testFunctiontest.js:20setTimeout (async)scheduleTestFunctionVM:3(anonymous)VM:1Show more
Call stack pane content: Show ignore-listed framesNot paused(anonymous)test.js:20callWithAsyncStacktest.js:13call1wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call2VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call3VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call4VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17call5VM wrapper.js:1Promise.then (async)callWithAsyncStacktest.js:17testFunctiontest.js:20setTimeout (async)scheduleTestFunctionVM:3(anonymous)VM:1Show more
Running the axe-core linter on the call stack sidebar pane.
aXe violations: []
......
Tests JS blackboxing for timeline
Tests JS ignore list for timeline
Blackboxed url: lib_script.js
Ignore listed url: lib_script.js
Other: 300 @ 200
level1: 10 @ 208
level2: 10 @ 208
level3: 1 @ 209
Blackboxed: 6 @ 211
On ignore list: 6 @ 211
level4user: 1 @ 211
level6user: 3 @ 213
Blackboxed: 3 @ 213
On ignore list: 3 @ 213
level8user: 3 @ 213
Blackboxed: 3 @ 230
Blackboxed: 3 @ 235
On ignore list: 3 @ 230
On ignore list: 3 @ 235
Unblackboxed url: lib_script.js
Unignored url: lib_script.js
Other: 300 @ 200
level1: 10 @ 208
level2: 10 @ 208
level3: 1 @ 209
level3blackboxed: 6 @ 211
level3ignoreListed: 6 @ 211
level4user: 1 @ 211
level4blackboxed: 3 @ 213
level5blackboxed: 3 @ 213
level4ignoreListed: 3 @ 213
level5ignoreListed: 3 @ 213
level6user: 3 @ 213
level7blackboxed: 3 @ 213
level7ignoreListed: 3 @ 213
level8user: 3 @ 213
level1blackboxed: 3 @ 230
level1blackboxed: 3 @ 235
level2blackboxed: 1 @ 236
level1ignoreListed: 3 @ 230
level1ignoreListed: 3 @ 235
level2ignoreListed: 1 @ 236
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Tests JS blackboxing for timeline\n`);
TestRunner.addResult(`Tests JS ignore list for timeline\n`);
await TestRunner.loadModule('performance_test_runner');
await TestRunner.showPanel('timeline');
......@@ -83,7 +83,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level3blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level3ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -105,7 +105,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level4blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level4ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -116,7 +116,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level5blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level5ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -138,7 +138,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level7blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level7ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -160,7 +160,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level1blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level1ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -171,7 +171,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level1blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level1ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -182,7 +182,7 @@
'tts': 1758056
},
{
'args': {'data': {'functionName': 'level2blackboxed', 'url': 'lib_script.js'}},
'args': {'data': {'functionName': 'level2ignoreListed', 'url': 'lib_script.js'}},
'cat': 'disabled-by-default-devtools.timeline',
'name': 'JSFrame',
'ph': 'X',
......@@ -218,11 +218,11 @@
const dataProvider = new Timeline.TimelineFlameChartDataProvider();
dataProvider.setModel(PerformanceTestRunner.createPerformanceModelWithEvents(rawTraceEvents));
TestRunner.addResult('\nBlackboxed url: lib_script.js');
TestRunner.addResult('\nIgnore listed url: lib_script.js');
Bindings.blackboxManager._blackboxURL('lib_script.js');
printTimelineData(dataProvider);
TestRunner.addResult('\nUnblackboxed url: lib_script.js');
TestRunner.addResult('\nUnignored url: lib_script.js');
Bindings.blackboxManager._unblackboxURL('lib_script.js');
printTimelineData(dataProvider);
TestRunner.completeTest();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment