Title: [93610] trunk/LayoutTests
Revision
93610
Author
[email protected]
Date
2011-08-23 09:31:32 -0700 (Tue, 23 Aug 2011)

Log Message

2011-08-23  Andrey Kosyakov  <[email protected]>

        Unreviewed test fix following r93605.

        * http/tests/inspector/resources/extension-main.js:
        (trimURL):
        * inspector/extensions/extensions-resources-expected.txt:
        * inspector/extensions/extensions-resources.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (93609 => 93610)


--- trunk/LayoutTests/ChangeLog	2011-08-23 16:25:36 UTC (rev 93609)
+++ trunk/LayoutTests/ChangeLog	2011-08-23 16:31:32 UTC (rev 93610)
@@ -1,5 +1,14 @@
 2011-08-23  Andrey Kosyakov  <[email protected]>
 
+        Unreviewed test fix following r93605.
+
+        * http/tests/inspector/resources/extension-main.js:
+        (trimURL):
+        * inspector/extensions/extensions-resources-expected.txt:
+        * inspector/extensions/extensions-resources.html:
+
+2011-08-23  Andrey Kosyakov  <[email protected]>
+
         Web Inspector: [Extensions API] provide access to page resources
         https://bugs.webkit.org/show_bug.cgi?id=66767
 

Modified: trunk/LayoutTests/http/tests/inspector/resources/extension-main.js (93609 => 93610)


--- trunk/LayoutTests/http/tests/inspector/resources/extension-main.js	2011-08-23 16:25:36 UTC (rev 93609)
+++ trunk/LayoutTests/http/tests/inspector/resources/extension-main.js	2011-08-23 16:31:32 UTC (rev 93610)
@@ -1,7 +1,7 @@
 function trimURL(url)
 {
     if (/^data:/.test(url))
-        return url.replace(/;.*$/, "...");
+        return url.replace(/,.*$/, "...");
     return url.replace(/.*\//, ".../");
 }
 

Modified: trunk/LayoutTests/inspector/extensions/extensions-resources-expected.txt (93609 => 93610)


--- trunk/LayoutTests/inspector/extensions/extensions-resources-expected.txt	2011-08-23 16:25:36 UTC (rev 93609)
+++ trunk/LayoutTests/inspector/extensions/extensions-resources-expected.txt	2011-08-23 16:31:32 UTC (rev 93610)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 1: ReferenceError: Can't find variable: application
 Tests resource-related methods of WebInspector extension API
 
 
@@ -9,38 +8,38 @@
 {
     0 : {
         0 : {
-            url : .../extensions-resources.html
-            type : "document"
+            url : .../abe.png
+            type : "image"
             getContent : <function>
             setContent : <function>
         }
         1 : {
-            url : .../extensions-test.js
-            type : "script"
+            url : .../audits-style1.css
+            type : "stylesheet"
             getContent : <function>
             setContent : <function>
         }
         2 : {
-            url : .../test-script.js
-            type : "script"
+            url : .../extensions-resources.html
+            type : "document"
             getContent : <function>
             setContent : <function>
         }
         3 : {
-            url : .../inspector-test.js
+            url : .../extensions-test.js
             type : "script"
             getContent : <function>
             setContent : <function>
         }
         4 : {
-            url : .../audits-style1.css
-            type : "stylesheet"
+            url : .../inspector-test.js
+            type : "script"
             getContent : <function>
             setContent : <function>
         }
         5 : {
-            url : .../abe.png
-            type : "image"
+            url : .../test-script.js
+            type : "script"
             getContent : <function>
             setContent : <function>
         }
@@ -57,7 +56,7 @@
 }
 RUNNING TEST: extension_testOnContentCommitted
 log: Extension server error: Operation failed: Resource is not editable
-content committed for resource file:///usr/local/google/home/caseq/src/chromium/src/third_party/WebKit/LayoutTests/inspector/extensions/resources/audits-style1.css (type: stylesheet), new content: div.test { width: 220px; height: 42px; }
+content committed for resource .../audits-style1.css (type: stylesheet), new content: div.test { width: 220px; height: 42px; }
 RUNNING TEST: extension_testOnResourceAdded
 resource added:
 {

Modified: trunk/LayoutTests/inspector/extensions/extensions-resources.html (93609 => 93610)


--- trunk/LayoutTests/inspector/extensions/extensions-resources.html	2011-08-23 16:25:36 UTC (rev 93609)
+++ trunk/LayoutTests/inspector/extensions/extensions-resources.html	2011-08-23 16:31:32 UTC (rev 93610)
@@ -106,7 +106,7 @@
 function addResource()
 {
     var script = document.createElement("script");
-    script.src = "" test_func(){}";
+    script.src = "" test_func(){}";
     document.head.appendChild(script);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to