Shane Caraveo
631fa5854e
Bug 1345474 - Check incognito access for content scripts r=rpl
...
Depends on D4100
Differential Revision: https://phabricator.services.mozilla.com/D4109
2018-12-10 21:27:45 +00:00
Luca Greco
a9ea6dcf9f
Bug 1433335 - Send telemetry events for each AddonManager action on an extension. r=aswan
...
- Added definitions for the new telemetry events
- Send telemetry events for each AddonManager action on an extension.
- Ensure that telemetry events are sent also for the extension prompts.
Differential Revision: https://phabricator.services.mozilla.com/D4448
2018-09-19 16:43:11 +00:00
Jonathan Kingston
03ff4a44fb
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
2018-08-29 15:49:12 +01:00
Brindusan Cristian
6c0094d53f
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
dabc469c77
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
2018-08-29 15:49:12 +01:00
arthur.iakab
f36e6bf3d0
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
de100dc554
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
2018-08-29 15:49:12 +01:00
Tiberius Oros
75126ef309
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
2f2c8c2608
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
2018-08-29 15:49:12 +01:00
Andrew Swan
14a56a5eda
Bug 1481918 Allow webextension test wrappers for externally installed extensions r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D3716
2018-08-18 15:09:40 -07:00
Brian Grinstead
f5433e08e0
Bug 1484326 - Load customElements.js even for windowless browsers in xpcshell tests;r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D3660
2018-08-20 16:22:47 +00:00
Kris Maglione
2250619ab1
Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
...
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.
MozReview-Commit-ID: 9PK7bYdQ0yh
2018-08-10 13:58:18 -07:00
Kris Maglione
d9ce0b9f68
Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
...
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.
MozReview-Commit-ID: Jb6CWWW7v3v
2018-08-11 15:27:12 -07:00
Boris Zbarsky
2ffdfa654d
Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D2669
2018-08-03 00:05:07 +00:00
Kris Maglione
ef86c55d33
Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
...
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Brindusan Cristian
541ee9e2fe
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
e93782a71a
Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
...
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Brindusan Cristian
b589b06fd0
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
6d53122aa9
Bug 1471025: Part 8 - Add tests for shared memory preferences. r=njn
...
MozReview-Commit-ID: 8452JoTBHCU
2018-07-03 20:17:15 -07:00
Kris Maglione
23a21c4c2b
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
2018-05-17 16:50:05 -07:00
Kris Maglione
e2dad07746
Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
...
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Kris Maglione
cd8e701606
Bug 1461062: Follow-up: Fix rebase bustage. r=bustage CLOSED TREE
...
MozReview-Commit-ID: 2fjL5eCL2xP
2018-05-16 19:07:01 -07:00
Kris Maglione
fd7e9e6a69
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
2018-04-22 20:55:06 -07:00
Kris Maglione
69af57f5be
Bug 1446833: Follow-up: Fix intermittent Windows file locking xpcshell bustage. r=bustage DONTBUILD
...
MozReview-Commit-ID: LyOmJyKT70K
2018-03-20 14:29:45 -07:00
Kris Maglione
911ddc86d8
Bug 1444758: Part 20 - Remove test_ext_background_generated_url. r=aswan
...
MozReview-Commit-ID: 4e2YuVviLtR
2018-03-12 20:58:01 -07:00
Kris Maglione
bc5e58111d
Bug 1444758: Part 6 - Migrate test_ext_content_security_policy to xpcshell. r=aswan
...
MozReview-Commit-ID: 99ChsuUDAOH
2018-03-11 13:52:18 -07:00
Kris Maglione
81bd3d1a95
Bug 1444680: Part 1b: Add helper for calling fetch() in content context. r=mixedpuppy
...
MozReview-Commit-ID: AiefWoKEh5c
2018-03-10 22:52:16 -08:00
Florian Quèze
f1a55f73f8
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
272cee1e65
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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1
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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
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
fd67f090b2
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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
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
683a97d172
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
2018-01-29 15:20:18 -08:00
Andrew Swan
e53f9296c7
Bug 1426259: Revamp processing of manifest.json for themes r=kmag
...
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Florian Quèze
b7450770d6
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
2008979d83
Bug 1369722 - Disable ESLint browser environment for jsm files. r=mossop
...
MozReview-Commit-ID: IVAyPmTqtCB
2017-11-07 22:59:09 +00:00
Kris Maglione
c8ea1d4273
Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
...
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Kris Maglione
625426b21e
Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
...
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Sebastian Hengst
b5dcb649a0
Backed out changeset 641430a49682 (bug 1402066)
2017-09-26 11:37:44 +02:00
Kris Maglione
fec6f66268
Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
...
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Kris Maglione
157f1a8b84
Bug 1379148: Part 4 - Add tests for document.write() with document_start content script present. r=mixedpuppy
...
MozReview-Commit-ID: 5yxgpur1tvf
2017-09-20 17:01:33 -07:00
Kris Maglione
4b691ae8b4
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
2017-08-24 14:57:18 -07:00
Shane Caraveo
d9e039683b
Bug 1380186 test http redirects to moz-ext protocol, r=kmag
...
MozReview-Commit-ID: Kg8ELe3tV2z
2017-07-27 13:34:54 -07:00
Yoshi Huang
3ec398b43c
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
237ad0f819
Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
...
MozReview-Commit-ID: 7YYO8ldupn3
2017-07-07 18:54:37 -07:00
Sebastian Hengst
ad3b019cbe
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
9e7fbca945
Bug 1357490: Part 1: Run toolkit xpcshell tests in both in-process and OOP modes. r=aswan
...
MozReview-Commit-ID: 7YYO8ldupn3
2017-07-07 18:54:37 -07:00
Matthew Wein
1186674777
Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
...
MozReview-Commit-ID: DE7me6moxG
2017-05-12 15:02:11 -04:00
Florian Quèze
ff53eb9a63
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