Commit graph

55 commits

Author SHA1 Message Date
Boris Zbarsky
357b6b1348 Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D2669

--HG--
extra : moz-landing-system : lando
2018-08-03 00:05:07 +00:00
Kris Maglione
041ceee442 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU

--HG--
extra : intermediate-source : 200bec7e766a7937e71a4805083fb71e16c5e111
extra : absorb_source : 6d765b55cc120d8cb4aa842a4e1a3a1b33cfe2ba
extra : source : 398ccedc20dc1c3f29332dd5a4791b9ab96eb547
extra : histedit_source : f86dc1d1fdc4341799157ca8051fa0fd3dd3b975
2018-07-03 20:17:15 -07:00
Brindusan Cristian
fe91a8922e Backed out 13 changesets (bug 1471025) for reftest failures on variation-format-hint-1a.html; bc failures performance/browser_preferences_usage.js; wpt failures on format-specifiers-variations.html. CLOSED TREE
Backed out changeset 6b672d70f335 (bug 1471025)
Backed out changeset 200bec7e766a (bug 1471025)
Backed out changeset 6c72dc1bff88 (bug 1471025)
Backed out changeset 7f4cc96fae12 (bug 1471025)
Backed out changeset b4f9178f132d (bug 1471025)
Backed out changeset 8eff817d2f7e (bug 1471025)
Backed out changeset f9362cf1add4 (bug 1471025)
Backed out changeset ce379eaab179 (bug 1471025)
Backed out changeset 7c03b7dd00e9 (bug 1471025)
Backed out changeset ff41551f5ff1 (bug 1471025)
Backed out changeset 46a6f9d0773b (bug 1471025)
Backed out changeset 434106f1b75e (bug 1471025)
Backed out changeset c490838c8329 (bug 1471025)
2018-07-14 01:16:06 +03:00
Kris Maglione
96d75a387b Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU

--HG--
extra : source : 398ccedc20dc1c3f29332dd5a4791b9ab96eb547
extra : histedit_source : 99d4dc8fa03488b791fdbcc4104396255cf84960
2018-07-03 20:17:15 -07:00
Brindusan Cristian
a68383b333 Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE
Backed out changeset 398ccedc20dc (bug 1471025)
Backed out changeset 599895de063e (bug 1471025)
Backed out changeset dc7ec17179d1 (bug 1471025)
Backed out changeset 5051f15fc200 (bug 1471025)
Backed out changeset faef4df47b20 (bug 1471025)
Backed out changeset d344247b8706 (bug 1471025)
Backed out changeset 83d98ea5ebac (bug 1471025)
Backed out changeset 38f690f30e78 (bug 1471025)
Backed out changeset 4b7a8a35ed95 (bug 1471025)
Backed out changeset e3bbc87b71af (bug 1471025)
Backed out changeset 68bb03c63b3c (bug 1471025)
Backed out changeset 4a8fbb472c91 (bug 1471025)
2018-07-13 22:11:24 +03:00
Kris Maglione
0fb080d242 Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
MozReview-Commit-ID: 8452JoTBHCU

--HG--
extra : rebase_source : dadc22ef0909102f93f6de3afb99f5b6e65db2f5
extra : absorb_source : 62a77303c36c3af308ee5529d81c637f81449370
2018-07-03 20:17:15 -07:00
Kris Maglione
f6471189bd Bug 1462500: Improve our detection of XPI vs. directory installs. r=aswan
This adds a helper so that we consistently detect install type based on
extension the same way.

In the process, it also simplifies some of the code that tries to detect
modification times for unpacked directories, so that it only checks the
directory mtime. We don't support signatures for unpacked directories anymore,
so this has no purpose outside of developer builds with signing disabled.
Those developers can move to touching the install directory's mtime rather than
the manifest file's.

MozReview-Commit-ID: J5LwaXXqyZL

--HG--
extra : rebase_source : f2fb86159c06bbeba2500e04dcde1c565cd39c12
2018-05-17 16:50:05 -07:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Kris Maglione
166dab340b Bug 1461062: Follow-up: Fix rebase bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: 2fjL5eCL2xP

--HG--
extra : amend_source : 1fef859835028292ca163d840a61077bf05fcc06
2018-05-16 19:07:01 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Kris Maglione
b11f4ad716 Bug 1446833: Follow-up: Fix intermittent Windows file locking xpcshell bustage. r=bustage DONTBUILD
MozReview-Commit-ID: LyOmJyKT70K

--HG--
extra : rebase_source : ab20407f587dc5495b3e4623ae3a0456337dcdfa
extra : amend_source : f61d55a6565531a617a0d9754c8089f0d628c721
2018-03-20 14:29:45 -07:00
Kris Maglione
a203798d5e Bug 1444758: Part 20 - Remove test_ext_background_generated_url. r=aswan
MozReview-Commit-ID: 4e2YuVviLtR

--HG--
extra : rebase_source : 329773d3224e622dda56990444dfee17f57f5fea
2018-03-12 20:58:01 -07:00
Kris Maglione
34744bc1b6 Bug 1444758: Part 6 - Migrate test_ext_content_security_policy to xpcshell. r=aswan
MozReview-Commit-ID: 99ChsuUDAOH

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_content_security_policy.html => toolkit/components/extensions/test/xpcshell/test_ext_content_security_policy.js
extra : rebase_source : e7e8d61a4340ce800a3cabccc927ca9da2b6163b
2018-03-11 13:52:18 -07:00
Kris Maglione
5f350b04b0 Bug 1444680: Part 1b: Add helper for calling fetch() in content context. r=mixedpuppy
MozReview-Commit-ID: AiefWoKEh5c

--HG--
extra : rebase_source : bb0d5b0b51da47194a7059169c623d1333420037
2018-03-10 22:52:16 -08:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Andrew Swan
e66f92191d Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY

--HG--
extra : rebase_source : f742c50f06a358b30f20eabf1cd81713dbfaa86f
2017-12-20 16:06:50 -08:00
Florian Quèze
22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Mark Banner
30935fa314 Bug 1369722 - Disable ESLint browser environment for jsm files. r=mossop
MozReview-Commit-ID: IVAyPmTqtCB

--HG--
extra : rebase_source : 7db82ead3e0ca7fcbf909021c8eafc79f7cd2a9a
2017-11-07 22:59:09 +00:00
Kris Maglione
4a4c4fdfd4 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk

--HG--
extra : rebase_source : 5762bdf08ff6c09c1b29f87366bddb552e4c74b2
extra : amend_source : 922a0c03722bd5a81daace7f0289ec3228191cfb
2017-11-28 14:13:59 -08:00
Kris Maglione
1eb9c4b99b Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19

--HG--
extra : source : 641430a496824e34170786f6f3bc5e587f2056eb
extra : amend_source : e049c437ad8a70766544a3476a584395df7debb3
2017-09-25 21:05:00 -07:00
Sebastian Hengst
c88c2ff44e Backed out changeset 641430a49682 (bug 1402066) 2017-09-26 11:37:44 +02:00
Kris Maglione
ad260d3d24 Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19

--HG--
extra : rebase_source : f9ab74ad8833f5287df8873637be8eb9539e67da
extra : histedit_source : bc86a99a22df05a89d52f305955a490f5de3933d%2Ca1ae6f8c8c53f2f4f48ccd805d7d5ac801b60fea
2017-09-25 21:05:00 -07:00
Kris Maglione
dc5b40508d Bug 1379148: Part 4 - Add tests for document.write() with document_start content script present. r=mixedpuppy
MozReview-Commit-ID: 5yxgpur1tvf

--HG--
extra : rebase_source : c85d0d6c0cb71316957621f25cbea303850208a5
2017-09-20 17:01:33 -07:00
Kris Maglione
54d232094f Bug 1356376: Wait for message manager to disconnect after closing content page. r=aswan
This may or may not fix the intermittent, but hopefully it will.

MozReview-Commit-ID: BR0BtV4BPdq

--HG--
extra : rebase_source : 017933bd5f53e1e3ea6c082e2240519b25168255
2017-08-24 14:57:18 -07:00
Shane Caraveo
02063c6559 Bug 1380186 test http redirects to moz-ext protocol, r=kmag
MozReview-Commit-ID: Kg8ELe3tV2z

--HG--
extra : rebase_source : b4bb1c86016ae551eef001bccf7d866740d43564
2017-07-27 13:34:54 -07:00
Yoshi Huang
d266dea535 Bug 1381769 - fix xpcshell failure when data: URI is unique origin. r=smaug
ExtensionXPCShellUtils.jsm uses a XUL window with data: URI, we replace
it with a XUL file to fix the xpcshell-test failures.
2017-07-19 14:41:24 +08:00
Kris Maglione
c753eb2c73 Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : source : 33f6f0354aded142e7a41d5a6209d0d95c4c7521
extra : intermediate-source : 4ea831e6e7d12420bdc4695fc099c16ad7d09cd5
2017-07-07 18:54:37 -07:00
Sebastian Hengst
7076377b5e Backed out changeset 4ea831e6e7d1 (bug 1357490) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_privacy_update.js on Linux x64 asan. r=backout 2017-07-08 11:31:57 +02:00
Kris Maglione
d58917713b Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 7YYO8ldupn3

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => toolkit/components/extensions/test/xpcshell/head_e10s.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell-remote.ini => toolkit/components/extensions/test/xpcshell/xpcshell-e10s.ini
extra : source : 33f6f0354aded142e7a41d5a6209d0d95c4c7521
extra : intermediate-source : 663351357fa7791bb6d08bf7b470ca5fcdccb77e
extra : histedit_source : b0eeaa1bbcd7e5ef729c5b1c26003a7d1af2af7e%2C0ee5000a87ebb9717ff007608620739e0ae1ee30
2017-07-07 18:54:37 -07:00
Matthew Wein
6aa68e4cef Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: DE7me6moxG

--HG--
extra : rebase_source : dd0b513348cfeea823aac0042a02ffb90299ccc2
2017-05-12 15:02:11 -04:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Carsten "Tomcat" Book
850b8f9b6d Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Matthew Wein
09d1616dc7 Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H

--HG--
extra : rebase_source : 0774a850694d8ea52d7c39872e5ac02f4acec4c5
2017-04-10 16:15:54 -04:00
Kris Maglione
e1feed9d51 Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd

--HG--
rename : toolkit/components/extensions/ExtensionContent.jsm => toolkit/components/extensions/extension-process-script.js
extra : rebase_source : cc473732c152fa2ac47202a8c5634e4a68a30763
extra : absorb_source : 4a9b52534bee64e907e61f3bb229b0ad7849c097
2017-04-14 17:00:51 -07:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Kris Maglione
9c9c3c339a Bug 1344590: Part 1 - Handle extension reloads, upgrades, and manager restarts in xpcshell helpers. r=rhelmer
MozReview-Commit-ID: FJLeYCz26PX

--HG--
extra : rebase_source : 4bf4646138684c8411bebddcd2d09b4d05bc8d7b
2017-03-07 23:41:57 -08:00
Kris Maglione
3d8483182d Bug 1333477: Part 2 - Remove "browser" environment from ESLint settings. r=aswan
MozReview-Commit-ID: LCxI6JVp7Xo

--HG--
extra : rebase_source : d0fc6519f3b6872f76a9df533f3eddf1352c2559
extra : histedit_source : 790c0f2322f2b3a3d35b8bf6d7b3f7b705f33fcd%2Cdae80b78b03f25f165f1fc575667df394a43b572
2017-03-12 14:16:13 -07:00
Kris Maglione
d273437717 Bug 1345620: Disable global history in test browsers. r=trivial
MozReview-Commit-ID: F4frNK6qq8j
2017-03-10 10:39:41 -08:00
Kris Maglione
2ad60b1f3d Bug 1344616: Migrate content script mochitests to xpcshell. r=mixedpuppy
MozReview-Commit-ID: 2ljMgRTIi5r

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_contentscript.html => toolkit/components/extensions/test/xpcshell/test_ext_contentscript.js
rename : toolkit/components/extensions/test/mochitest/test_ext_i18n.html => toolkit/components/extensions/test/xpcshell/test_ext_i18n.js
rename : toolkit/components/extensions/test/mochitest/test_ext_i18n_css.html => toolkit/components/extensions/test/xpcshell/test_ext_i18n_css.js
extra : rebase_source : adfe7c0d88a674076f37a8faf6dedf7400f316f0
2017-03-06 17:15:40 -08:00
Kris Maglione
88c2557115 Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy
MozReview-Commit-ID: 57yhjZxVl90

--HG--
extra : rebase_source : 273a5a0d5410656425b1e7d8570b5d32869a413e
2017-03-06 13:09:40 -08:00
Matthew Wein
5f0528a1ec Bug 1252871 - Add support for runtime.onInstalled r=aswan
MozReview-Commit-ID: 3wDtv0g0BpO

--HG--
extra : rebase_source : c5d50e41e4cf241b2c3d021e8c2283d4251b7118
2016-10-19 10:38:29 +01:00
Tomislav Jovanovic
458e517f19 bug 1268399 - add runtime.getBrowserInfo() method with AppInfo data r=kmag
MozReview-Commit-ID: GvwFG0CyfR7

--HG--
extra : rebase_source : 0dc021313cc14bd145fd92966abd230340b8dca5
2016-09-04 21:22:18 +02:00