| Index: third_party/WebKit/Source/devtools/front_end/common/ParsedURL.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/common/ParsedURL.js b/third_party/WebKit/Source/devtools/front_end/common/ParsedURL.js
|
| index edfcc5392c8c4f1157634167922196c9c284070d..7ceddc55bb5ff0f963af94ab17b9ca8ee84e81e5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/common/ParsedURL.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/common/ParsedURL.js
|
| @@ -263,12 +263,24 @@ WebInspector.ParsedURL.prototype = {
|
| */
|
| domain: function()
|
| {
|
| + if (this.isDataURL())
|
| + return "data:";
|
| return this.host + (this.port ? ":" + this.port : "");
|
| },
|
|
|
| /**
|
| * @return {string}
|
| */
|
| + securityOrigin: function()
|
| + {
|
| + if (this.isDataURL())
|
| + return "data:";
|
| + return this.scheme + "://" + this.domain();
|
| + },
|
| +
|
| + /**
|
| + * @return {string}
|
| + */
|
| urlWithoutScheme: function()
|
| {
|
| if (this.scheme && this.url.startsWith(this.scheme + "://"))
|
|
|