mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e842fd75ac
Previously, the default value of `MockRequest#credentials` (used in testing) was set to `omit`. This was different than the default value used in browsers, which is `same-origin` (see [Request docs on MDN][1]) and could lead to incorrect test results. This commit changes the default value for `credentials` to `same-origin` to match what would happen in the browser. [1]: https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials PR Close #47260
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT