| Index: third_party/WebKit/Source/core/loader/HttpEquiv.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/HttpEquiv.cpp b/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
|
| index 26447d3b2f3e86bc72df7bac709ff79edf455f69..afa131c99cc973369c915dc3349867486d2adb87 100644
|
| --- a/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "core/html/HTMLDocument.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/loader/DocumentLoader.h"
|
| +#include "core/origin_trials/OriginTrials.h"
|
| #include "platform/network/HTTPParsers.h"
|
| #include "platform/weborigin/KURL.h"
|
|
|
| @@ -42,6 +43,8 @@ void HttpEquiv::process(Document& document, const AtomicString& equiv, const Ato
|
| document.contentSecurityPolicy()->reportMetaOutsideHead(content);
|
| } else if (equalIgnoringCase(equiv, "suborigin")) {
|
| document.addConsoleMessage(ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, "Error with Suborigin header: Suborigin header with value '" + content + "' was delivered via a <meta> element and not an HTTP header, which is disallowed. The Suborigin has been ignored."));
|
| + } else if (equalIgnoringCase(equiv, "origin-trial")) {
|
| + OriginTrials::from(&document)->addToken(content.getString());
|
| }
|
| }
|
|
|
|
|