| Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| index bf542df23ce8fbed6295f41c0f402eac5fffb71e..4cdc68aa2807f85c0f11966e73c31e3947fa1ba1 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| @@ -139,9 +139,11 @@ public:
|
| // machine or over the network from a
|
| // cryptographically-authenticated origin, as described in
|
| // https://w3c.github.io/webappsec/specs/powerfulfeatures/#is-origin-trustworthy.
|
| - bool isPotentiallyTrustworthy(String& errorMessage) const;
|
| bool isPotentiallyTrustworthy() const;
|
|
|
| + // Returns a human-readable error message describing that a non-secure origin's access to a feature is denied.
|
| + static String isPotentiallyTrustworthyErrorMessage();
|
| +
|
| // Returns true if this SecurityOrigin can load local resources, such
|
| // as images, iframes, and style sheets, and can link to local URLs.
|
| // For example, call this function before creating an iframe to a
|
|
|