Bug 192691

Summary: Web Inspector: Prefer "about:blank" instead of an empty string for WebPageDebuggable url
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, darin, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2018-12-13 20:03:41 PST
Prefer "about:blank" instead of an empty string for WebPageDebuggable url When a WebPageProxy is created and has yet to actually load content it is better to display "about:blank" than an empty string.
Attachments
[PATCH] Proposed Fix (1.49 KB, patch)
2018-12-13 20:05 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2018-12-13 20:04:28 PST
Joseph Pecoraro
Comment 2 2018-12-13 20:05:42 PST
Created attachment 357292 [details] [PATCH] Proposed Fix
Darin Adler
Comment 3 2018-12-14 10:00:59 PST
Comment on attachment 357292 [details] [PATCH] Proposed Fix I suggest considering WTF::blankURL().string() rather than "about:blank"_s.
Blaze Burg
Comment 4 2018-12-14 10:26:56 PST
LGTM. I don't think this is any worse for lack of localization.
WebKit Commit Bot
Comment 5 2018-12-14 10:26:57 PST
Comment on attachment 357292 [details] [PATCH] Proposed Fix Clearing flags on attachment: 357292 Committed r239221: <https://trac.webkit.org/changeset/239221>
WebKit Commit Bot
Comment 6 2018-12-14 10:26:58 PST
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 7 2018-12-14 11:37:49 PST
Follow-up with the WTF::blankURL in: <https://trac.webkit.org/r239224>
Note You need to log in before you can comment on or make changes to this bug.