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
arthur.iakab
ec46826255
Merge inbound to mozilla-central. a=merge
2018-09-26 15:54:41 +03: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
Ciure Andrei
7426f19d64
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-09-26 00:51:44 +03:00
Henri Sivonen
3a8d018880
Bug 1487398 - Remove useless use of SetCapacity(). r=froydnj,nwgh
...
Remove various calls to SetCapacity() that fall into various misuse categories:
1) Mistakenly believing that the caller should advice the string about zero
terminator.
2) Cases where a single append does the right computation on its own.
3) Calling SetCapacity() with a constant when the string is self-allocated
and could be an nsAuto[C]StringN and the string doesn't get passed on
in a way that could benefit from a heap-allocated buffer.
4) Calling SetCapacity() before assigning a shared buffer to the string.
5) Calling SetCapacity() before calling a function that will either calls
SetLength() anyway or calls Adopt().
MozReview-Commit-ID: IKjfl5gLmcD
Differential Revision: https://phabricator.services.mozilla.com/D4672
--HG--
extra : moz-landing-system : lando
2018-09-25 15:36:31 +00:00
Ehsan Akhgari
f62ff8f898
Bug 1493148
- Backout changeset 7a1ee0e4b6d7 (bug 1491061 part 3)
2018-09-21 15:25:16 -04:00
Jan Varga
ce04ab03a6
Bug 1492737 - Part 2: Avoid searching the prototype chain when extracting keys; r=asuth
2018-09-25 11:53:49 +02: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
Ehsan Akhgari
fa81a39327
Bug 1491558 - Remove the XPCOM registration for nsThreadPool; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D5943
2018-09-15 12:13:57 -04:00
Noemi Erli
a548d10a8c
Merge inbound to mozilla-central. a=merge
2018-09-14 01:01:37 +03: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
Tom Tung
7211623860
Bug 1379411 - Apply CheckedInt to infoLength for preventing it from overflowing in the future; r=janv
...
CheckedInt propagates the mIsValid in each add operation so that it avoids
having a bunch of code for the overflow check in each add operation.
Furthermore, it avoids mismatching parameters between the computing result and
the additional overflow check. This patch uses it based on advantages described
above.
--HG--
extra : rebase_source : d36e39d5ccdfa206a47b8c75d91553dd260e79dd
2018-09-11 12:39:14 +02:00
Henri Sivonen
0b01108591
Bug 1489098 - Remove useless use of PromiseFlatString. r=peterv
...
MozReview-Commit-ID: 10JE4PRp8i0
Differential Revision: https://phabricator.services.mozilla.com/D5237
--HG--
extra : moz-landing-system : lando
2018-09-11 17:17:05 +00:00
Andrea Marchesini
194f006ba9
Bug 1489844 - Port DOMPrefs to StaticPrefs - part 22 - dom.indexedDB.storageOption.enabled, r=ehsan
2018-09-10 20:36:17 +02:00
Jan de Mooij
cbb67627a3
Bug 722345 part 3 - Remove request API. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D4424
--HG--
extra : rebase_source : 1842588c00dbc8fb4294ce5436cdb787190909b4
2018-08-28 09:53:30 +02:00
Bogdan Tara
ba6cae21b7
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-09-05 02:45:18 +03: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
Luke Wagner
c0aa80a617
Bug 1330661 - Baldr: move Assumptions out of Module (r=lth)
...
--HG--
extra : rebase_source : 7f19de5d639149a89ad07d99c12b6d1121c538e1
2018-09-04 14:23:10 -05: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
Kris Maglione
65c28aa0ad
Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
...
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.
This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.
Differential Revision: https://phabricator.services.mozilla.com/D3725
--HG--
extra : rebase_source : ad66d7b266856d5a750c772e4710679fab9434b1
extra : histedit_source : a83ebffbf2f0b191ba7de9007f73def6b9a955b8
2018-08-18 14:22:47 -07:00
Steve Fink
bd54ca4f48
Bug 1483042 - Remove more ~RefPtr that fire after a Rooted has been unwrapped for a return value, r=janv
...
--HG--
extra : topic : hazard
extra : rebase_source : 46b3a440775ccac96859ca93ae2d107eb32299cd
2018-08-13 14:51:20 -07:00
Jan Varga
8486a0d568
Bug 1361330 - Part 3: Use fully qualified name when declaring ref counting for IDB quota client; r=asuth
2018-08-20 14:32:56 +02:00
Jan Varga
60713ff421
Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth
2018-08-20 14:32:33 +02: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
Jan Varga
fb29b157c9
Bug 1460162 - MOZ_ALWAYS_SUCCEEDS shoudn't be used in a method that is allowed to fail; r=asuth
2018-08-16 16:42:15 +02:00
Diego Pino Garcia
05039e8e29
Bug 1357636
- Improve IndexedDB error message on deleting an undefined object; r=janv
...
Patch authored by Diego Pino Garcia.
2018-08-15 15:35:58 +02:00
Steve Fink
1e6599977a
Bug 1480640 - Fix hazard in CopyingStructuredCloneReadCallback, r=baku
...
--HG--
extra : topic : gcstats.thresh
extra : rebase_source : 47f7723fc2a3f46e2d7e37578abbfbaa3ab9a21f
2018-08-03 09:19:14 -07: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
Jan de Mooij
ed41af5ddc
Bug 1480678 part 9 - Assert IDBWrapperCache::mScriptOwner is a global and use JSAutoRealm instead of JSAutoRealmAllowCCW. r=mrbkap
2018-08-07 14:06:45 +02: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
Masatoshi Kimura
3b21b7868b
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
...
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Jan de Mooij
e0ef865217
Bug 1479363 part 5 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in remaining dom/ directories. r=mccr8
2018-08-02 08:49:00 +02:00