| Index: third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-style-text.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-style-text.html b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-style-text.html
|
| index af6b027e4bc85a7a6c933f26e24a7022cd0b5284..943536a57582ca15d93d6feff3237f158b4df241 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-style-text.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-style-text.html
|
| @@ -1,9 +1,9 @@
|
| <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 removeRule()
|
| @@ -14,7 +14,7 @@ function removeRule()
|
| function test()
|
| {
|
| var setStyleTexts;
|
| - var verifyProtocolError;
|
| + var verifydpError;
|
| var documentNodeId;
|
| var styleSheetId;
|
|
|
| @@ -31,7 +31,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);
|
| }
|
|
|
| @@ -91,7 +91,7 @@ function test()
|
|
|
| function testSetStylePoorContent(next)
|
| {
|
| - verifyProtocolError([{
|
| + verifydpError([{
|
| styleSheetId: styleSheetId,
|
| range: { startLine: 0, startColumn: 7, endLine: 2, endColumn: 0 },
|
| text: "}",
|
| @@ -100,7 +100,7 @@ function test()
|
|
|
| function testSetStyleOpenBrace(next)
|
| {
|
| - verifyProtocolError([{
|
| + verifydpError([{
|
| styleSheetId: styleSheetId,
|
| range: { startLine: 0, startColumn: 7, endLine: 2, endColumn: 0 },
|
| text: "{",
|
| @@ -109,7 +109,7 @@ function test()
|
|
|
| function testSetStyleComment(next)
|
| {
|
| - verifyProtocolError([{
|
| + verifydpError([{
|
| styleSheetId: styleSheetId,
|
| range: { startLine: 0, startColumn: 7, endLine: 2, endColumn: 0 },
|
| text: "/*",
|
| @@ -136,7 +136,7 @@ function test()
|
|
|
| function testSetStylePoorRange(next)
|
| {
|
| - verifyProtocolError([{
|
| + verifydpError([{
|
| styleSheetId: styleSheetId,
|
| range: { startLine: 11, startColumn: 11, endLine: 15, endColumn: 4 },
|
| text: "\n content: 'EDITED';\n",
|
| @@ -145,7 +145,7 @@ function test()
|
|
|
| function testSetStyleOpenComment(next)
|
| {
|
| - verifyProtocolError([{
|
| + verifydpError([{
|
| styleSheetId: styleSheetId,
|
| range: { startLine: 13, startColumn: 11, endLine: 15, endColumn: 4 },
|
| text: "\n content: 'EDITED'/* ;\n",
|
|
|