Created attachment 79932 [details] sample page If I have a local variable named 'profile', it's being incorrectly evaluated as 'function profile' in the yellow on-hover popup appearing in Debugger. Reproducible both in Safari and Chrome.
Created attachment 79933 [details] Safari screenshot
Created attachment 80067 [details] [PATCH] Proposed change.
Comment on attachment 80067 [details] [PATCH] Proposed change. View in context: https://bugs.webkit.org/attachment.cgi?id=80067&action=review I'd really appreciate if you wrote a test for this fix. > Source/WebCore/inspector/front-end/ScriptsPanel.js:328 > var self = this; Can you bind the function below to "this" object instead like we do with other callbacks.
Committed r76680: <http://trac.webkit.org/changeset/76680>
http://trac.webkit.org/changeset/76680 might have broken Qt Linux Release The following tests are not passing: http/tests/inspector/console-resource-errors.html http/tests/inspector/extensions-headers.html http/tests/inspector/extensions-resources-redirect.html inspector/console-command-clear.html inspector/console-dir-global.html inspector/console-dir.html inspector/console-format.html inspector/console-object-constructor-name.html inspector/console-uncaught-exception-in-eval.html inspector/console-uncaught-exception.html inspector/cookie-parser.html inspector/cpu-profiler-profiling.html inspector/debugger-autocontinue-on-syntax-error.html inspector/debugger-scripts.html inspector/debugger-suspend-active-dom-objects.html inspector/elements-delete-inline-style.html inspector/extensions-api.html inspector/extensions-audits-api.html inspector/extensions-audits.html inspector/extensions-eval.html inspector/extensions-events.html inspector/extensions-resources.html inspector/report-API-errors.html inspector/report-protocol-errors.html inspector/storage-panel-dom-storage.html inspector/styles-disable-then-change.html inspector/styles-url-linkify.html