Commit Graph

607802 Commits

Author SHA1 Message Date
Nicholas Nethercote
dcd7d4327c Bug 1481138 - Clarify that Hash{Map,Set}::putNew() can be used if elements have been removed. r=luke
Hash{Map,Set}::putNew() can be used on a table that has had elements removed,
despite some comments to the contrary.

This patch fixes those comments. It also clarifies when putNewInfallible() can
be used.

This patch also removes the !isRemoved() assertion in findFreeEntry(), which is
confusing -- !isLive() would be more precise, but also obvious from the
surrounding code.

MozReview-Commit-ID: q4qwKGBsHx

--HG--
extra : rebase_source : 94331879f9a1484159e030de93bd0ab222b54385
2018-08-06 12:01:28 +10:00
Nicholas Nethercote
46db021929 Bug 1481138 - Remove HashMap::lookupWithDefault(). r=luke
Because it's quite strange, badly named, not that useful, and barely used.

Also remove WeakMap::lookupWithDefault(), which is similar, but not used at
all.

MozReview-Commit-ID: IhIl4hQ73U1

--HG--
extra : rebase_source : 7da237a56391836ca5d056248f18bd5e2d8b1564
2018-08-06 09:45:38 +10:00
Nicholas Nethercote
d9eb003725 Bug 1481138 - Remove the add() variant in HashTable and GCHashTable that uses a default value. r=luke
Because (a) it's kinda weird, and (b) only used in a single test, where it can
be easily replaced with a vanilla add().

MozReview-Commit-ID: L4RoxFb7yGG

--HG--
extra : rebase_source : 515a5ede5d417686907345ad9069c6a41669dd17
2018-08-06 09:10:05 +10:00
Paolo Amadini
8d5fa55c65 Bug 1481056 - Don't reuse the "progressmeter" element for the custom "download-progress" binding. r=mossop
--HG--
extra : rebase_source : eb13d6fa3908165e49db64828f23b3c8ea97f206
extra : amend_source : f94ec06fcc7ac73ca08417a48cb2e31b170a22e2
2018-08-06 10:38:03 +01:00
Brian Grinstead
076839e8b4 Bug 1478139 - Migrate <editor> to a Custom Element. r=paolo
MozReview-Commit-ID: IiTzndil1MV

--HG--
rename : toolkit/content/widgets/editor.xml => toolkit/content/widgets/editor.js
extra : rebase_source : 137d6d8d1eac724f79ce58043fcc7b9d8c29f160
2018-08-06 14:22:02 +01:00
sotaro
ebf0ddf6be Bug 1479181 part 2 - Remove glXChooseVisual() usage r=jgilbert 2018-08-07 14:13:37 +09:00
sotaro
f4af09856a Bug 1479181 part 1 - Expose glxGetConfig() in GLXLibrary r=jgilbert 2018-08-07 14:13:17 +09:00
Timothy Nikkel
d128a31a08 Bug 1476779. Remove expired IMAGE_ANIMATED_* telemetry. r=aosmond
It was added to monitor the impact of bug 686905. Which went as expected, no spikes or alerts since then. So no need to keep it.
2018-08-06 22:40:31 -05:00
Arthur Edelstein
04dab89db7 Bug 1481096 - Fix incorrectly written pref name r=nwgh
"spdy.default-hpack-buffer" was incorrectly
written as "spdy.hpack-default-buffer".

--HG--
extra : histedit_source : 28dfa00e0accb4e51239a2d31178944034b3eaf5
2018-08-05 16:10:00 +03:00
Geoff Lankow
1e93905608 Bug 1481094 - Skip all downloads tests on Thunderbird; r=aswan 2018-08-07 11:58:12 +12:00
catalin.badea392@gmail.com
63b407b671 Bug 1469523 - Remove unused methods from nsAttrAndChildArray, r=smaug
--HG--
extra : rebase_source : 4743514586f3abf25e5bc18dcff3bad39b30d869
2018-08-06 22:29:37 +03:00
Olli Pettay
5a669d2747 Bug 1469521 - Change storage of previous and next children in nsINode, r=bz
--HG--
extra : rebase_source : 4cb50889c2cfc788cab7037d26d114e35205e998
2018-08-06 22:29:27 +03:00
Ciure Andrei
a103d25c65 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-07 01:03:59 +03:00
Ciure Andrei
9f8ebbde60 Merge inbound to mozilla-central. a=merge 2018-08-07 00:58:13 +03:00
Andrea Marchesini
aeaf76c5f4 Bug 1481195 - The current document should have access to its PerformanceTimingData, r=valentin 2018-08-06 21:27:00 +02:00
ffxbld
de6c35a6a2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D2771
2018-08-06 15:09:53 -04:00
Brendan Dahl
da472b2bfe Bug 1480206 - Move XULDocument popup attributes to Document. r=bz
Allows top level non-XUL documents to share this code. Three tests had to
be adjusted to account for the attributes being chrome only now and not
available to content privilege XUL. In two tests, the values attributes
are now simply undefined. The crashtest was converted to a chrome
mochitest to preserve what it was testing.

MozReview-Commit-ID: 99w9Ax4et3C

--HG--
rename : dom/base/crashtests/473284.xul => dom/base/test/chrome/test_bug473284.xul
extra : rebase_source : 924d34a88fe8a48d766f78b02e64275f6e7cdc2b
2018-08-06 10:52:53 -07:00
Tim Nguyen
51514f772f Bug 1481270 - Small cleanups to LightweightThemeChildHelper.jsm. r=kmag
MozReview-Commit-ID: HGjKQPxXx4S

--HG--
extra : rebase_source : d508a156dd4709bfe8af473fe97b81950de81c3a
2018-08-06 18:33:55 +01:00
Robert Longson
91f16c1309 Bug 1480946 - systemLanguage should be case insensitive r=dholbert 2018-08-06 21:47:20 +01:00
Jeremy Lempereur
20a322176f Bug 1359030 - stop using xlink:href in browser/ and toolkit/, r=jaws
MozReview-Commit-ID: 84acXHxkgq

--HG--
extra : rebase_source : 6042d72c607100966138b0ff5b2c4d3394aa19de
2018-08-04 14:57:43 +02:00
Mark Banner
d1a0b8a2f3 Bug 1479512 - Remove old quit fallback from talos' pageloader code. r=jmaher
MozReview-Commit-ID: 13XfF9v7sBq

Differential Revision: https://phabricator.services.mozilla.com/D2782

--HG--
extra : moz-landing-system : lando
2018-08-06 13:01:23 +00:00
Dão Gottwald
5b4e355993 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C

--HG--
rename : browser/components/sessionstore/nsSessionStartup.js => browser/components/sessionstore/SessionStartup.jsm
extra : rebase_source : 5b4f5c2e45841a5ee9123386e8657d8c262ba416
2018-08-04 13:27:40 +02:00
Petru Lingurar
8dbf61da1e Bug 1474859 - Enable Multidex for all builds; r=nalexander
Multidex will now be enabled for all builds, not just for the _local_ ones.
Also added the 'ads-identifier' library needed for the builds with the
MOZ_INSTALL_TRACKING flag case in which the dex limit would be reached.

MozReview-Commit-ID: FRTXBD9Kc6T

--HG--
extra : rebase_source : c73a0a48d355edbe2080b14ceeb2f99609a45d7c
2018-08-06 18:38:48 +03:00
Petru Lingurar
e2ef3d8035 Bug 1410218 - Fix NPE when cast fails; r=jchen
This happened whenever starting to cast a video and loading the media failed.
MediaStatus in this case would be null and querying it would throw a
NullPointerException.
Avoiding this query when the MediaStatus is null lets the normal execution flow
continue and if loading media failed casting will fail gracefully.

MozReview-Commit-ID: 8ZOqr1FO1Dt

--HG--
extra : rebase_source : 905b7e83bc7265fe8312509dfc5aa6274dd89c5c
2018-08-03 13:26:55 +03:00
Thomas Wisniewski
2e507aec05 Bug 1453301 - Stop supporting about:blank in fetch to match the spec. r=baku
MozReview-Commit-ID: DMku5SAunfo

--HG--
extra : rebase_source : d9cf72be144b41cd5d8c6dbe4042a6e835c12ef3
2018-08-03 21:52:36 -04:00
Morgan Rae Reschenberg
20f759a6e0 Bug 1478550 - Adjust IsInnerTableStyle to fail for table captions. r=dholbert
MozReview-Commit-ID: 6CK1XEYWsTl

--HG--
extra : rebase_source : d5f753d0127c482021577fe0f48c67a1361e0b53
2018-07-26 14:09:52 -07:00
dvarga
51268dcbdf Merge mozilla-inbound to mozilla-central. a=merge 2018-08-06 18:42:45 +03:00
Tudor-Gabriel Vîjială
e9db02a824 Bug 1480875 - Only run geckoview-junit ccov on mozilla-central. r=marco
MozReview-Commit-ID: By7cC9wip3i

--HG--
extra : rebase_source : 379e8b609ceb07071fde1d3812e22b9a40b544a5
2018-08-06 12:51:00 +01:00
Margareta Eliza Balazs
235bf9e602 Backed out 2 changesets (bug 1480054) for reftest failures in build/tests/reftest/tests/layout/reftests/bugs/664127-1.xul on a CLOSED TREE
Backed out changeset 854bba84bd34 (bug 1480054)
Backed out changeset 37861e92aa13 (bug 1480054)
2018-08-06 14:09:07 +03:00
Jon Coppeard
7e4b3bcb99 Bug 1480720 - Factor out script fetch options from script load request classes r=baku 2018-08-06 10:54:28 +01:00
Julian Descottes
c60a3062a6 Bug 1480682 - Update sidebar color in about:debugging;r=daisuke
Looking at the mocks, the non-selected color is closer to grey-50.
The text should have the same color as the icons.

Depends on D2703

Differential Revision: https://phabricator.services.mozilla.com/D2704

--HG--
extra : moz-landing-system : lando
2018-08-06 08:50:07 +00:00
Julian Descottes
d7873db39a Bug 1480682 - Add icon for Connect sidebar item;r=daisuke
Depends on D2702

Differential Revision: https://phabricator.services.mozilla.com/D2703

--HG--
extra : moz-landing-system : lando
2018-08-06 08:34:02 +00:00
Julian Descottes
918e203758 Bug 1480682 - Rename existing firefox logo icon;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D2702

--HG--
rename : devtools/client/themes/images/firefox-logo-glyph.svg => devtools/client/themes/images/aboutdebugging-firefox-logo.svg
extra : moz-landing-system : lando
2018-08-06 08:26:47 +00:00
Dorel Luca
8fcdd0a73b Backed out changeset 9600a4859665 (bug 1478454) for causing leaks 2018-08-06 13:51:36 +03:00
Venkatesh Pitta
ea42facc77 Bug 1478094 - [marionette] Update crash unit tests to make use of about:crashparent and about:crashcontent r=whimboo
MozReview-Commit-ID: H9LBBD7t9vL

--HG--
extra : rebase_source : 51e5db7dbcb76a708969b19c32f74654f1c46c8d
2018-08-04 00:45:53 +10:00
Margareta Eliza Balazs
4b76e821b1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-06 12:29:07 +03:00
Margareta Eliza Balazs
b1b4480a49 Merge inbound to mozilla-central. a=merge 2018-08-06 12:25:13 +03:00
Masayuki Nakano
2413e81af0 Bug 1480666 - Make EditorBase::EndUpdateViewBatch() non-virtual r=m_kato
Although HTMLEditor::EndUpdateViewBatch() calls a method of nsIHTMLEditor,
the additional work after calling EditorBase::EndUpdateViewBatch() is enough
simple. So, we can move the implementation in HTMLEditor to EditorBase and
make it non-virtual.

Differential Revision: https://phabricator.services.mozilla.com/D2705

--HG--
extra : moz-landing-system : lando
2018-08-06 04:42:39 +00:00
Csoregi Natalia
bc84233876 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-06 02:01:55 +03:00
Csoregi Natalia
39882fbe1b Merge inbound to mozilla-central. a=merge 2018-08-06 01:59:45 +03:00
Nicholas Nethercote
e39fda4c40 Bug 1480668 - Remove js::CStringHashPolicy. r=luke
It's identical to mozilla::CStringHasher.

Also fix a comment at the top of HashTable.h about CStringHasher.

--HG--
extra : rebase_source : 92176c4f6ea8041f309764b4ce0271a494853a7b
2018-08-06 07:55:50 +10:00
Narcis Beleuzu
80eb8550ef Backed out 4 changesets (bug 1473614) for xpcshell failures on test_sync.js. CLOSED TREE
Backed out changeset 027922b5ef04 (bug 1473614)
Backed out changeset 1d28e128807c (bug 1473614)
Backed out changeset 1ee58097b141 (bug 1473614)
Backed out changeset 87a0ebcd004f (bug 1473614)
2018-08-05 18:17:36 +03:00
Andreas Tolfsen
9c611e01aa Bug 1480810 - Drop PREF_COMPLEX from Marionette prefs module. r=automatedtester
A warning appears in the console when you run xpcshell tests that
the PREF_COMPLEX type is no longer, and we should therefore remove
it from Marionette as well.
2018-08-05 14:19:01 +01:00
Andreas Tolfsen
05027287d5 Bug 1473614 - Expose API docs for MessageManagerDestroyedPromise and Sleep. r=automatedtester 2018-08-05 14:18:19 +01:00
Andreas Tolfsen
7bc5323eef Bug 1473614 - Fix exported symbols in sync. r=automatedtester
The "exported" keyword is no longer needed.
2018-08-05 14:18:19 +01:00
Andreas Tolfsen
8c4a505d2b Bug 1473614 - Add sync function Sleep for pausing async functions. r=automatedtester
This adds a new public API to the Marionette sync module that can
"pause" async functions for an arbitrary amount of hardcoded time.
This can be useful for debugging purposes.
2018-08-05 14:18:18 +01:00
Andreas Tolfsen
c0d695e9cc Bug 1473614 - Add type checks to PollPromise and TimedPromise. r=automatedtester
This patch introduces stricted type checks for the sync module's
PollPromise and TimedPromise.  This may seem excessive, but we have
had real and severe bugs in this area before.
2018-08-05 14:18:18 +01:00
Sebastian Hengst
254c0034d4 Bug 1480995 - Set css-pseudo/interfaces.html's checks of CSSPseudoElement to fail on release and beta. r=jgraham
MozReview-Commit-ID: 4KOAAvgqVhX

--HG--
extra : rebase_source : 5ffc7221ea82b229b3f0711abeac68ab9b8e47dd
2018-08-05 13:51:17 +03:00
Narcis Beleuzu
3fdc491e11 Merge inbound to mozilla-central. a=merge 2018-08-05 12:45:36 +03:00
Cosmin Sabou
7cf1ac297e Backed out changeset 542243f5f600 (bug 1471708) for failling reftest on gfx/layers/apz/test/reftest/async-scrollbar-1. 2018-08-05 07:57:50 +03:00