Skip to content
Permalink
Browse files
Add preliminary support for fetch event
https://bugs.webkit.org/show_bug.cgi?id=178171

Unreviewed.

Patch by Youenn Fablet <youenn@apple.com> on 2017-10-17

* workers/service/FetchEvent.cpp:
(WebCore::FetchEvent::promiseIsSettled): build fix by removing unnecessary captured this at the moment.

Canonical link: https://commits.webkit.org/194638@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed Oct 17, 2017
1 parent 5970901 commit e42f57c576a198b5210d1429fba99e075fde99a3
Showing with 11 additions and 1 deletion.
  1. +10 −0 Source/WebCore/ChangeLog
  2. +1 −1 Source/WebCore/workers/service/FetchEvent.cpp
@@ -1,3 +1,13 @@
2017-10-17 Youenn Fablet <youenn@apple.com>

Add preliminary support for fetch event
https://bugs.webkit.org/show_bug.cgi?id=178171

Unreviewed.

* workers/service/FetchEvent.cpp:
(WebCore::FetchEvent::promiseIsSettled): build fix by removing unnecessary captured this at the moment.

2017-10-17 Myles C. Maxfield <mmaxfield@apple.com>

[CSS Font Loading] Fonts are erroneously invisible when the policy says they should be visible
@@ -133,7 +133,7 @@ void FetchEvent::promiseIsSettled()
}

auto body = m_response->consumeBody();
WTF::switchOn(body, [this] (Ref<FormData>&) {
WTF::switchOn(body, [] (Ref<FormData>&) {
// FIXME: Support FormData response bodies.
}, [this] (Ref<SharedBuffer>& buffer) {
m_responseBody = WTFMove(buffer);

0 comments on commit e42f57c

Please sign in to comment.