Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Sebastian Hengst
9ece29fd9b
Merge mozilla-central to autoland. CLOSED TREE
2019-01-29 12:59:48 +02:00
Tom Tung
d5176edded
Bug 1504535 - P4 - A test for verifing idb initialization won't be blocked by unexpected directories; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D16820
--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:47 +00:00
Tom Tung
ac4e4fc7d6
Bug 1504535 - P2 - A test for verifying the functionality of the marker file; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D16447
--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:47 +00:00
vinoth
cc6d429241
Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D14054
--HG--
extra : moz-landing-system : lando
2019-01-24 09:06:07 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Margareta Eliza Balazs
0ba2ee586d
Backed out changeset 92c56dcf69b8 (bug 1512949) for mochitest failures setup | Login to delete is defined: login0 - false == true - got false, expected true (operator ==) CLOSED TREE
2019-01-18 14:19:05 +02:00
vinoth
5d09ad138e
Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D14054
--HG--
extra : moz-landing-system : lando
2019-01-15 13:11:19 +00:00
Tom Tung
222f8c6163
Bug 1498183 - Supporting async/await for mochitest and xpcshell test in indexedDB; r=asuth
...
This patch mainly uses add_task while running async/await scripts. To support that in workers, it also changes testHarness logic for worker from "yield" to promise.
Differential Revision: https://phabricator.services.mozilla.com/D15714
--HG--
extra : moz-landing-system : lando
2019-01-17 15:05:21 +00:00
Cosmin Sabou
a412ad718f
Bug 1311590 - Disable dom/indexedDB/test/test_third_party.html on Android debug for frequent failures. r=jmaher
2018-12-25 14:03:48 +02:00
Mark Banner
0304564ac7
Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D13754
--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia
9e970681f2
Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
...
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner
1abdc8687f
Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D13754
--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Jan Varga
dd758d694a
Bug 1507403
- Add more tests for clone before key evaluation; r=asuth
2018-11-16 11:05:37 +01:00
Noemi Erli
034c2bcb89
Backed out changeset a2246038cb41 (bug 1507403
) for ES Lint failure on test_clone_before_key_evaluation.js
2018-11-15 19:27:28 +02:00
Jan Varga
25fb52da2e
Bug 1507403
- Add more tests for clone before key evaluation; r=asuth
2018-11-15 18:02:18 +01:00
Julian Descottes
78450a7995
Bug 1467712 - Fix leftover calls to ok() with 3 args in ipc and indexedDB;r=test-only
2018-11-01 17:42:48 +01:00
Julian Descottes
079a123093
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:48 +00:00
Csoregi Natalia
faba2c8c15
Backed out 4 changesets (bug 1467712) for multiple failures with: Too many arguments passed to ok. CLOSED TREE
...
Backed out changeset 9ce0ac2b9d71 (bug 1467712)
Backed out changeset 026eb1f6dc6e (bug 1467712)
Backed out changeset 0088a09d869a (bug 1467712)
Backed out changeset 1b19ea76aad6 (bug 1467712)
2018-11-01 15:22:52 +02:00
Julian Descottes
b50a5ba4dc
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:48 +00:00
Ehsan Akhgari
8a4d8f4fa4
Bug 1501978 - Part 2: Remove the browser.contentblocking.enabled pref from the tests that set it to true needlessly r=baku
...
Depends on D10074
Differential Revision: https://phabricator.services.mozilla.com/D10075
--HG--
extra : moz-landing-system : lando
2018-10-30 07:47:56 +00:00
Ehsan Akhgari
43f23459b2
Bug 1501286 - Part 4: Remove the browser.contentblocking.ui.enabled pref from several tests which now set it needlessly r=johannh
...
Depends on D9521
Differential Revision: https://phabricator.services.mozilla.com/D9522
--HG--
extra : moz-landing-system : lando
2018-10-25 16:46:42 +00:00
Dorel Luca
9529a31c66
Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
...
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)
--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
0cc932a863
Bug 1501286 - Part 4: Remove the browser.contentblocking.ui.enabled pref from several tests which now set it needlessly r=johannh
...
Depends on D9521
Differential Revision: https://phabricator.services.mozilla.com/D9522
--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:24 +00:00
Julian Descottes
2fcd6cb020
Bug 1499096 - Update tests using ok() to is();r=Standard8
...
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.
Differential Revision: https://phabricator.services.mozilla.com/D8739
--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Mark Banner
ceaeb93550
Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D8389
--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Diego Pino Garcia
94e966fca7
Bug 1357561 - ConstraintError should mention which constraint is not being satisfied. r=tt
...
The creation of a new index or an object store may trigger a
ConstraintError if any of those elements already exists. Unfortunately,
the information provided by the ConstraintError is not enough to
determine the conditions that triggered the error.
This patch overrides the generic ConstraintError message with more
specific information about the duplicated index or object store.
2018-10-11 13:06:11 +02:00
Gregory Mierzwinski
19ecc0e49a
Bug 1496791 - Disable linux64-jsdcov completely. r=jmaher
...
This patch removes linux64-jsdcov from the available builds on taskcluster along with any hacks used to run it. It also removes any 'coverage' entries that were added to skip tests.
Differential Revision: https://phabricator.services.mozilla.com/D7919
--HG--
extra : moz-landing-system : lando
2018-10-05 21:06:25 +00:00
Ehsan Akhgari
999d070b06
Bug 1494145 - Reland bug 1491061 part 3 again (this time without the browser.contentblocking.rejecttrackers.ui.enabled pref)
2018-09-25 23:27:25 -04:00
Ehsan Akhgari
f62ff8f898
Bug 1493148
- Backout changeset 7a1ee0e4b6d7 (bug 1491061 part 3)
2018-09-21 15:25:16 -04:00
Ehsan Akhgari
8ee6edfff8
Bug 1491061 - Part 3: Update existing tests that require the content blocking prefs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6356
2018-09-20 13:43:05 -04:00
Kris Maglione
1c20e8cbbb
Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D4270
--HG--
extra : rebase_source : 2adadcc8e51a7bce1da02f4bee1333b77bfa9944
extra : histedit_source : 9df920fd186f8c96a5d8b9cbff53ea9529f26ee0
2018-08-24 16:22:40 -07:00
Jonathan Kingston
71dcfa26fc
Bug 1485305 - dom/ Ensure loadURI always passes a triggeringPrincipal() r=Nika
...
Differential Revision: https://phabricator.services.mozilla.com/D4557
--HG--
extra : source : 310e601c80a7d6c76b1ee986a7bfb98786150870
extra : intermediate-source : 43b6b33227f000090d6fb8fc20979a54c814918b
2018-08-29 15:47:29 +01:00
Brindusan Cristian
1db0587c0e
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
b4e3ef054c
Bug 1485305 - dom/ Ensure loadURI always passes a triggeringPrincipal() r=Nika
...
Differential Revision: https://phabricator.services.mozilla.com/D4557
--HG--
extra : source : 546a2e9c719c4162e26ea216148ac0a3ca2ef9ac
2018-08-29 15:47:29 +01:00
arthur.iakab
d2e647e133
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
1008c25689
Bug 1485305 - dom/ Ensure loadURI always passes a triggeringPrincipal() r=Nika
...
Differential Revision: https://phabricator.services.mozilla.com/D4557
--HG--
extra : source : 68ea8072f3c7967ede482e9a087a588a0008df35
2018-08-29 15:47:29 +01:00
Tiberius Oros
3235f6720f
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
c9dd3d1bdb
Bug 1485305 - dom/ Ensure loadURI always passes a triggeringPrincipal() r=Nika
...
Differential Revision: https://phabricator.services.mozilla.com/D4557
--HG--
extra : source : b55b6968de5a1c12e459a4e07a69ca5f46e5b1a1
2018-08-29 15:47:29 +01:00
Gabriele Svelto
b605bebd6a
Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D4933
--HG--
extra : moz-landing-system : lando
2018-09-13 06:40:51 +00:00
Mark Banner
c6885f5391
Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop
...
This removes a number of references to rules that are now deprecated or removed from ESLint.
- no-native-reassign is replaced with no-global-assign
- no-spaced-func is replaced with func-call-spacing (where enabled)
Depends on D4944
Differential Revision: https://phabricator.services.mozilla.com/D4946
--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:43 +00:00
Dave Townsend
e1f6637191
Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
...
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.
Differential Revision: https://phabricator.services.mozilla.com/D4680
--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
2018-08-29 16:12:55 -07:00
Tom Tung
5b3f5f96b1
Bug 1482812: Patch for turning on the origin parser check on both beta and release. r=janv
...
This patch, basically, turns the check. To avoid checking the same direcotries
multiple time, it creates a member hashtable |mValidOrigins| in QuotaManager and
use it in EnsureOriginDirectory(). Since it needs to use the member hashtable,
this patch also moves EnsureOriginDirectory() to become a QuotaManager member
function.
--HG--
extra : rebase_source : 170f749b07ca955e1dc41a627d339709381ffcad
2018-08-15 16:59:26 +02:00
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
Luke Wagner
fda4936899
Bug 1469395 - Remove support for storing WebAssembly.Modules in IDB (r=lth,janv,Ms2ger)
...
--HG--
extra : rebase_source : 12926772e15c8a46d25e7c3927754d25fcdbed87
2018-08-08 12:13:16 -05: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
Mark Banner
b30ac6aacd
Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
...
Depends on D1643
MozReview-Commit-ID: 84M50HDg0wl
Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00