Title: [193013] branches/safari-601-branch/Source/WebInspectorUI
- Revision
- 193013
- Author
- [email protected]
- Date
- 2015-12-03 10:31:18 -0800 (Thu, 03 Dec 2015)
Log Message
Merge r187147. rdar://problem/23221163
Modified Paths
Diff
Modified: branches/safari-601-branch/Source/WebInspectorUI/ChangeLog (193012 => 193013)
--- branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:31:13 UTC (rev 193012)
+++ branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:31:18 UTC (rev 193013)
@@ -1,5 +1,22 @@
2015-12-01 Timothy Hatcher <[email protected]>
+ Merge r187147. rdar://problem/23221163
+
+ 2015-07-21 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: console.log("%d", 0) or console.log("%d", "str") show nothing, expected Number or NaN
+ https://bugs.webkit.org/show_bug.cgi?id=147163
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/ConsoleMessageView.js:
+ (WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.append):
+ When appending the result for a substitution formatter, don't check against a
+ falsey value, check against undefined. This will allow falsely values like
+ 0 and NaN to be output as expected.
+
+2015-12-01 Timothy Hatcher <[email protected]>
+
Merge r187105. rdar://problem/23221163
2015-07-21 Nikita Vasilyev <[email protected]>
Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js (193012 => 193013)
--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-12-03 18:31:13 UTC (rev 193012)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js 2015-12-03 18:31:18 UTC (rev 193013)
@@ -609,7 +609,7 @@
{
if (b instanceof Node)
a.appendChild(b);
- else if (b) {
+ else if (b !== undefined) {
var toAppend = WebInspector.linkifyStringAsFragment(b.toString());
if (currentStyle) {
var wrapper = document.createElement("span");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes