Title: [112274] trunk/LayoutTests
Revision
112274
Author
podivi...@chromium.org
Date
2012-03-27 08:41:04 -0700 (Tue, 27 Mar 2012)

Log Message

Web Inspector: testSourceMapCouldNotBeLoaded logs different error messages on different platforms.
https://bugs.webkit.org/show_bug.cgi?id=82314

Reviewed by Vsevolod Vlasov.

* http/tests/inspector/compiler-script-mapping.html:
* platform/gtk/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (112273 => 112274)


--- trunk/LayoutTests/ChangeLog	2012-03-27 15:22:56 UTC (rev 112273)
+++ trunk/LayoutTests/ChangeLog	2012-03-27 15:41:04 UTC (rev 112274)
@@ -1,3 +1,13 @@
+2012-03-27  Pavel Podivilov  <podivi...@chromium.org>
+
+        Web Inspector: testSourceMapCouldNotBeLoaded logs different error messages on different platforms.
+        https://bugs.webkit.org/show_bug.cgi?id=82314
+
+        Reviewed by Vsevolod Vlasov.
+
+        * http/tests/inspector/compiler-script-mapping.html:
+        * platform/gtk/Skipped:
+
 2012-03-27  Yury Semikhatsky  <yu...@chromium.org>
 
         Web Inspector: simplify heap profiler front-end

Modified: trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html (112273 => 112274)


--- trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html	2012-03-27 15:22:56 UTC (rev 112273)
+++ trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html	2012-03-27 15:41:04 UTC (rev 112274)
@@ -190,12 +190,14 @@
 
         function testSourceMapCouldNotBeLoaded(next)
         {
+            WebInspector.settings.sourceMapsEnabled.set(true);
             WebInspector.debuggerModel._scripts = [];
             var mainScriptMapping = new WebInspector.MainScriptMapping();
             mainScriptMapping.addEventListener(WebInspector.MainScriptMapping.Events.UISourceCodeListChanged, uiSourceCodeListChanged);
 
             var script = InspectorTest.createScriptMock("compiled.js", 0, 0, true, "");
             script.sourceMapURL = "http://localhost:8000/inspector/resources/source-map.json_";
+            console.error = function() {}; // Error message is platform dependent.
             mainScriptMapping.addScript(script);
 
             function uiSourceCodeListChanged(event)

Modified: trunk/LayoutTests/platform/gtk/Skipped (112273 => 112274)


--- trunk/LayoutTests/platform/gtk/Skipped	2012-03-27 15:22:56 UTC (rev 112273)
+++ trunk/LayoutTests/platform/gtk/Skipped	2012-03-27 15:41:04 UTC (rev 112274)
@@ -1633,7 +1633,3 @@
 # https://bugs.webkit.org/show_bug.cgi?id=82309
 http/tests/xmlhttprequest/basic-auth-default.html
 http/tests/xmlhttprequest/re-login-async.html
-
-# https://bugs.webkit.org/show_bug.cgi?id=82314
-http/tests/inspector/compiler-script-mapping.html
-
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to