mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Fix old bug in the test runner's test server.
I apparently broke this four years ago (in https://codereview.chromium.org/2919573003) and never realized. Caught it today because of a lint warning. Change-Id: I00d71ccde581e685620800b603b0ffb9e8e3a1b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192951 Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Devon Carew <devoncarew@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
parent
fdb6ca6d01
commit
2a966bcf6b
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class TestingServers {
|
|||
]) {
|
||||
response.headers.set(header, content_header_value);
|
||||
}
|
||||
if (const ["safari"].contains(runtime)) {
|
||||
if (runtime == Runtime.safari) {
|
||||
response.headers.set("X-WebKit-CSP", content_header_value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue