blob: 9db2b9552738b21713482f71ab1e557b90cadb7d [file] [log] [blame]
Tests source origin difference for cached resources.
Trying to load sequentially the same image from different origins.
Test 1 PASS: Loaded img http://127.0.0.1:8000/security/resources/abe-allow-star.py?allowCache from localhost:8000 (crossOrigin=anonymous)
Test 2 PASS: Loaded img http://127.0.0.1:8000/security/resources/abe-allow-star.py?allowCache from localhost:8080 (crossOrigin=anonymous)
Test 3 PASS: Loaded img http://127.0.0.1:8000/security/resources/allow-if-origin.py?allowCache&origin=http%3A%2F%2Flocalhost%3A8000&delay=200 from localhost:8000 (crossOrigin=anonymous)
Test 4 PASS: Did not load img http://127.0.0.1:8000/security/resources/allow-if-origin.py?allowCache&origin=http%3A%2F%2Flocalhost%3A8000&delay=200 from localhost:8080 (crossOrigin=anonymous)
Test 5 PASS: Loaded img http://127.0.0.1:8080/security/resources/abe-allow-star.py?allowCache from localhost:8000
Test 6 PASS: Loaded img http://127.0.0.1:8080/security/resources/abe-allow-star.py?allowCache from localhost:8000 (crossOrigin=anonymous)
Test 7 PASS: Loaded img http://127.0.0.1:8080/security/resources/allow-if-origin.py?allowCache&origin=http%3A%2F%2Flocalhost%3A8000&delay=200 from localhost:8080
Test 8 PASS: Did not load img http://127.0.0.1:8080/security/resources/allow-if-origin.py?allowCache&origin=http%3A%2F%2Flocalhost%3A8000&delay=200 from localhost:8080 (crossOrigin=anonymous)