- From: Xiaoqian Wu <web-platform-tests-notifications@w3.org>
- Date: Tue, 02 May 2017 15:14:38 GMT
- To: public-web-platform-tests-notifications@w3.org
@igrigorik Sorry my last commit introduced a bug by removing the `async`. @sideshowbarker helped us fix some issues of the origin and gave some suggestions on this PR last Friday, but we had to leave the office in a rush so I didn't have the time to update these files. If commit e8e91b1 makes sense, the current implementations seem to be: - [`TAO = "origin, *"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_multi.htm), expect TAO algorithm to pass, test fails on Chrome (`Timing-Allow-Origin: http://w3c-test.org ` / `Timing-Allow-Origin: * `) and Firefox (`Timing-Allow-Origin: "http://w3c-test.org, *"`); - [`TAO = "null"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_null.htm), expect TAO algorithm to fail, test passes on Chrome (`Timing-Allow-Origin:null`) and Firefox; - [`TAO = "origin"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_origin.htm), expect TAO algorithm to pass, test passes on Firefox (`Timing-Allow-Origin: "http://w3c-test.org"`) and Chrome; - [`TAO = "*"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_wildcard.htm), expect TAO algorithm to pass, test passes on Firefox (`Timing-Allow-Origin: "*"`) and Chrome; - [`TAO = [uppercase of "origin"]`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_origin_uppercase.htm), expect TAO algorithm to fail, test passes on Chrome (`Timing-Allow-Origin:HTTPS://W3C-TEST.ORG`) and Firefox; - [`no TAO header`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_zero.htm), expect TAO algorithm to fail, test passes on Chrome and Firefox; - [`TAO = "origin *"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_space.htm), expect TAO algorithm to fail, test passes on Firefox (`Timing-Allow-Origin: "https://w3c-test.org *"`) but fails on Chrome; - [`TAO = "origin, fake"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_match_origin.htm), expect TAO algorithm to fail, test fails on Firefox (`Timing-Allow-Origin: "https://w3c-test.org, fake"`) and Chrome (`Timing-Allow-Origin:https://w3c-test.org` / `Timing-Allow-Origin:fake`); - [`TAO = "fake, *"`](https://w3c-test.org/submissions/5117/resource-timing/resource_TAO_match_wildcard.htm), expect TAO algorithm to fail, test fails on Firefox (`Timing-Allow-Origin: "*, fake"`) and Chrome (`Timing-Allow-Origin:*` / `Timing-Allow-Origin:fake`); View on GitHub: https://github.com/w3c/web-platform-tests/pull/5117#issuecomment-298665806
Received on Tuesday, 2 May 2017 15:14:51 UTC