Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html
index 78cec5847098df4ce54a0f5b2c10b63199fd3f55..7cdb2aa3cfea4079097c6c527e091305954cd0d0 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts.html
@@ -1,15 +1,15 @@
<html>
<head>
<link rel="stylesheet" href="resources/set-style-text.css"/>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/css-protocol-test.js"></script>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/dom-protocol-test.js"></script>
+<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
+<script type="text/javascript" src="../resources/css-protocol-test.js"></script>
+<script type="text/javascript" src="../resources/dom-protocol-test.js"></script>
<script type="text/javascript">
function test()
{
var setStyleTexts;
- var verifyProtocolError;
+ var verifydpError;
var styleSheetId;
var undoAndNext = InspectorTest.undoAndNext;
@@ -25,7 +25,7 @@ function test()
{
styleSheetId = result.params.header.styleSheetId;
setStyleTexts = InspectorTest.setStyleTexts.bind(InspectorTest, styleSheetId, false);
- verifyProtocolError = InspectorTest.setStyleTexts.bind(InspectorTest, styleSheetId, true);
+ verifydpError = InspectorTest.setStyleTexts.bind(InspectorTest, styleSheetId, true);
InspectorTest.sendCommandOrDie("CSS.getStyleSheetText", { styleSheetId: styleSheetId }, onInitialStyleSheetText);
}
@@ -39,7 +39,7 @@ function test()
var testSuite = [
function testMalformedArguments1(next)
{
- verifyProtocolError([
+ verifydpError([
{
styleSheetId: styleSheetId,
range: { startLine: 13, startColumn: 11, endLine: 15, endColumn: 4 },
@@ -54,7 +54,7 @@ function test()
function testMalformedArguments2(next)
{
- verifyProtocolError([
+ verifydpError([
{
styleSheetId: styleSheetId,
},
@@ -72,7 +72,7 @@ function test()
function testMalformedArguments3(next)
{
- verifyProtocolError([
+ verifydpError([
{
styleSheetId: styleSheetId,
range: { startLine: "STRING INSTEAD OF NUMBER", startColumn: 11, endLine: 15, endColumn: 4 },
@@ -88,7 +88,7 @@ function test()
function testFirstEditDoesNotApply(next)
{
- verifyProtocolError([
+ verifydpError([
{
styleSheetId: styleSheetId,
range: { startLine: 13, startColumn: 11, endLine: 15, endColumn: 4 },
@@ -104,7 +104,7 @@ function test()
function testSecondEditDoesNotApply(next)
{
- verifyProtocolError([
+ verifydpError([
{
styleSheetId: styleSheetId,
range: { startLine: 13, startColumn: 11, endLine: 15, endColumn: 4 },

Powered by Google App Engine
This is Rietveld 408576698