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

562 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth b724f12298 Bug 1599304: Make SpecialPowers.Focus check for availability of this.manager.rootFrameLoader before dereferencing it. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D54648

--HG--
extra : moz-landing-system : lando
2019-11-26 22:31:20 +00:00
Gabriele Svelto 9283d5f034 Bug 1598258 - Add a list of additional minidumps to the event delivered when a plug-in crashes r=froydnj
This patch adds a new field to the `plugin-crashed` event that holds the list
of additional minidumps associated with a crash report. The test
infrastructure is modified to use it which also fixes a race when processing
the .extra file. The reftest machinery has also been modified to take the new
field into account.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 07:30:23 +00:00
Gabriele Svelto 3233e4e9ef Bug 1598005 - Remove the useless browserDumpID field from the plug-in crash events r=froydnj,baku
Differential Revision: https://phabricator.services.mozilla.com/D53977

--HG--
extra : moz-landing-system : lando
2019-11-21 12:29:58 +00:00
Razvan Maries b90bde90fc Backed out changeset 1603f5abc56e (bug 1420363) for perma fails on test_busy_hang.xul. CLOSED TREE
--HG--
extra : rebase_source : 02c0d2f9f92f0a01ef57e4f9b38a008f6bc0eb50
2019-11-16 13:00:43 +02:00
Gabriele Svelto fb2b45f492 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

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

--HG--
extra : moz-landing-system : lando
2019-11-16 08:29:07 +00:00
Christoph Kerschbaumer e8e2dc31b7 Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-31 08:28:35 +00:00
Razvan Maries dc147d06b0 Backed out changeset 5f185a11889b (bug 1584998) for perma fails on browser_bug593387.js. CLOSED TREE 2019-10-30 23:26:01 +02:00
Christoph Kerschbaumer 36376205fb Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-30 17:54:36 +00:00
Daniel Varga 617d42c7ed Backed out changeset ac8f6632f7e0 (bug 1584998) on request by dev. On a CLOSED TREE 2019-10-30 19:33:29 +02:00
Christoph Kerschbaumer 9c55479432 Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
Differential Revision: https://phabricator.services.mozilla.com/D50588

--HG--
extra : moz-landing-system : lando
2019-10-30 14:47:19 +00:00
Rob Wu 20949d82c8 Bug 1591102 - Let SpecialPowers.pushPermissions wait until the permissions have been applied r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D50486

--HG--
extra : moz-landing-system : lando
2019-10-25 03:25:39 +00:00
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