| Index: third_party/WebKit/Source/core/page/EventSource.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/EventSource.cpp b/third_party/WebKit/Source/core/page/EventSource.cpp
|
| index 6f5f3f83bd1b13d13b89cfca00b8f18deba3fca7..cf342912299860176b78f57bbbe48a15d5e8b425 100644
|
| --- a/third_party/WebKit/Source/core/page/EventSource.cpp
|
| +++ b/third_party/WebKit/Source/core/page/EventSource.cpp
|
| @@ -121,6 +121,7 @@ void EventSource::connect()
|
| request.setHTTPHeaderField(HTTPNames::Accept, "text/event-stream");
|
| request.setHTTPHeaderField(HTTPNames::Cache_Control, "no-cache");
|
| request.setRequestContext(WebURLRequest::RequestContextEventSource);
|
| + request.setExternalRequestStateFromRequestorAddressSpace(executionContext.securityContext().addressSpace());
|
| if (m_parser && !m_parser->lastEventId().isEmpty()) {
|
| // HTTP headers are Latin-1 byte strings, but the Last-Event-ID header is encoded as UTF-8.
|
| // TODO(davidben): This should be captured in the type of setHTTPHeaderField's arguments.
|
|
|