Title: [93969] trunk
Revision
93969
Author
[email protected]
Date
2011-08-29 04:36:57 -0700 (Mon, 29 Aug 2011)

Log Message

Web Inspector: link UISourceCode to RawSourceCode.
https://bugs.webkit.org/show_bug.cgi?id=66944

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode):
(WebInspector.UISourceCode.prototype.get rawSourceCode):

LayoutTests:

* inspector/debugger/ui-source-code.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (93968 => 93969)


--- trunk/LayoutTests/ChangeLog	2011-08-29 11:19:10 UTC (rev 93968)
+++ trunk/LayoutTests/ChangeLog	2011-08-29 11:36:57 UTC (rev 93969)
@@ -1,3 +1,12 @@
+2011-08-25  Pavel Podivilov  <[email protected]>
+
+        Web Inspector: link UISourceCode to RawSourceCode.
+        https://bugs.webkit.org/show_bug.cgi?id=66944
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/debugger/ui-source-code.html:
+
 2011-08-29  Zoltan Horvath  <[email protected]>
 
         [Qt] Skip failing and flaky results after r93937

Modified: trunk/LayoutTests/inspector/debugger/ui-source-code.html (93968 => 93969)


--- trunk/LayoutTests/inspector/debugger/ui-source-code.html	2011-08-29 11:19:10 UTC (rev 93968)
+++ trunk/LayoutTests/inspector/debugger/ui-source-code.html	2011-08-29 11:36:57 UTC (rev 93969)
@@ -17,7 +17,7 @@
     InspectorTest.runTestSuite([
         function testUISourceCode(next)
         {
-            var uiSourceCode = new WebInspector.UISourceCode("id", "url", false, contentProvider);
+            var uiSourceCode = new WebInspector.UISourceCode("id", "url", false, null, contentProvider);
             function didRequestContent(callNumber, mimeType, content)
             {
                 InspectorTest.addResult("Callback " + callNumber + " is invoked.");

Modified: trunk/Source/WebCore/ChangeLog (93968 => 93969)


--- trunk/Source/WebCore/ChangeLog	2011-08-29 11:19:10 UTC (rev 93968)
+++ trunk/Source/WebCore/ChangeLog	2011-08-29 11:36:57 UTC (rev 93969)
@@ -1,5 +1,16 @@
 2011-08-25  Pavel Podivilov  <[email protected]>
 
+        Web Inspector: link UISourceCode to RawSourceCode.
+        https://bugs.webkit.org/show_bug.cgi?id=66944
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/UISourceCode.js:
+        (WebInspector.UISourceCode):
+        (WebInspector.UISourceCode.prototype.get rawSourceCode):
+
+2011-08-25  Pavel Podivilov  <[email protected]>
+
         Web Inspector: remove RawSourceCode.setFormatted.
         https://bugs.webkit.org/show_bug.cgi?id=66947
 

Modified: trunk/Source/WebCore/inspector/front-end/UISourceCode.js (93968 => 93969)


--- trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2011-08-29 11:19:10 UTC (rev 93968)
+++ trunk/Source/WebCore/inspector/front-end/UISourceCode.js	2011-08-29 11:36:57 UTC (rev 93969)
@@ -31,11 +31,12 @@
 /**
  * @constructor
  */
-WebInspector.UISourceCode = function(id, url, isContentScript, contentProvider)
+WebInspector.UISourceCode = function(id, url, isContentScript, rawSourceCode, contentProvider)
 {
     this._id = id;
     this._url = url;
     this._isContentScript = isContentScript;
+    this._rawSourceCode = rawSourceCode;
     this._contentProvider = contentProvider;
     this._requestContentCallbacks = [];
 }
@@ -56,6 +57,11 @@
         return this._isContentScript;
     },
 
+    get rawSourceCode()
+    {
+        return this._rawSourceCode;
+    },
+
     requestContent: function(callback)
     {
         if (this._contentLoaded) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to