Jonathan Kingston
2f0987a202
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
...
Summary: Depends on D2046
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
c15f69d427
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
...
Summary: Depends on D2046
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
Andreea Pavel
f5c1119983
Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
...
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston
4ca581ffed
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
...
Summary: Depends on D2046
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : rebase_source : 4bb9e7feb0704239756e6e38623c0fea81669f7b
extra : amend_source : 9417f96547735fbdc55ea23666327a5cb86ac92f
2018-08-06 19:56:37 +03:00
Boris Zbarsky
0e54dc6661
Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins
2018-07-24 19:47:41 -04:00
Alexandre Poirot
565697cebc
Bug 1461970 - Remove html and css files related to gcli. r=jryans
...
MozReview-Commit-ID: CkwBFZq8QVX
--HG--
extra : rebase_source : 10bb6beb47a3afaee8cfba66b33cda83c030aff2
2018-03-21 10:03:22 -07:00
Alexandre Poirot
0047617fdf
Bug 1461970 - Remove gcli tests using helpers.runTestModule (i.e all of them) and cleanup helpers.js from DeveloperToolbar usages. r=jryans
...
MozReview-Commit-ID: YyE7W8jIlv
--HG--
extra : rebase_source : b47ef0ebcd668cd6879c40bec24c0e5ee559bdcc
2018-03-21 09:02:02 -07:00
Alexandre Poirot
531ac516da
Bug 1461970 - Drop all tests using helpers.addTabWithToolbar. r=jryans
...
MozReview-Commit-ID: 4orKFtOOraG
--HG--
extra : rebase_source : 64c8e098699e5b7cbd0c4bd1285aea318451a5cb
2018-03-21 08:56:32 -07:00
Alexandre Poirot
61bd87ac64
Bug 1461970 - Drop gcli tests involving helpers.openToolbar. r=jryans
...
MozReview-Commit-ID: 5ynvWDxxdh2
--HG--
extra : rebase_source : 127e06c94b4a56bf114e13418cc45a4e02d68568
2018-03-21 08:41:47 -07:00
Michael Ratcliffe
764c4c8578
Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
...
Changes and notes:
- Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
contains test helpers to aid in creating and running telemetry tests.
- Removed any telemetry monkeypatching as it is not dependable and no longer
needed (there is some left in GCLI but the test is now disabled because
we are removing GCLI soon anyhow).
- Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
have had to make it available everywhere that shared-head.js is used.
- All telemetry tests have been rewritten to use the new helper.
- shared-head.js cannot be imported by tests inside
`devtools/client/performance/test/` because perf have custom `once` and
`waitFor` implementations that act differently from the ones inside
`shared-head.js`. This means I had to import the telemetry helpers into
`devtools/client/performance/test/head.js`
- Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
others to be thorough).
- Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
test some expired scalars. I also corrected the way the scalars are logged
because it was completely wrong.
MozReview-Commit-ID: JjQEGM6hT61
--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
Kris Maglione
9da74a6674
Bug 1455176: Follow-up: Fix devtools bustage in straggler tests that still use Task global. r=bustage
...
MozReview-Commit-ID: J0ieBBJGZWM
--HG--
extra : rebase_source : ffa1e92e83c38ab5cc970ea8b90b037026e6939e
2018-04-19 16:15:00 -07:00
Ludovic Hirlimann
c2504ec836
Bug 1371346 - Remove unused/dead Presentation API code. r=mconley
...
--HG--
extra : rebase_source : 9591f613d313de368f923c3754d590c670c25fe9
extra : source : 6046b79949c44c5cec26a22490bd695d4cdc7dcb
2018-04-14 13:39:56 -04:00
Kris Maglione
682fa8cd83
Bug 1453881: Part 1b - Manually fix tests that await generators in async functions. r=ochameau
...
MozReview-Commit-ID: 2oetVEj7yF
--HG--
extra : rebase_source : 153055141df20e1f9f88064ff4be788e74408bef
extra : histedit_source : 41fd082a6dd44bba88d1a503de6b2dd8daebd4e4
2018-04-15 00:30:04 -07:00
Kris Maglione
0f40271841
Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
...
This was done using the script at:
bc5629735d/processors/add-task-async.jsm
MozReview-Commit-ID: KxuS9Cen87
--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Alexandre Poirot
9b2fdcf8bb
Bug 1453712 - Use a preference to set the testing flag. r=jryans
...
MozReview-Commit-ID: 1cjSQnXtc4h
--HG--
extra : rebase_source : 55c0c9fa81a8dc17b92cba721dcc5912b07d0fab
2018-04-12 09:22:42 -07:00
Brian Grinstead
86d5c02846
Bug 1304794 - Stop using the old frontend for remaining non-console mochitests r=nchevobbe
...
MozReview-Commit-ID: D9azk5jNzpm
--HG--
extra : rebase_source : c361776292202609c408c25533aeab64428c4a47
2018-04-12 09:29:43 -07:00
J. Ryan Stinnett
6922bab7e8
Bug 1399401 - Escape backslashes in GCLI screenshot test,r=pmoore
2017-12-08 16:43:43 -05:00
Alexandre Poirot
bcf6facc3c
Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
...
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
Brian Grinstead
97119973ca
Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
...
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.
MozReview-Commit-ID: 9ojFxtkpPId
--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Michael Ratcliffe
0d7fac1c23
Bug 1204268
- 'appcache validate' command doesn't work when manifest is in outer directory r=miker
...
MozReview-Commit-ID: Dtl5prPOQTT
--HG--
extra : rebase_source : e35884fe5877f96d8366f3d0023112be959c494b
2018-02-27 12:26:03 +00:00
Alexandre Poirot
e563788ea7
Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
...
MozReview-Commit-ID: 7YyLu5q23Hs
--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Jonathan Kingston
53c9c480b7
Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
...
MozReview-Commit-ID: wYWHkGlV8h
--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Bill McCloskey
9f4d083047
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
89531e8dc3
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Johann Hofmann
2926a6c050
Bug 1374574 - Remove the FlyWeb system add-on from Firefox. r=mconley
...
MozReview-Commit-ID: BWqZIGz5hQx
--HG--
extra : rebase_source : edf0c6585431ac8fdd229a2a09c8b21b797e8a5d
2017-11-22 14:47:49 +01:00
Nicholas Nethercote
f4dd5e2636
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Patrick Brosset
68ff442920
Bug 1409428 - Cast inject urls from URL object to Strings; r=miker
...
MozReview-Commit-ID: GPHRMaJj6Zq
--HG--
extra : rebase_source : 099b371f4f9d7a89bd32f5a16a7d93352a325a8a
2017-10-18 09:49:38 +02:00
Alexandre Poirot
4dd05d6b9e
Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
...
MozReview-Commit-ID: 1kKJrz9iEx0
--HG--
extra : rebase_source : b9135d07a0b9269e3bbd8f92f9ce49c09029055d
2017-09-25 10:15:50 +02:00
Tom Tromey
1a3c53512f
Bug 1388789 - fix invalid format in appcacheutils.properties; r=flod,pbro
...
MozReview-Commit-ID: KvteeshxD9R
--HG--
extra : rebase_source : 7d102b6f5d23d4b60cced5a2b1419525a9ae6393
2017-09-19 09:59:19 -06:00
Ted Campbell
2cc20256df
Bug 1398601 - Fix devtools browser_gcli_async test r=tromey
...
This test has encoding issues that accidently worked before. The
mockCommands.js file was loaded under two different encodings, but
previously the cache would always return the first encoding.
MozReview-Commit-ID: GE9BFy2RkqL
--HG--
extra : rebase_source : 28a7cb0c889a6a17800cb86432c0d3f464b37782
2017-09-13 14:20:28 -04:00
Gabriel Luong
0f5ddea9c1
Bug 1395975 - Merge the 2 commandline.css files. r=pbro
2017-09-01 11:43:29 -04:00
Brian Grinstead
0262e6e6ac
Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
...
MozReview-Commit-ID: 9AYCuqqv1U7
--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Brad Werth
702a7fc542
Bug 1371395 Part 2: Test media emulation of an unsupported type. r=jryans
...
MozReview-Commit-ID: L5tswjbGd97
--HG--
extra : rebase_source : 8b67fb05594c4330ee44c7d39ab2fb47c82a4342
2017-08-04 17:06:27 -07:00
Masatoshi Kimura
b186427ed3
Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
...
MozReview-Commit-ID: 2LFhKNVspko
--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Alexandre Poirot
b6c47816da
Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
...
MozReview-Commit-ID: L6k7SPf8czd
--HG--
extra : rebase_source : 8bece0542a4ad3d3c360745096975efd8906c587
2017-07-20 13:52:57 +02:00
Paolo Amadini
10ee6a5c4e
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Michael Kohler
5829fd38a3
Bug 1354890 - convert uses of 'defer' to 'new Promise' in client/commandline/ r=nchevobbe
...
MozReview-Commit-ID: K3xnbfF8ebx
--HG--
extra : rebase_source : 328e33d3a23c7201b0e0209a4c0d10e6c4dd3d74
2017-05-20 21:26:25 +02:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Florian Queze
4b1556a5f2
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Gregory Szorc
854bc387ee
Bug 1287005 - Normalize line endings in devtools/; r=fitzgen
...
MozReview-Commit-ID: 9Wxx2WUa0Aj
--HG--
extra : rebase_source : 9f1c884dcd1bb037cccfeac7f57eb068e52a9af1
2016-07-14 17:38:50 -07:00
Michael Ratcliffe
faf7c1b49c
Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
...
MozReview-Commit-ID: A2SMdvjy4jp
--HG--
extra : rebase_source : 002e47280d926c913150dd1b1286a7730855a024
2017-04-19 12:44:54 +01:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Michael Ratcliffe
579c548c22
Bug 1347517 - Add telemetry for GCLI commands used r=miker
...
MozReview-Commit-ID: FBBsZeZkPEt
--HG--
extra : rebase_source : ce8068ff1e644fa857357f76801072012cd8bfce
2017-03-15 18:33:52 +01:00