<!DOCTYPE html>
<meta charset="utf-8">
<title>
Test that trial is enabled by third-party token, injected via a nested classic script with a workaround
for the appendChild function being overridden, with all the related builtin functions overridden
</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/origintrials.js"></script>
<script src="resources/override-builtins.php"></script>
<script src="resources/inject-third-party-token-nested-override-builtins-workaround.js"></script>
<script>
// Run tests on load, to allow for nested script to be processed.
window.onload = function () {
// The trial is enabled, by the third party token added in
// inject-third-party-token-nested.js, which is an external script, served
// from a different origin.
expect_success_third_party();
}
</script>