Chromium Code Reviews
DescriptionUpdate Cache.put() test to accept string as request
Per spec, the method signature is:
Promise<Response> put((Request or USVString) request, Response response);
So passing a string for request is perfectly valid. And thanks to the
wonders of Web IDL + JavaScript, anything else passed in other than a
Request will be coerced to a string, too.
R=asanka@chromium.org
BUG=374802
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184371
Patch Set 1 #
Total comments: 1
Patch Set 2 : Review nit #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||