From c98e734fe6ce3f109a9be52b2f3c2b09801e653a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 19 Jun 2019 13:07:14 -0700 Subject: [PATCH] Bug 1532795: Part 5 - Support SpecialPowers.spawn on WindowProxy objects. r=nika Differential Revision: https://phabricator.services.mozilla.com/D35378 --HG-- extra : rebase_source : c69b88bd7142f70612c05e56e1a0d690b464ff99 extra : source : d5415970da5fd83eb870b397b8db7fdf6c57ad23 --- .../test_SpecialPowersSpawn.html | 28 ++++++++++++++++++- .../content/SpecialPowersAPI.jsm | 26 +++++++++++------ 2 files changed, 45 insertions(+), 9 deletions(-) diff --git a/testing/mochitest/tests/Harness_sanity/test_SpecialPowersSpawn.html b/testing/mochitest/tests/Harness_sanity/test_SpecialPowersSpawn.html index f1398ec9f4d4..11ac354a59d0 100644 --- a/testing/mochitest/tests/Harness_sanity/test_SpecialPowersSpawn.html +++ b/testing/mochitest/tests/Harness_sanity/test_SpecialPowersSpawn.html @@ -9,6 +9,8 @@ +World. + diff --git a/testing/specialpowers/content/SpecialPowersAPI.jsm b/testing/specialpowers/content/SpecialPowersAPI.jsm index 81278636f7ca..acffd055f72e 100644 --- a/testing/specialpowers/content/SpecialPowersAPI.jsm +++ b/testing/specialpowers/content/SpecialPowersAPI.jsm @@ -1448,18 +1448,19 @@ class SpecialPowersAPI extends JSWindowActorChild { * passed will be copied via structured clone, as will its return * value. * - * @param {FrameLoaderOwner} frame - * The frame in which to run the task. This may be any element - * which implements the FrameLoaderOwner nterface, including - * HTML