Title: [292172] trunk/Source/WebInspectorUI
- Revision
- 292172
- Author
- ryanhad...@apple.com
- Date
- 2022-03-31 14:02:45 -0700 (Thu, 31 Mar 2022)
Log Message
Web Inspector: Sources: the mapped file URL of a Respone Local Override should wrap
https://bugs.webkit.org/show_bug.cgi?id=238625
Patch by Devin Rousso <drou...@apple.com> on 2022-03-31
Reviewed by Patrick Angle.
* UserInterface/Views/ResourceContentView.js:
(WI.ResourceContentView.prototype._handleMappedFilePathChanged):
Long file paths should be wrappable so the text doesn't overflow the content area.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (292171 => 292172)
--- trunk/Source/WebInspectorUI/ChangeLog 2022-03-31 20:55:12 UTC (rev 292171)
+++ trunk/Source/WebInspectorUI/ChangeLog 2022-03-31 21:02:45 UTC (rev 292172)
@@ -1,3 +1,14 @@
+2022-03-31 Devin Rousso <drou...@apple.com>
+
+ Web Inspector: Sources: the mapped file URL of a Respone Local Override should wrap
+ https://bugs.webkit.org/show_bug.cgi?id=238625
+
+ Reviewed by Patrick Angle.
+
+ * UserInterface/Views/ResourceContentView.js:
+ (WI.ResourceContentView.prototype._handleMappedFilePathChanged):
+ Long file paths should be wrappable so the text doesn't overflow the content area.
+
2022-03-31 Alex Christensen <achristen...@webkit.org>
Remove EXPERIMENTAL_FEATURES flag on Cocoa platforms
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js (292171 => 292172)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js 2022-03-31 20:55:12 UTC (rev 292171)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceContentView.js 2022-03-31 21:02:45 UTC (rev 292172)
@@ -388,7 +388,7 @@
let mappedFilePathLink = document.createElement("a");
mappedFilePathLink.href = "" + mappedFilePath;
- mappedFilePathLink.textContent = mappedFilePath;
+ mappedFilePathLink.textContent = mappedFilePath.insertWordBreakCharacters();
mappedFilePathLink.addEventListener("click", (event) => {
event.stop();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes