Commit Graph

627800 Commits

Author SHA1 Message Date
Jeff Walden
efc00313f9 Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
--HG--
extra : rebase_source : 1eed4ea5b846e5ce608593ef732bedc3194268e3
2018-12-08 18:00:33 -05:00
André Bargull
c5507cac27 Bug 1512989 - Part 2: Fix browser jstests failures. r=jorendorff
--HG--
rename : js/src/tests/ecma_6/Date/parse-from-tostring-methods.js => js/src/tests/non262/Date/parse-from-tostring-methods.js
2018-12-12 08:45:47 -08:00
André Bargull
75e44f9708 Bug 1512989 - Part 1: Pass correct test type. r=ahal 2018-12-11 06:06:34 -08:00
André Bargull
90e657e176 Bug 1506524: Handle LambdaArrow in MFunctionEnvironment::foldsTo. r=nbp 2018-12-05 03:15:51 -08:00
Cosmin Sabou
46fe1d73a2 Backed out 3 changesets (bug 1508873) for spidermonkey build bustages. CLOSED TREE
Backed out changeset a356b2566ae2 (bug 1508873)
Backed out changeset 4bb5dd072865 (bug 1508873)
Backed out changeset a6657732fdbe (bug 1508873)
2018-12-12 22:09:30 +02:00
Nathan Froyd
ba32deb674 Bug 1508873 - part 3 - reorganize HashTable's internal storage; r=luke
As discussed in the previous commit message, HashTableEntry wastes space
for common entry types.  This commit reorganizes the internal storage to
store all the hashes packed together, followed by all the entries, which
eliminates the aforementioned waste.
2018-12-12 14:57:21 -05:00
Nathan Froyd
27902c8e43 Bug 1508873 - part 2 - convert HashTable to work primarily in terms of slots; r=luke
HashTableEntry's data layout currently wastes a fair amount of space due
to ABI-mandated padding.  For instance, HashTableEntry<T*> on a 64-bit
platform looks like:

class HashTableEntry {
  HashNumber mKeyHash;
  // Four bytes of wasted space here to pad mValueData to the correct place.
  unsigned char mValueData[sizeof(T*)];
};

This wasted space means that sets of pointers backed by
mozilla::HashTable waste a quarter of their entry storage space.  Maps
of pointers to pointers waste a sixth of their entry storage space.
We'd like to fix this by packing all the cached hashes together,
followed by all the hash table entries.

As a first step to laying out the hash table storage differently, we
have to make HashTable not access entries directly, but go through an
abstraction that represents the key and the entry.  We call this
abstraction "slots".  This commit is similar to the change done for
PLDHashTable previously.

Parts of HashTable still work in terms of Entry; the creation and
destruction of tables was not worth changing here.  We'll address that
in the next commit.
2018-12-12 14:57:21 -05:00
Nathan Froyd
05c72d126b Bug 1508873 - part 1 - statically assert alignment for hashtable entries; r=luke
We do this to make our lives easier in later patches; this check
guarantees that we don't need padding between the block of cached hash
values and the block of entries immediately after it.
2018-12-12 14:57:21 -05:00
Kris Maglione
7cbe858c62 Bug 1505522: Follow-up: Resolve gatherMemory() promise in release builds. r=me
--HG--
extra : amend_source : 71b9da131b80c5e269cd3c459306939bcada185a
2018-12-12 11:35:13 -08:00
Emilio Cobos Álvarez
77c4b9ea02 No bug - Fix a warning in a test. 2018-12-12 20:06:00 +01:00
Cosmin Sabou
0bb1749356 Bug 1507467 - Make sure mAfterOnStartRequestBegun is true for channels loaded with LOAD_ONLY_IF_MODIFIED, r=valentin
This patch ensures that mAfterOnStartRequestBegun is set to true before notifying stream listener.
2018-12-12 21:02:18 +02:00
Irvin Ives Lau
694c3289ff Bug 1495189 - Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg. r=jaws
--HG--
extra : rebase_source : 4ed96186ca1ce37c265be03bcffedf443a34647f
2018-12-12 19:20:02 +01:00
Bastien Orivel
fea3d3edf5 Bug 1513173 - Update darling to 0.8.1 and revendor rust dependencies. r=emilio
This will hopefully help reducing build times
2018-12-12 18:58:48 +01:00
Andrea Marchesini
2aef2d72d5 Bug 1512311 - Disable implicit rel=noopener in anchor and area elements if the triggering principal is system, r=nika 2018-12-12 17:55:13 +01:00
Razvan Maries
ab8798913b Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-12 18:37:45 +02:00
Razvan Maries
cef33be47c Merge mozilla-inbound to mozilla-central a=merge 2018-12-12 18:32:14 +02:00
Margareta Eliza Balazs
502c1c64cb Backout 2c48655b33ca (Bug 1510607) for causing regression in Bug 1513471, requested by allstars.chh 2018-12-12 18:24:47 +02:00
Geoff Brown
ebdc1440c9 Bug 1512686 - Use pidof to determine android process pid, when available; r=bc 2018-12-12 07:51:24 -07:00
Henri Sivonen
f4bcccb098 Bug 1513513 - Drop the file: URL UTF-8 sniffing limit from 50 MB to 4 MB. r=emk. 2018-12-12 16:10:28 +02:00
Ciure Andrei
b3b5a48999 Backed out changeset 3babbb8e7ec0 (bug 1512454) for failing browser_aboutURLs.js CLOSED TREE 2018-12-12 14:04:02 +02:00
Belén Albeza
9d45e711a2 Bug 1503908 - Add test for selecting a runtime in the sidebar. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D14079

--HG--
extra : moz-landing-system : lando
2018-12-12 10:50:31 +00:00
Tim Nguyen
08e704bfed Bug 1513177 - Override #tabsToggle background-color from common.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14212

--HG--
extra : moz-landing-system : lando
2018-12-12 10:34:33 +00:00
Tim Nguyen
823afa17ad Bug 1513349 - Remove now erroneous tree cell editing styles. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14189

--HG--
extra : moz-landing-system : lando
2018-12-12 08:55:50 +00:00
Julian Descottes
69162b31b3 Bug 1512454 - Register about:debugging-new for Nightly builds;r=ladybenko,Ola
Differential Revision: https://phabricator.services.mozilla.com/D13923

--HG--
extra : moz-landing-system : lando
2018-12-10 22:30:35 +00:00
Belén Albeza
6f4781eae9 Bug 1509470 - Add license for react-router-dom. r=jdescottes,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D14152

--HG--
extra : moz-landing-system : lando
2018-12-11 16:52:48 +00:00
Alexandre Poirot
3937fdfc00 Bug 1512220 - Convert debugger server test helper to async functions. r=yulia
This cleanup will help next refactorings.
Note that attachTestThread and attachTestTabAndResume are still using the callback style
as it is still being used by tests that aren't using threadClientTest helper.

MozReview-Commit-ID: 6FvoDtzEBmL

Depends on D13901

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

--HG--
extra : moz-landing-system : lando
2018-12-11 12:14:59 +00:00
Alexandre Poirot
6448b30e9c Bug 1512220 - Refactor debugger test using testGlobal to threadClientTest helper. r=yulia
This isn't removing listTabs calls as these tests were using attachTestTab,
but all these tests are using testGlobal helper whereas they don't have to if they were using threadClientTest helper.

MozReview-Commit-ID: FPtYlDvYUeD

Depends on D13900

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

--HG--
extra : moz-landing-system : lando
2018-12-11 15:19:43 +00:00
Alexandre Poirot
c1ea0a64c2 Bug 1512220 - Refactor promises tests to use the same test helper than memory actor's tests. r=yulia
This isn't thread client test, but here we could share some more code with the memory tests
and use Target objects to retrieve the fronts.

MozReview-Commit-ID: C9S1VjTLrSF

Depends on D13899

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

--HG--
extra : moz-landing-system : lando
2018-12-11 15:58:13 +00:00
Alexandre Poirot
2bb751479d Bug 1512220 - Switch devtools/server/tests/unit/test_setBreakpoint* tests to threadClientTest. r=yulia
All these tests are clearly copy pasting existing threadClientTest helper.
They might run as well against workers but today we don't run them there, so I used the doNotRunWorker flag.

MozReview-Commit-ID: 7k1lJ06WeGZ

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

--HG--
extra : moz-landing-system : lando
2018-12-11 17:46:10 +00:00
Jan de Mooij
b8a316aca4 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 08:02:30 +00:00
Daniel Holbert
fa80837513 Bug 1513387: Add braces & newlines to re-wrap some return statements that clang-format unwrapped, in layout/svg. r=heycam
This patch shouldn't affect behavior; it's just making the existing control
flow clearer and more debuggable.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 06:32:44 +00:00
Ciure Andrei
12adcc1edd Backed out changeset a8dd01db9f92 (bug 1512260) requsted by owner (missing test) CLOSED TREE 2018-12-12 09:14:53 +02:00
Jan de Mooij
89da963b10 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 06:39:38 +00:00
Coroiu Cristina
51cd68a168 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-12-12 07:26:06 +02:00
Dorel Luca
d1d958a798 Backed out 4 changesets (bug 1512280) for bmsvc build bustage
Backed out changeset abe934612616 (bug 1512280)
Backed out changeset 9463a1a3d790 (bug 1512280)
Backed out changeset 9a68c5f1ca0d (bug 1512280)
Backed out changeset 616721cad893 (bug 1512280)
2018-12-12 07:22:49 +02:00
Coroiu Cristina
3160ddc1f0 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Jan-Ivar Bruaroey
826b382038 Bug 1512280 - Less verbose code in MediaManager in places. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13986

--HG--
extra : moz-landing-system : lando
2018-12-12 04:22:06 +00:00
Jan-Ivar Bruaroey
3120eb8814 Bug 1512280 - Add out-parameter to EnumerateDevicesImpl(); clearer semantics and flattens things. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13985

--HG--
extra : moz-landing-system : lando
2018-12-12 04:00:42 +00:00
Jan-Ivar Bruaroey
b43cd8e1dd Bug 1512280 - Make LOG macros clang-format friendlier. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13859

--HG--
extra : moz-landing-system : lando
2018-12-12 02:36:51 +00:00
Ted Campbell
8076a065aa Bug 1513433 - Fix gc/Verifier.cpp in opt gczeal configuration. r=sfink 2018-12-11 21:26:11 -05:00
Jan-Ivar Bruaroey
2fc3a23b7c Bug 1512280 - Fix some nits and shorten MediaManager::GetUserMedia(). r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D13858

--HG--
extra : moz-landing-system : lando
2018-12-12 02:23:57 +00:00
alwu
aba79e9edc Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 02:16:55 +00:00
Daniel Varga
9be61b1c47 Backed out changeset 1a06654dd1ba (bug 1513152) for test-android-em failure at dom/security/test/csp/test_punycode_host_src.html on a CLOSED TREE 2018-12-12 03:29:20 +02:00
Lina Cambridge
38d15752db Bug 1512868 - Simplify merge triggers in the Sync mirror. r=mak
This commit consolidates the `insertNewLocalItems` and
`updateExistingLocalItems` triggers into a single trigger that uses
an upsert, and removes the last vestiges of annotations from the
mirror.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 00:56:29 +00:00
Lina Cambridge
a51c634adf Bug 1512867 - Always update or upload synced bookmarks that only exist on one side. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D14034

--HG--
extra : moz-landing-system : lando
2018-12-12 01:00:13 +00:00
Hiroyuki Ikezoe
d94fd24a70 Bug 1513243 - Set gfx.omta.background-color true for the reftest for background-color animations on the compositor. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D14208

--HG--
extra : moz-landing-system : lando
2018-12-12 00:04:11 +00:00
Dorel Luca
58cd1ee36a Backed out changeset b3a9872c08d7 (bug 1513042) for Gtest failure
--HG--
extra : rebase_source : 6930ed8e1ea84af3a83f380279138d75ce2bde30
2018-12-12 02:13:45 +02:00
Joel Maher
ce5a6bc787 Bug 1508794 - skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. r=gbrown
skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:47:40 +00:00
Hiroyuki Ikezoe
6bebce8600 Bug 1512037 - Bail out from prefersReducedMotion() if the target device is Android 4.1 or older. r=snorp
Settings.Global can't be used on such devices.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 23:38:26 +00:00
Drew Willcoxon
1b85c280bd Bug 1511529 - Add substring matching/highlighting to UrlbarMatch and support it in UrlbarView. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D13717

--HG--
extra : moz-landing-system : lando
2018-12-11 23:22:54 +00:00