| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="/js-test-resources/js-test.js"></script> | |
| <script src="resources/make-domains-prevalent.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| description("Tests that a third-party script does not count as a prevalent domain script when ITP doesn't classify the site that it came from as prevalent."); | |
| jsTestIsAsync = true; | |
| makeDomainsPrevalent("http://127.0.0.1:8000").then(() => loadScriptFromOtherSite("is-prevalent-domain-script-on-stack.js")).then(() => { | |
| shouldBeFalse("resultFromScript"); | |
| finishJSTest(); | |
| }); | |
| </script> | |
| </body> | |
| </html> |