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

Description Joseph Pecoraro 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.
Comment 1 Radar WebKit Bug Importer 2018-12-13 20:04:28 PST
<rdar://problem/46719798>
Comment 2 Joseph Pecoraro 2018-12-13 20:05:42 PST
Created attachment 357292 [details]
[PATCH] Proposed Fix
Comment 3 Darin Adler 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.
Comment 4 BJ Burg 2018-12-14 10:26:56 PST
LGTM. I don't think this is any worse for lack of localization.
Comment 5 WebKit Commit Bot 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>
Comment 6 WebKit Commit Bot 2018-12-14 10:26:58 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Joseph Pecoraro 2018-12-14 11:37:49 PST
Follow-up with the WTF::blankURL in:
<https://trac.webkit.org/r239224>