mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:07:57 +00:00
Add withCredentials: true to the SDK request in DDC web compilation
Bug: Change-Id: Ica9e3e9f6160562090a62f584a5c9b2d851edf36 Reviewed-on: https://dart-review.googlesource.com/30628 Reviewed-by: Jacob Richman <jacobr@google.com> Commit-Queue: Alan Knight <alanknight@google.com>
This commit is contained in:
parent
c8ae685d0c
commit
19ac7a0df3
|
@ -100,7 +100,9 @@ class WebCompileCommand extends Command {
|
|||
|
||||
try {
|
||||
sdkRequest = await HttpRequest.request(sdkUrl,
|
||||
responseType: "arraybuffer", mimeType: "application/octet-stream");
|
||||
responseType: "arraybuffer",
|
||||
mimeType: "application/octet-stream",
|
||||
withCredentials: true);
|
||||
} catch (error) {
|
||||
onError('Dart sdk summaries failed to load: $error. url: $sdkUrl');
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue