| Index: Source/devtools/front_end/common/ParsedURL.js
|
| diff --git a/Source/devtools/front_end/common/ParsedURL.js b/Source/devtools/front_end/common/ParsedURL.js
|
| index 2079651e6065b439efbe8208e726cd8c146a5645..b4980e1c707b58d7a9bfac9657fbd430b3ba1ccd 100644
|
| --- a/Source/devtools/front_end/common/ParsedURL.js
|
| +++ b/Source/devtools/front_end/common/ParsedURL.js
|
| @@ -254,7 +254,25 @@ WebInspector.ParsedURL.prototype = {
|
| lastPathComponentWithFragment: function()
|
| {
|
| return this.lastPathComponent + (this.fragment ? "#" + this.fragment : "");
|
| - }
|
| + },
|
| +
|
| + /**
|
| + * @return {string}
|
| + */
|
| + domain: function()
|
| + {
|
| + return this.host + (this.port ? ":" + this.port : "");
|
| + },
|
| +
|
| + /**
|
| + * @return {string}
|
| + */
|
| + urlWithoutScheme: function()
|
| + {
|
| + if (this.scheme && this.url.startsWith(this.scheme + "://"))
|
| + return this.url.substring(this.scheme.length + 3);
|
| + return this.url;
|
| + },
|
| }
|
|
|
| /**
|
|
|