Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07fdedc0b2dabaf8ddd285aaebd62dc37421c4cc
      
https://github.com/WebKit/WebKit/commit/07fdedc0b2dabaf8ddd285aaebd62dc37421c4cc
  Author: Devin Rousso <h...@devinrousso.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    A LayoutTests/inspector/debugger/getFunctionDetails-expected.txt
    A LayoutTests/inspector/debugger/getFunctionDetails.html
    M Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp
    M Source/WebInspectorUI/UserInterface/Test/FrontendTestHarness.js

  Log Message:
  -----------
  Web Inspector: Console: show source code location for bound functions
https://bugs.webkit.org/show_bug.cgi?id=288454

Reviewed by BJ Burg.

This allow help developers to quickly jump to the source code location of the 
original function instead of having to search for it by name.

* Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp:
(Inspector::JSInjectedScriptHost::functionDetails):

* Source/WebInspectorUI/UserInterface/Test/FrontendTestHarness.js:
(FrontendTestHarness.prototype.evaluateInPage):
Drive-by: allow `options` to be provided without a `callback` (i.e. to return a 
`Promise` for use with `await`).

* LayoutTests/inspector/debugger/getFunctionDetails.html: Added.
* LayoutTests/inspector/debugger/getFunctionDetails-expected.txt: Added.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to