[blink-dev] Intent to Extend Origin Trial: fetch() upload streaming

142 views
Skip to first unread message

Yoichi Osato

unread,
Sep 30, 2020, 1:48:26 AM9/30/20
to blink-dev

Contact emails

yoi...@chromium.org

Explainer


https://bit.ly/2SVvKbR

Specification

https://fetch.spec.whatwg.org/#concept-body-stream

Design docs


http://bit.ly/3asqra2

Summary

Fetch upload streaming lets web developers make a fetch with a ReadableStream body. Fetch provides a generic definition of Request and Response objects (and other things involved with network requests).

Blink component

Blink>Network>FetchAPI

TAG review

https://github.com/w3ctag/design-reviews/issues/434

TAG review status

Pending

Risks



Goals for experimentation

We need an origin trial to verify web-compatibility, specifically that we can do chunked uploads over HTTP/1.1 without breaking middleboxes with trial API AllowHTTP1ForStreamingUpload (the additional API design is on-going). That trial and the rough API idea were suggested at https://github.com/whatwg/fetch/issues/966#issuecomment-588065153. Experiment Goals: Measure how far each HTTP protocol (1.0 or earlier, 1.1 and 2.0 or later) work to upload streaming.

Experimental timeline

Extend the experiment to M89.

Reason this experiment is being extended

Because the server side is still preparing and we don't have enough data. The partner gRPC is planning to get the client released by Oct.

Ongoing technical constraints

None.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

Is this feature fully tested by web-platform-tests?

No

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=688906

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5274139738767360

This intent message was generated by Chrome Platform Status.

Chris Harrelson

unread,
Sep 30, 2020, 2:00:55 AM9/30/20
to Yoichi Osato, blink-dev
The original experiment was M84-M85, is that correct? (Please also link to the blink-dev thread for the original experiment).

Does this amount to re-starting the experiment? Or did no experimenting happen the first time around?

On Tue, Sep 29, 2020 at 10:48 PM Yoichi Osato <yoi...@chromium.org> wrote:

Contact emails

yoi...@chromium.org

Explainer


https://bit.ly/2SVvKbR

Specification

https://fetch.spec.whatwg.org/#concept-body-stream

Design docs


http://bit.ly/3asqra2

Summary

Fetch upload streaming lets web developers make a fetch with a ReadableStream body. Fetch provides a generic definition of Request and Response objects (and other things involved with network requests).

Blink component

Blink>Network>FetchAPI

TAG review

https://github.com/w3ctag/design-reviews/issues/434

TAG review status

Pending

Risks


You will need to get Gecko and Webkit positions by following these instructions instead. Extending the experiment will not be blocked on getting them, but shipping will.
 


Goals for experimentation

We need an origin trial to verify web-compatibility, specifically that we can do chunked uploads over HTTP/1.1 without breaking middleboxes with trial API AllowHTTP1ForStreamingUpload (the additional API design is on-going). That trial and the rough API idea were suggested at https://github.com/whatwg/fetch/issues/966#issuecomment-588065153. Experiment Goals: Measure how far each HTTP protocol (1.0 or earlier, 1.1 and 2.0 or later) work to upload streaming.

Experimental timeline

Extend the experiment to M89.

Reason this experiment is being extended

Because the server side is still preparing and we don't have enough data. The partner gRPC is planning to get the client released by Oct.

Ongoing technical constraints

None.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

Is this feature fully tested by web-platform-tests?

No

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=688906

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5274139738767360

This intent message was generated by Chrome Platform Status.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAAEV3pk6uS4Y%2BQQXkGWTOuHNiEfeTn11CR22A6MQ%3DEEFzKW_PQ%40mail.gmail.com.

Yoichi Osato

unread,
Sep 30, 2020, 2:24:53 AM9/30/20
to Chris Harrelson, blink-dev
> The original experiment was M84-M85, is that correct? (Please also link to the blink-dev thread for the original experiment).
I originally planned M84-M85 but since implementation delay, the first OT started from M85, which is due to M87:

> Does this amount to re-starting the experiment? 
I'd like to extend the OT to M89.

> Or did no experimenting happen the first time around?
Because the partner is still preparing, we don't have any data.


2020年9月30日(水) 15:00 Chris Harrelson <chri...@chromium.org>:

Chris Harrelson

unread,
Sep 30, 2020, 10:41:10 PM9/30/20
to Yoichi Osato, blink-dev
LGTM

On Tue, Sep 29, 2020 at 11:24 PM Yoichi Osato <yoi...@chromium.org> wrote:
> The original experiment was M84-M85, is that correct? (Please also link to the blink-dev thread for the original experiment).
I originally planned M84-M85 but since implementation delay, the first OT started from M85, which is due to M87:

I see. In the future please note that any change to timelines requires coming back to blink-dev.

For the benefit of other readers of this thread, here is the original intent to experiment.

Yoichi Osato

unread,
Oct 21, 2020, 7:49:44 PM10/21/20
to blink-dev, Chris Harrelson
I have one more request: enable third-party origin trial option. (see https://web.dev/third-party-origin-trials/ for detail)
3P OT makes it possible for providers of embedded content to try out a new feature across multiple sites.
The partner gRPC really wants to try that.




2020年10月1日(木) 11:41 Chris Harrelson <chri...@chromium.org>:

Yoichi Osato

unread,
Oct 27, 2020, 8:02:22 PM10/27/20
to blink-dev, Chris Harrelson
I need a LGTM again to try the above 3P OT.
Could you take a look?

Regards.

2020年10月22日(木) 8:49 Yoichi Osato <yoi...@chromium.org>:

Chris Harrelson

unread,
Oct 27, 2020, 8:37:07 PM10/27/20
to Yoichi Osato, blink-dev
LGTM
Reply all
Reply to author
Forward
0 new messages