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

541 Коммитов

Автор SHA1 Сообщение Дата
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
Kris Maglione 96dcf0e503 Bug 1558298: Part 10 - Stop loading MozillaLogger.js from SpecialPowers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34599

--HG--
rename : testing/specialpowers/content/MozillaLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
extra : rebase_source : faf8bb7eb865cb238ca5c62b2d78dc63e9b36e6f
extra : source : fddf2808fedf7ca16097af3b5c7c46ed44fc2053
2019-06-11 11:37:52 -07:00
Kris Maglione 039c651ec8 Bug 1558298: Part 9 - Make MozillaLogger.js less insane. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34598

--HG--
extra : rebase_source : 5bf7df03478b0f17c5ae92609c1f02aa1eada87b
extra : source : 0f6b382f06261055566d91b84866a51a80e474bd
2019-06-11 11:28:47 -07:00
Kris Maglione 1d4933e5a0 Bug 1558298: Part 8 - Convert SpecialPowersObserverAPI and sub-classes to ES6 classes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34597

--HG--
extra : rebase_source : 910b873b0a1e0437e9f29462fdf14bec9a980219
extra : source : 6ccaa25367f28c27c27746593db3bd5cfaed5f57
2019-06-10 15:42:36 -07:00
Kris Maglione 8c450e07f4 Bug 1558298: Part 7 - Convert SpecialPowersAPI and sub-classes to ES6 classes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34596

--HG--
extra : rebase_source : f3e6c2dfad4073f8607e3b93d69fe06db0a1cc0d
extra : source : d27574cfbb0ed580612d7f468f804aa7819fed21
2019-06-10 15:15:37 -07:00
Kris Maglione cb781b9e5b Bug 1558298: Part 4 - Cleanup some cruft in SpecialPowersObserver.jsm. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34593

--HG--
extra : rebase_source : d2512238ef51638b450a067e5e5919074fd77e8e
extra : source : fb67ac962bc5bcaaed595f4232b33497f2b38bf7
2019-06-10 14:04:27 -07:00
Kris Maglione 573bb7a368 Bug 1558298: Part 3 - Always load specialpowers.js as a JSM. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34592

--HG--
rename : testing/specialpowers/content/specialpowers.js => testing/specialpowers/content/SpecialPowers.jsm
extra : rebase_source : 4816d20b49de84e082d506818ce222bba64f017d
extra : source : c634099abb9dc0196877e626c0df0c168d78876f
2019-06-10 13:31:19 -07:00
Kris Maglione 78818013b7 Bug 1558298: Part 2 - Always load specialpowersAPI.js as a JSM. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34591

--HG--
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/SpecialPowersAPI.jsm
extra : rebase_source : 58842419c5fd5fa0ac79c3f8d175c11982076df5
extra : source : 8d4419c439e1d92209f237e0d9f1e6c19fa71872
2019-06-10 13:12:00 -07:00
Kris Maglione 57cb7c4b30 Bug 1558298: Part 1 - Move SpecialPowers wrapping code to separate module. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D34590

--HG--
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/WrapPrivileged.jsm
extra : rebase_source : 02a630b042879652a3ad07c72d1f811bf0ceedbd
extra : source : d8b7ed5e149f4d4724c3999b3b0fed9bfd3f8f96
2019-06-10 12:46:43 -07:00
Kartikaya Gupta aef7a3eaeb Bug 1550467 - Ensure that listeners in chrome scripts are cleaned up. r=botond,jmaher
Apparently leaving these listeners registered can leak DOM windows
(in some circumstances that I don't fully comprehend) which causes
test failures when running on debug builds. At any rate, unregistering
listeners on cleanup seems like a good thing to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:25 +00:00
Andrea Marchesini f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00