Enforce RequestInit enum values
This makes the Fetch API more standards compliant by enforcing the enum values in the RequestInit dictionary, as this is not taken care of by the IDL bindings themselves. This enforces the mode, credentials, cache, and redirect properties of RequestInit. R=yhirano@chromium.org, yoav@yoav.ws Bug: 777116 Change-Id: I8db5fd991b5ffa039dc2f67b4d8f525647fbf915 Reviewed-on: https://chromium-review.googlesource.com/841270 Commit-Queue: Yoav Weiss <yoav@yoav.ws> Reviewed-by:Yoav Weiss <yoav@yoav.ws> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#541515}
Showing
This diff is collapsed.
Please register or sign in to comment