Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d9ebfd86167f0099f0795e0b1e4017a62a0c8d5
      
https://github.com/WebKit/WebKit/commit/7d9ebfd86167f0099f0795e0b1e4017a62a0c8d5
  Author: Brandon Stewart <[email protected]>
  Date:   2025-12-10 (Wed, 10 Dec 2025)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Base/Utilities.js
    M 
Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorCompletionController.js
    M Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js
    M Source/WebInspectorUI/UserInterface/Models/SourceMap.js
    M Source/WebInspectorUI/UserInterface/Test/TestHarness.js

  Log Message:
  -----------
  Web Inspector: Replace deprecated String.prototype.substr with substring for 
multi parameter calls
https://bugs.webkit.org/show_bug.cgi?id=303883
rdar://problem/166177531

Reviewed by Devin Rousso.

`String.prototype.substr` is deprecated and should be replaced with `substring` 
(which takes start and end indices).

* Source/WebInspectorUI/UserInterface/Base/Utilities.js:
(get return):
* 
Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorCompletionController.js:
(WI.CodeMirrorCompletionController.prototype._generateJavaScriptCompletions):
* Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js:
(stringifyAndTruncateObject):
* Source/WebInspectorUI/UserInterface/Models/SourceMap.js:
(WI.SourceMap.prototype.get sourceMappingBasePathURLComponents):
* Source/WebInspectorUI/UserInterface/Test/TestHarness.js:
(TestHarness.sanitizeStackFrame):

Canonical link: https://commits.webkit.org/304225@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to