We were missing this spec step, which meant that the created document had no origin, causing a crash when accessed for same-origin checks.