Commit 96aca7b3 authored by Jose Leal Chapa's avatar Jose Leal Chapa Committed by Commit Bot

Update tests to use TextUtils instead of Common.

This change is tied to the migration of ContentProvider.js and
StaticContentProvider.js from common to text_utils.

Here is the CL for that change in the DevTools frontend repo:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2097337

Bug: 1011811
Change-Id: I5787688583ea2966da97f51341803962998fdf9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096018
Commit-Queue: Jose Leal <joselea@microsoft.com>
Reviewed-by: default avatarTim van der Lippe <tvanderlippe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751433}
parent 0ba98c24
......@@ -6949,10 +6949,6 @@ crbug.com/1060175 [ Win ] wpt_internal/storage/estimate-usage-details-filesystem
crbug.com/1060175 [ Win ] wpt_internal/virtual-scroller/large-child-comment.html [ Pass Failure ]
crbug.com/1060175 [ Win ] wpt_internal/webxr/xr_view_projection_detached.https.html [ Pass Failure ]
# Temporarily disable to land https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2097337
crbug.com/1011811 http/tests/devtools/changes/changes-sidebar.js [ Pass Failure ]
crbug.com/1011811 http/tests/devtools/search/search-in-static.js [ Pass Failure ]
# Temporarily disabled to land https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2101972
crbug.com/174309 http/tests/devtools/quick-open/command-menu.js [ Pass Failure ]
......
......@@ -62,6 +62,6 @@
function addUISourceCode(url, content) {
return project.addContentProvider(
url, Common.StaticContentProvider.fromString(url, Common.resourceTypes.Stylesheet, content));
url, TextUtils.StaticContentProvider.fromString(url, Common.resourceTypes.Stylesheet, content));
}
})();
......@@ -20,7 +20,7 @@
}
async function step3() {
staticContentProvider = Common.StaticContentProvider.fromString('', Common.resourceTypes.Script, resource.content);
staticContentProvider = TextUtils.StaticContentProvider.fromString('', Common.resourceTypes.Script, resource.content);
TestRunner.addResult(resource.url);
var text = 'searchTestUniqueString';
......
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