11cb0ef41Sopenharmony_ci<!DOCTYPE html> 21cb0ef41Sopenharmony_ci<title>Incumbent page used as a test helper</title> 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ci<iframe src="//{{domains[www1]}}:{{location[port]}}/FileAPI/support/document-domain-setter.sub.html" id="c"></iframe> 51cb0ef41Sopenharmony_ci<iframe src="//{{domains[www2]}}:{{location[port]}}/FileAPI/support/document-domain-setter.sub.html" id="r"></iframe> 61cb0ef41Sopenharmony_ci<iframe src="//{{domains[élève]}}:{{location[port]}}/FileAPI/support/document-domain-setter.sub.html" id="bs"></iframe> 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ci<script> 91cb0ef41Sopenharmony_ci"use strict"; 101cb0ef41Sopenharmony_cidocument.domain = "{{host}}"; 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ciwindow.createBlobURL = () => { 131cb0ef41Sopenharmony_ci const current = document.querySelector("#c").contentWindow; 141cb0ef41Sopenharmony_ci const relevant = document.querySelector("#r").contentWindow; 151cb0ef41Sopenharmony_ci const blobSource = document.querySelector("#bs").contentWindow; 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ci const blob = new blobSource.Blob(["Test Blob"]); 181cb0ef41Sopenharmony_ci 191cb0ef41Sopenharmony_ci return current.URL.createObjectURL.call(relevant, blob); 201cb0ef41Sopenharmony_ci}; 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ci</script> 23