Title: [193464] branches/safari-601-branch/Source/_javascript_Core
- Revision
- 193464
- Author
- timo...@apple.com
- Date
- 2015-12-04 13:01:30 -0800 (Fri, 04 Dec 2015)
Log Message
Merge r188656. rdar://problem/23221163
Modified Paths
Diff
Modified: branches/safari-601-branch/Source/_javascript_Core/ChangeLog (193463 => 193464)
--- branches/safari-601-branch/Source/_javascript_Core/ChangeLog 2015-12-04 21:01:26 UTC (rev 193463)
+++ branches/safari-601-branch/Source/_javascript_Core/ChangeLog 2015-12-04 21:01:30 UTC (rev 193464)
@@ -1,5 +1,20 @@
2015-12-04 Timothy Hatcher <timo...@apple.com>
+ Merge r188656. rdar://problem/23221163
+
+ 2015-08-19 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Unexpected node preview format for an element with newlines in className attribute
+ https://bugs.webkit.org/show_bug.cgi?id=148192
+
+ Reviewed by Brian Burg.
+
+ * inspector/InjectedScriptSource.js:
+ (InjectedScript.prototype._nodePreview):
+ Replace whitespace blocks with single spaces to produce a simpler class string for previews.
+
+2015-12-04 Timothy Hatcher <timo...@apple.com>
+
Merge r187897. rdar://problem/23221163
2015-08-04 Joseph Pecoraro <pecor...@apple.com>
Modified: branches/safari-601-branch/Source/_javascript_Core/inspector/InjectedScriptSource.js (193463 => 193464)
--- branches/safari-601-branch/Source/_javascript_Core/inspector/InjectedScriptSource.js 2015-12-04 21:01:26 UTC (rev 193463)
+++ branches/safari-601-branch/Source/_javascript_Core/inspector/InjectedScriptSource.js 2015-12-04 21:01:30 UTC (rev 193464)
@@ -811,7 +811,7 @@
if (node.id)
return "<" + nodeName + " id=\"" + node.id + "\">";
if (node.classList.length)
- return "<" + nodeName + " class=\"" + node.classList.toString() + "\">";
+ return "<" + nodeName + " class=\"" + node.classList.toString().replace(/\s+/, " ") + "\">";
if (nodeName === "input" && node.type)
return "<" + nodeName + " type=\"" + node.type + "\">";
return "<" + nodeName + ">";
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes