WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
263108
Web Inspector: Display "Navigated To:" in the Web Inspector Console when accessing a website
https://bugs.webkit.org/show_bug.cgi?id=263108
Summary
Web Inspector: Display "Navigated To:" in the Web Inspector Console when acce...
Karl Dubost
Reported
2023-10-12 21:42:19 PDT
Created
attachment 468197
[details]
developer tools in safari, firefox, chrome When Preserve logs is activated for the Console in Web Inspector. Having a Navigated To: with the URL of the Website, helps having a better understanding of what is happening for which site. See the screenshot. Steps to Reproduce. 1. Open STP 2. Open Web Inspector 3. Open the Console 4. Go to
https://apple.com/
Result: STP: The Console displays a "Page navigated at [time]" Firefox/Chrome: Navigated to
https://apple.com/
Attachments
developer tools in safari, firefox, chrome
(520.40 KB, image/png)
2023-10-12 21:42 PDT
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-12 21:42:27 PDT
<
rdar://problem/116901390
>
Karl Dubost
Comment 2
2023-10-12 21:44:16 PDT
This seems to be handled at
https://searchfox.org/wubkat/rev/95664cfd77a025b5154b8fc6dd52a6cbd9c0f544/Source/WebInspectorUI/UserInterface/Views/ConsoleSession.js#48-50
Karl Dubost
Comment 3
2025-05-29 18:55:03 PDT
https://searchfox.org/wubkat/rev/717f9adc97dd16bf639d27addbe0faf420f7dfce/Source/WebInspectorUI/UserInterface/Views/ConsoleSession.js#48-50
```js case WI.ConsoleSession.NewSessionReason.PageNavigated: headerText = WI.UIString("Page navigated at %s"); break; ``` URL of the current main frame is accessible via: WI.networkManager.mainFrame.url There is an event that’s fired called when the main frame navigates: WI.NetworkManager.Event.MainFrameDidChange. The handler for this event changes the URL in the title bar of Web Inspector in WI.updateWindowTitle :
https://github.com/WebKit/WebKit/blob/main/Source/WebInspectorUI/UserInterface/Base/Main.js#L818
Alexsander Borges Damaceno
Comment 4
2025-05-29 23:18:26 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46106
EWS
Comment 5
2025-06-03 12:17:16 PDT
Committed
295764@main
(62dfa4f50d48): <
https://commits.webkit.org/295764@main
> Reviewed commits have been landed. Closing PR #46106 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug