Граф коммитов

551 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer 61c17da3e9 Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49147

--HG--
extra : moz-landing-system : lando
2019-10-22 10:57:43 +00:00
Bogdan Tara e1b6bc2222 Backed out changeset 8705284b50d4 (bug 1584993) for test_report_uri_missing_in_report_only_header.html failures CLOSED TREE 2019-10-22 13:25:49 +03:00
Christoph Kerschbaumer 2d974555d2 Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49147

--HG--
extra : moz-landing-system : lando
2019-10-22 08:53:47 +00:00
Kris Maglione 3dfef17d14 Bug 1587580 - Use the actual source filename and line number for SpecialPowers.spawn callback. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48758

--HG--
extra : moz-landing-system : lando
2019-10-09 21:05:46 +00:00
Neil Deakin ec8b2c4f13 Bug 1573836, make autocomplete component fission compatible, r=mak,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47093

--HG--
rename : toolkit/modules/AutoCompletePopupContent.jsm => toolkit/actors/AutoCompleteChild.jsm
rename : toolkit/components/satchel/AutoCompletePopup.jsm => toolkit/actors/AutoCompleteParent.jsm
extra : moz-landing-system : lando
2019-10-09 19:02:57 +00:00
Nika Layzell 6ac2292c72 Bug 1581925 - Part 2: Use {chrome/content}-document-global-created topic to create SpecialPowers actor, r=kmag
This replaces the old DOMWindowCreated event, and allows SpecialPowers to still
be instantiated for each new chrome document.

Differential Revision: https://phabricator.services.mozilla.com/D47337

--HG--
extra : moz-landing-system : lando
2019-10-07 19:35:06 +00:00
Kris Maglione 147f1b5141 Bug 1586119: Part 2 - Fix some more tests to almost work under Fission. r=mccr8
These still fail or timeout because of missing platform features, but at least
the tests will pass once those platform features are fixed after this.

Differential Revision: https://phabricator.services.mozilla.com/D48221

--HG--
extra : moz-landing-system : lando
2019-10-04 21:50:34 +00:00
Brindusan Cristian 35cc00a25c Backed out 2 changesets (bug 1581925) for devtools failures at browser_toolbox_textbox_context_menu.js. CLOSED TREE
Backed out changeset f79a5830bfef (bug 1581925)
Backed out changeset 2e3b0b1cebea (bug 1581925)
2019-10-02 03:04:43 +03:00
Nika Layzell 5ae1be845f Bug 1581925 - Part 2: Use {chrome/content}-document-global-created topic to create SpecialPowers actor, r=kmag
This replaces the old DOMWindowCreated event, and allows SpecialPowers to still
be instantiated for each new chrome document.

Differential Revision: https://phabricator.services.mozilla.com/D47337

--HG--
extra : moz-landing-system : lando
2019-09-30 19:32:49 +00:00
Mike Conley 8c8031be61 Bug 1580848 - Add ContentTaskUtils to SpecialPowers.spawn execution scope. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45745

--HG--
extra : moz-landing-system : lando
2019-09-13 09:13:06 +00:00
Kris Maglione fb8619c074 Bug 1563578: Make browser_getActor_filter.js Fission-compatible.
Differential Revision: https://phabricator.services.mozilla.com/D36974

--HG--
extra : moz-landing-system : lando
2019-08-22 20:28:36 +00:00
Kris Maglione a7bea0cda2 Bug 1574296: Support assertions in nested SpecialPowers.span calls. r=mccr8
Prior to this patch, assertions in SpecialPowers.spawn callbacks only work
when the caller was in a window with a SimpleTest harness.

This patch fixes that by registering a default assertion handler at the start
of a test, and sending assertions from any task without its own harness to
said default handler.

MANUAL PUSH: Contains complex rename operations that I don't trust Lando to
handle correctly.

Differential Revision: https://phabricator.services.mozilla.com/D42210

--HG--
extra : rebase_source : b0b72ce166647621a50aad0af8f130c0d89e3829
extra : source : 41b6d03a870caa7c4be2146ce8c8d84efdb20e79
2019-08-15 14:21:37 -07:00
Kris Maglione dc9ce953b0 Bug 1561705: Part 5b - Merge SpecialPowersAPIParent.jsm and SpecialPowersParent.jsm. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42182

--HG--
rename : testing/specialpowers/content/SpecialPowersAPIParent.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : ca8c57dee3026febf8120e055ac4c3f76e41cc3c
extra : source : f9d136ac0e61af3b30eae8ad6a59730c2563aae1
2019-08-14 16:41:41 -07:00
Kris Maglione cbe4a6ea57 Bug 1561705: Part 5a - Remove SpecialPowersParent.jsm in preparation for merge with SpecialPowersAPIParent.jsm. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42184

--HG--
extra : rebase_source : 14e911bc6130a6b11e2e75515fc9d1adddae53fe
extra : source : 40a1794e0c0ec4d13533b2343a66448502e2b8b2
2019-08-15 12:55:27 -07:00
Kris Maglione ca3b3d51a6 Bug 1561705: Part 4b - Merge SpecialPowersAPI.jsm and SpecialPowersChild.jsm. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42181

--HG--
rename : testing/specialpowers/content/SpecialPowersAPI.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
extra : rebase_source : 040edb6a48c8972c12ef8ef1f412c407260a78bd
extra : source : dad7319f1f6cf3ebaa3f4f68fb3124492311a017
2019-08-14 16:32:59 -07:00
Kris Maglione 40ad7fbfc9 Bug 1561705: Part 4a - Remove SpecialPowersChild.jsm in preparation for merge with SpecialPowersAPI.jsm. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42183

--HG--
extra : rebase_source : dd3eee64acc4a393a2204b488d87554be2d2e314
extra : source : 7c7d41b7baca9755a3a44f2c35c84b5c2352eb93
2019-08-15 12:54:30 -07:00
Kris Maglione 214bc6110f Bug 1561705: Part 3 - Get rid of remaining ChromePowers.js consumers. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42180

--HG--
extra : rebase_source : 4992d6ec6926e9052c2760765fb2f1a07f4a46d0
extra : source : cbe56a9fce5238a9bfdd0a2d226dc319380490b4
2019-08-14 16:18:32 -07:00
Kris Maglione 467bd404f5 Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42179

--HG--
extra : rebase_source : 319e389d7c38d919b2c5d474aa8417f443f94fb4
extra : source : 080ff558e41aad0cf05ca896c7f98bf4c9a2e7e9
2019-08-14 16:14:02 -07:00
Abdoulaye O. Ly 55e51c578b Bug 1562990 - Remove 'audioMuted' and 'audioVolume' properties from nsIDOMWindowUtils. r=NeilDeakin,alwu,farre
While working on porting the (audio-playback indicators) bug 1562990 to fission, we saw the potential to delete some methods in nsIDOMWindowUtils because they were not used anymore in our codebase except in a couple of tests files. So now, we should only mute/unmute or change the volume in the parent process. As such, interfaces are added in SpecialPowers to change media muted or volume state from content processes.

Differential Revision: https://phabricator.services.mozilla.com/D41782

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Jan Varga aa80f82948 Bug 1570644 - Part 2: Fix a regression caused by bug 1541557 part 7; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42465

--HG--
extra : rebase_source : 6043020519037ae58a4164467c519a1ab7bfc7bc
2019-08-19 10:26:31 +02:00
Matt Woodrow 4257c14c6c Bug 1570147 - Add SpecialPowers API for calling drawSnapshot in the parent and returning the results. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41826

--HG--
extra : moz-landing-system : lando
2019-08-16 03:12:52 +00:00
Kris Maglione 560795ea18 Bug 1574221: Hack around tests that sometimes try to snapshot 0 width/height rects. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42166

--HG--
extra : moz-landing-system : lando
2019-08-15 21:34:29 +00:00
Kris Maglione e58c1b171c Bug 1572898: Follow-up: Hack around devtools trying to JSON stringify SpecialPowers. r=bustage,test-only
MANUAL PUSH: Bustage fix.
2019-08-14 14:47:42 -07:00
Kris Maglione e95358021e Bug 1572903: Follow-up: Fix ESLint bustage. r=eslint-fix
MANUAL PUSH: Bustage fix.

--HG--
extra : rebase_source : 8188cf4d5b9e5e2a347efa1025a0456b3166b3b2
2019-08-14 13:12:43 -07:00
Kris Maglione 4e8b1733fe Bug 1573254: Part 1 - Support remote windows in SpecialPowers.snapshotWindow. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41629

--HG--
extra : rebase_source : eb0aab6653f99f65c1a5bb0664a4add1baa7881a
2019-08-12 12:55:06 -07:00
Kris Maglione 9458ec550c Bug 1572903: Part 1 - Handle remote object proxies sanely in isWrapper. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41472

--HG--
extra : rebase_source : b01df7f014e29efe0f36b4342e35c4fb435ba05a
2019-08-09 19:04:58 -07:00
Kris Maglione af88755288 Bug 1572898: Make BrowsingContext tests almost Fission compatible. r=mccr8
The tests currently rely on being able to create new frames in and new windows
from cross-origin iframes, which clearly won't work under Fission. This patch
changes that logic, but leaves the tests skipped since they also rely on
cross-origin window.postMessage, which doesn't work yet.

Differential Revision: https://phabricator.services.mozilla.com/D41471

--HG--
extra : rebase_source : ab7cf98bcd57d81018feaee46d018c85e3e4bfa3
2019-08-09 18:26:10 -07:00
Kris Maglione e0f52079d4 Bug 1572895 - Update some XPConnect mochitests to work under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41469

--HG--
extra : rebase_source : 7a0f5bc5ff17b3c7a0fd1b72239546b894089983
2019-08-09 17:44:48 -07:00
Jared Wein 1ea3e8b520 Bug 1571567 - Fix no-fallthrough errors in /testing. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40879

--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:52 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein ad56b12bc8 Bug 1571567 - Fix no-fallthrough errors in /testing. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40879

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:52 +00:00
Simon Giesecke 1687faeee5 Bug 1093064 - Increase number of GC iterations r=ttung,janv
Differential Revision: https://phabricator.services.mozilla.com/D40183

--HG--
extra : moz-landing-system : lando
2019-08-08 07:55:18 +00:00
Masayuki Nakano ffbb14909f Bug 1560032 - part 1: Make `TextEditor` for password allow to copy password when selected range is in unmasked range r=m_kato
It does not make sense to copy masked password with mask characters.
Therefore, we should allow users to copy/cut in password fields only when
selected range is in unmasked range.

Note that for web-compat, copy/cut are always enabled in HTML/XHTML document
in content.  Therefore this patch changes the behavior only in chrome's
password fields.

Additionally, only the test uses `nsIEditor.canDelete()`.  Therefore, this
removes it and make the test use `nsIDocShell.isCommandEnabled()` instead.
Unfortunately, `nsIEditor.canCopy()` and `nsIEditor.canCut()` are used by
BlueGriffon, therefore, we cannot get rid of them for now.

Differential Revision: https://phabricator.services.mozilla.com/D38999

--HG--
rename : editor/libeditor/tests/test_bug1067255.html => editor/libeditor/tests/test_cut_copy_delete_command_enabled.html
extra : moz-landing-system : lando
2019-07-29 06:21:14 +00:00
Boris Zbarsky 3381384634 Bug 1568279. Remove some unnecessary QIs to nsIDOMChromeWindow. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39066

--HG--
extra : moz-landing-system : lando
2019-07-23 19:08:55 +00:00
Dana Keeler 18e9f3ba80 bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs
As originally implemented, nsISiteSecurityService.removeState allowed direct
access to remove HSTS state. It also provided the implementation for when the
browser encountered an HSTS header with "max-age=0". In bug 775370, it was
updated to store an entry that would override preloaded information when
processing such headers. However, this meant that the semantics of the direct
access API had changed. Preloaded information could be overridden if a user
invoked the "forget about this site" feature. This change fixes the public API
(and renames it to "resetState") so it actually behaves as its consumers expect.

Reviewers: jcj!, KevinJacobs!

Tags: #secure-revision

Bug #: 1564481

Differential Revision: https://phabricator.services.mozilla.com/D38108

--HG--
extra : rebase_source : 8dd5460d3fd3c0ce92746cc83fae220d6e2a83cf
extra : amend_source : 171ebb015e9f9ae775f0caa22e161d41970f3d51
2019-07-11 13:48:28 -07:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof 97787f6eab Bug 1561435 - Fix linting errors for testing/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35963

--HG--
extra : source : 7c8fead01ad5b68b81c2dfe3006eb497abb23f44
extra : intermediate-source : c900487402597c47ee28e088af19b4ad786df50f
2019-06-27 17:27:33 +02:00
Victor Porof 2b036e45c5 Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35962

--HG--
extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
2019-07-05 11:01:24 +02:00
Kris Maglione 73f672857a Bug 1561122: Cleanup SpecialPowers.loadExtension after JSWindowActor migration. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D35731

--HG--
extra : rebase_source : e35222a7dc0c2c906ac2ea35186a9dac99b5d5b9
extra : source : 43211ebfe7384909dd95cb44196eea4359156d2a
2019-06-24 16:48:51 -07:00
Kris Maglione 3c304b4239 Bug 1561150: Support test assertions in SpecialPowers.spawn sandboxes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35747

--HG--
extra : rebase_source : 62aa469b15c2ebfb0de299c163b26ed68361ee1e
extra : source : 0b3e2164f1283b639782b41b7fd640986d3feca5
2019-06-24 19:25:33 -07:00
Kris Maglione b459f53a11 Bug 1561061: Move SpecialPowers pref env code to parent and make sane-ish. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D35706

--HG--
extra : rebase_source : ec33af8c17048c3828d4ca4643e2e17bd2a854c0
extra : source : c2d0956f41d82e76c682f829807e818863cd802a
2019-06-24 13:47:53 -07:00
Kris Maglione c98e734fe6 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
2019-06-19 13:07:14 -07:00
Kris Maglione 7b24e2e254 Bug 1532795: Part 2 - Implement basic SpecialPowers.spawn as a replacement for ContentTask. r=nika
With out-of-process iframes, we'll need similar functionality to the
ContentTask helpers that can be used in any process, with any type of frame.

Using ContentTask directly in unprivileged contexts will, I think, be a bit
too combersome given how often it's needed, so this patch adds an API directly
to SpecialPowers instead.

The environment provided to the task is currently pretty basic, and doesn't
provide the assertion helpers currently available to ContentTask tasks, but it
can grow as we find it necessary.

Differential Revision: https://phabricator.services.mozilla.com/D35058

--HG--
extra : rebase_source : baecc56b24c7366d276dad59e7b8f6e087b26ece
extra : source : 8a3d311c7fac75b5902f2fa9dc651137a499fc18
2019-06-18 16:21:49 -07:00
Kris Maglione fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Kris Maglione 0f5c62c855 Bug 1541557: Part 6 - Read scripts for loadChromeScript in child process rather than parent. r=nika
`loadChromeScript` is often called with http: URLs pointing to mochitest
resources, which need to be read synchronously before they can be executed.
Unfortunately, while the API for this pretends to be synchronous, it really
spins the event loop underneath.

When we attempt to use it in the parent, that means that we spin the event
loop and process messages from the child before the script has been executed.
And since those messages often contain messages intended for the chrome
script, that causes problems.

When the chrome script APIs use sync messaging, this doesn't matter much,
since the `loadChromeScript` call blocks the caller until the message handler
in the parent returns. When it uses async messaging, though, we have no such
luck, and the messages intended for the script get sent to the parent
immediately.


Loading the script contents in the child solves this problem, since it
reliably blocks the child callers until the script contents are ready, and
doesn't give them a chance to try to send messages to the script while it's
still being read.

Differential Revision: https://phabricator.services.mozilla.com/D35056

--HG--
extra : rebase_source : 137a244f2c071977ee633631de05f7fd776e9b88
extra : source : c2697f04d38cf0b01b1f3e227910ab5890926a33
2019-06-13 17:01:10 -07:00
Kris Maglione 3e44c16cf9 Bug 1541557: Part 5 - Update callers of ChromeScript.sendSyncMessage to use sendQuery instead. r=nika
Since JSWindowActors don't have direct access to synchronous messaging,
ChromeScript callers are going to need to migrate to asynchronous messaging
and queries instead.

Since there's no comparable API to sendQuery for frame message managers, this
patch adds a stub that uses synchronous messaging, but makes the API appear
asynchronous, and migrates callers to use it instead of direct synchronous
messaging. This will be replaced with a true synchronous API in the actor
migration.

Fortunately, most of the time, this actually leads to simpler code. The
`sendQuery` API doesn't have the odd return value semantics of
`sendSyncMessage`, and can usually just be used as a drop-in replacement. Many
of the `sendSyncMessage` callers don't actually use the result, and can just
be changed to `sendAsyncMessage`. And many of the existing async messaging
users can be changed to just use `sendQuery` rather than sending messages and
adding response listeners.

However, the APZ code is an exception. It relies on intricate properties of
the event loop, and doesn't have an easy way to slot in promise handlers, so I
migrated it to using sync messaging via process message managers instead.

Differential Revision: https://phabricator.services.mozilla.com/D35055

--HG--
extra : rebase_source : d5707e87f293a831a5cf2e0b0a7e977090267f78
extra : source : 75ebd6fce136ab3bd0e591c2b8b2d06d3b5bf923
2019-06-12 12:40:51 -07:00
Kris Maglione f70e67ad2d Bug 1541557: Part 4 - Stop relying on synchronous preference getters/setters. r=nika
The SpecialPowers set*Pref/get*Pref APIs currently use synchronous messaging
to set and get preference values from the parent process. Aside from directly
affecting callers of those APIs, it also affects callers of `pushPrefEnv`,
which is meant to be asynchronous, but is in practice usually synchronous due
to the synchronous messaging it uses.

This patch updates the getPref APIs to use the in-process preference service
(which most callers are expecting anyway), and also updates the callers of
the setPref and pushPrefEnv APIs to await the result if they're relying on it
taking effect immediately.

Unfortunately, there are some corner cases in tests that appear to only work
because of the quirks of the current sync messaging approach. The synchronous
setPref APIs, for instance, trigger preference changes in the parent
instantly, but don't update the values in the child until we've returned to
the event loop and had a chance to process the notifications from the parent.
The differnce in timing leads some tests to fail in strange ways, which this
patch works around by just adding timeouts.

There should be follow-ups for test owners to fix the flakiness.

Differential Revision: https://phabricator.services.mozilla.com/D35054

--HG--
extra : rebase_source : 941298157e7c82f420cf50ce057154ce9b85301c
extra : source : 189dc8a359815e059a4a217f788d183260bb2bfe
2019-06-13 09:34:39 -07:00
Kris Maglione fcb799ab11 Bug 1541557: Part 3 - Update callers of sync SpecialPowers functions to await the return value. r=nika
When we migrate SpecialPowers to a JSWindowActor, it will no longer be able to
use synchronous IPC messaging, which means that its current synchronous APIs
will have to become asynchronous.

This patch doesn't change the behavior of those functions, but it does change
their callers to `await` their return values rather than using them directly.
This pattern will work the same whether the functions return a promise or a
plain value, which simplifies the migration.

Differential Revision: https://phabricator.services.mozilla.com/D35053

--HG--
extra : rebase_source : baffba2107b175250573baae3f54d48becbd2a16
extra : source : b4ed40bea2698802ef562a0931c0b560737fb89d
2019-06-12 11:41:32 -07:00
Kris Maglione 03f896d165 Bug 1558298: Part 12 - Remove nested OOP support from SpecialPowers and mochitest.
Differential Revision: https://phabricator.services.mozilla.com/D34752

--HG--
extra : rebase_source : be87709c5ed8bc347735ca4b725a7ae849641693
extra : source : d2ee912c518913c33e4c63b5a5eddf6e10b0c9f4
2019-06-12 10:52:47 -07:00
Kris Maglione ef727f0df0 Bug 1558298: Part 11 - Load SpecialPowersObserverAPI as a JSM.
Differential Revision: https://phabricator.services.mozilla.com/D34751

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.jsm
extra : rebase_source : 98f7d26b513c4cfcdc5ef835856dec1f99ffed54
extra : source : 7a0aab00327b089c82476bea30ea17373e0a1103
2019-06-12 09:52:12 -07:00