Title: [129869] trunk/Source/WebCore
- Revision
- 129869
- Author
- [email protected]
- Date
- 2012-09-28 03:24:46 -0700 (Fri, 28 Sep 2012)
Log Message
Web Inspector: Formatting on load is broken
https://bugs.webkit.org/show_bug.cgi?id=97880
Reviewed by Alexander Pavlov.
Bound formatted callback on UISourceCode and fixed callback call.
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype._fireContentAvailable.formattedCallback):
(WebInspector.UISourceCode.prototype._fireContentAvailable):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (129868 => 129869)
--- trunk/Source/WebCore/ChangeLog 2012-09-28 10:17:05 UTC (rev 129868)
+++ trunk/Source/WebCore/ChangeLog 2012-09-28 10:24:46 UTC (rev 129869)
@@ -1,3 +1,16 @@
+2012-09-28 Vsevolod Vlasov <[email protected]>
+
+ Web Inspector: Formatting on load is broken
+ https://bugs.webkit.org/show_bug.cgi?id=97880
+
+ Reviewed by Alexander Pavlov.
+
+ Bound formatted callback on UISourceCode and fixed callback call.
+
+ * inspector/front-end/UISourceCode.js:
+ (WebInspector.UISourceCode.prototype._fireContentAvailable.formattedCallback):
+ (WebInspector.UISourceCode.prototype._fireContentAvailable):
+
2012-09-28 Yoshifumi Inoue <[email protected]>
[Forms] Multiple fields month input UI
Modified: trunk/Source/WebCore/inspector/front-end/UISourceCode.js (129868 => 129869)
--- trunk/Source/WebCore/inspector/front-end/UISourceCode.js 2012-09-28 10:17:05 UTC (rev 129868)
+++ trunk/Source/WebCore/inspector/front-end/UISourceCode.js 2012-09-28 10:24:46 UTC (rev 129869)
@@ -375,13 +375,13 @@
function formattedCallback()
{
for (var i = 0; i < this._pendingFormattedCallbacks.length; ++i)
- this._pendingFormattedCallbacks();
+ this._pendingFormattedCallbacks[i]();
delete this._pendingFormattedCallbacks;
}
delete this._formatOnLoad;
- this.setFormatted(true, formattedCallback);
+ this.setFormatted(true, formattedCallback.bind(this));
}
},
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes