Граф коммитов

606819 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 9627ef81a3 Bug 1478792 - Check the search term in the request URL in tests for about:home. r=Gijs 2018-07-31 12:27:23 +09:00
Tooru Fujisawa 28f1424ea4 Bug 1477157 - Store the info about the existence of the default case into the switch ParseNode. r=jwalden 2018-07-31 12:23:03 +09:00
Coroiu Cristina 1d00056a61 Merge mozilla-central to inbound a=merge 2018-07-31 05:07:24 +03:00
Coroiu Cristina 6ba5f27325 Backed out 4 changesets (bug 1477693) for perma-failing reftests at tests/layout/reftests/svg/smil/transform/scale-1-ref.svg a=backout
Backed out changeset 069ad25949f3 (bug 1477693)
Backed out changeset 34f12e5543aa (bug 1477693)
Backed out changeset 864e12713e98 (bug 1477693)
Backed out changeset fa4d0ff6f779 (bug 1477693)
2018-07-31 05:02:33 +03:00
Coroiu Cristina 9e8155b8f6 Merge inbound to mozilla-central a=merge 2018-07-31 00:58:28 +03:00
Cosmin Sabou 09c97210a7 Backed out 2 changesets (bug 1473732) for devtools and web platform reftest leaks. CLOSED TREE
Backed out changeset 7742f4ea046b (bug 1473732)
Backed out changeset 3354b6d032f3 (bug 1473732)
2018-07-30 20:52:11 +03:00
Cosmin Sabou e748fd8968 Backed out 15 changesets (bug 1475409, bug 1461450, bug 1474369, bug 1471726) for causing rooting hazards and browser chrome failures. CLOSED TREE
Backed out changeset 7ce27aa3ce68 (bug 1474369)
Backed out changeset a8a4e2414daa (bug 1474369)
Backed out changeset 13c9626970e2 (bug 1474369)
Backed out changeset 9817819b7765 (bug 1475409)
Backed out changeset 39fcebfe6529 (bug 1475409)
Backed out changeset c19ca740d3d1 (bug 1475409)
Backed out changeset b26c90518fca (bug 1474369)
Backed out changeset cbdde0474521 (bug 1474369)
Backed out changeset ccea3049fe0f (bug 1474369)
Backed out changeset e9f6d2544a82 (bug 1474369)
Backed out changeset 99c4d07d4b88 (bug 1474369)
Backed out changeset c721ada8a6d6 (bug 1461450)
Backed out changeset 961379be0f5e (bug 1461450)
Backed out changeset cf2448b2635f (bug 1471726)
Backed out changeset 408961783c95 (bug 1471726)
2018-07-30 20:31:24 +03:00
Jonathan Kew a78b7458a9 Bug 1478720 - Increase the fractional adjustment applied to 'opsz' on macOS to avoid using the font's default setting, which may be mishandled by Core Text. r=lsalzman 2018-07-30 17:53:09 +01:00
Andreea Pavel d960e5a77a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-30 19:40:38 +03:00
Andreea Pavel be1d7773cc Merge mozilla-inbound to mozilla-central. a=merge 2018-07-30 19:35:30 +03:00
Andreea Pavel 840f785b1e Backed out 8 changesets (bug 1475228) for wpt failures e.g. html/semantics/scripting-1/the-script-element/execution-timing/088.html on a CLOSED TREE
Backed out changeset b2d18ea619ec (bug 1475228)
Backed out changeset 45d3ffe3308e (bug 1475228)
Backed out changeset 02b27f8441be (bug 1475228)
Backed out changeset b82c2cf4b3f1 (bug 1475228)
Backed out changeset 2bc8f24dc3fc (bug 1475228)
Backed out changeset 6104ea971587 (bug 1475228)
Backed out changeset 7c83633262db (bug 1475228)
Backed out changeset 34fb24d52f08 (bug 1475228)
2018-07-30 16:49:02 +03:00
Robert Bartlensky 1891f8a1f7 Bug 1479401: Include lib directory into the infer tar, and change maintainer. r=andi
MozReview-Commit-ID: Ibyw9SCMVVB

--HG--
extra : rebase_source : 4266ed81d1647daa1eada83b66cb4ef6b5d1af3a
2018-07-30 12:45:02 +01:00
Nicholas Nethercote faa9066821 Bug 1477626 - Remove use of JS_BIT in js/src/HashTable.h. r=Waldo
MozReview-Commit-ID: DRba0Z0Olo0

--HG--
extra : rebase_source : a9b48c986cd09c37039bd81e054f129afce48171
2018-07-26 20:12:55 +10:00
Nicholas Nethercote 0f205a7ce0 Bug 1477626 - Move ScrambleHashCode() from js/src/Utility.h to mfbt/HashFunctions.h. r=Waldo
And use it in PLDHashTable.cpp.

MozReview-Commit-ID: BqwEkE0p5AG

--HG--
extra : rebase_source : bd9118e24b82add6ad1fdcb067a5f25b25e90201
2018-07-26 18:52:47 +10:00
Nicholas Nethercote 25a1140207 Bug 1477626 - Introduce mozilla::HashNumber and use it in various places. r=Waldo
Currently we have three ways of representing hash values.

- uint32_t: used in HashFunctions.h.

- PLDHashNumber: defined in PLDHashTable.{h,cpp}.

- js::HashNumber: defined in js/public/Utility.h.

Functions that create hash values with functions from HashFunctions.h use a mix
of these three types. It's a bit of a mess.

This patch introduces mozilla::HashNumber, and redefines PLDHashNumber and
js::HashNumber as synonyms. It also changes HashFunctions.h to use
mozilla::HashNumber throughout instead of uint32_t.

This leaves plenty of places that still use uint32_t that should use
mozilla::HashNumber or one of its synonyms, but I didn't want to tackle that
now.

The patch also:

- Does similar things for the constants defining the number of bits in each
  hash number type.

- Moves js::HashNumber from Utility.h to HashTable.h, which is a better spot
  for it. (This required changing the signature of ScrambleHashCode(); that's
  ok, it'll get moved by the next patch anyway.)

MozReview-Commit-ID: EdoWlCm7OUC

--HG--
extra : rebase_source : 5b92c0c3560eb56850cd8832f8ee514d25e3c16f
2018-07-26 18:52:46 +10:00
Nicholas Nethercote e683e03e60 Bug 1477626 - Use `uint32_t` instead of `unsigned` in HashTable.h. r=Waldo
Because it's more precise, and gives us more consistency.

MozReview-Commit-ID: BLYXYSHgZ7v

--HG--
extra : rebase_source : 527379499a7f2868e032982d7967005df6599bf1
2018-07-26 18:52:46 +10:00
Nicholas Nethercote 049d8130b0 Bug 1477626 - Replace some bespoke code with a call to CeilingLog2(). r=Waldo
After all, bug 543034 was fixed 9 years ago.

MozReview-Commit-ID: HDPO3gGuQMx

--HG--
extra : rebase_source : 6a1410c30e63f2ea5a4f918ba932b814d50c34dd
2018-07-26 18:52:46 +10:00
Cosmin Sabou 674efd0cee Backed out changeset 701d67d48f5d (bug 1479050) for xpcshell failures on test_VariablesView_filtering-without-controller.js. CLOSED TREE 2018-07-31 04:29:40 +03:00
qiaopengcheng ffa75bd086 Bug 1478560 - Fix the compiling error of the struct nsXPTCVariant. r=glandium 2018-07-31 09:39:31 +09:00
Dave Townsend 9aff8f126b Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
--HG--
extra : rebase_source : 6872abc17b71d43ffbd88e1de4c92761ad911cc1
2018-07-30 12:29:28 -07:00
Jeff Walden c1f20bd15f Bug 1478892 - Make all parser-related classes instantiable for UTF-8 source text. r=arai
--HG--
extra : rebase_source : 1362f83f3865c6c8a819851fdd2ced97ef19c267
2018-07-25 20:12:22 -07:00
Jeff Walden b80011efe0 Bug 1478587 - Instantiate TokenStreamSpecific for UTF-8. r=arai
--HG--
extra : rebase_source : e8b132c2b39a4aefa5771113dddcabebab634899
2018-07-26 19:45:02 -07:00
Jeff Walden 40fe1106ab Bug 1478587 - Make number-parsing functions deal with UTF-8 input. r=arai
--HG--
extra : rebase_source : f241963f6eded2b4263bda46550cb0fc4db03303
2018-07-25 20:11:25 -07:00
Jeff Walden 20a7434c8e Bug 1478587 - Make FindReservedWord work for CharT=Utf8Unit. r=arai
--HG--
extra : rebase_source : 96394f351a6085a0f95fb70114358a31f5ca27e7
2018-07-25 20:11:22 -07:00
Jeff Walden 90533433e6 Bug 1478587 - Implement mozilla::Utf8AsUnsignedChars to centralize UTF-8-to-unsigned-chars casts and their justifications. r=froydnj
--HG--
extra : rebase_source : 98d7eb2e5bb183e39437fbfdbbee0f301ccb768a
2018-07-26 19:43:33 -07:00
Jeff Walden 714d372b05 Bug 1478587 - Make ReportUnterminatedRegExp accept an int32_t unit, not a CharT unit. r=arai
--HG--
extra : rebase_source : 7910effed2279012c16049a7a6ec366001e468bf
2018-07-25 20:11:18 -07:00
Jeff Walden 5208988fd6 Bug 1478587 - Switch on the numeric type underlying CharT, not on CharT itself, in a couple switches in TokenStreamSpecific::getTokenInternal. r=arai
--HG--
extra : rebase_source : fec04544c4072b1c2d2a3dbdc6f7efbf1ff3d101
2018-07-25 20:11:15 -07:00
Jeff Walden d81ee847b2 Bug 1478587 - Add CharT casts when comparing code units to particular ASCII characters. r=arai
--HG--
extra : rebase_source : ed272d382f28335033e23fba7247fe4a69883ae0
2018-07-25 20:11:12 -07:00
Jeff Walden 8df486c3ad Bug 1478587 - Return the result of CodeUnitValue(), not a CharT, from GeneralTokenStreamChars::getCodeUnit. r=arai
--HG--
extra : rebase_source : 857b231a27e5e6a24c7e1799970248106e705be7
2018-07-25 20:11:08 -07:00
Jeff Walden f263f82ed2 Bug 1478587 - Implement correct handling of Unicode line/paragraph separators in template/string literals for UTF-8. r=arai
--HG--
extra : rebase_source : 7944b8497be0b004e2f57f600535d1b670e44a5b
2018-07-25 20:11:05 -07:00
Jeff Walden 895d138fce Bug 1478587 - Invoke TokenStreamChars::getNonAsciiCodePointDontNormalize passing CharT lead (not int32_t). r=arai
--HG--
extra : rebase_source : 1639af7937210303397a706ede3a24a22d8a5ffe
2018-07-25 20:11:01 -07:00
Dave Townsend 5b71f53b28 Bug 1479050: Add document.createXULElement for creating XUL elements from any document type. r=bz
Tags: #secure-revision

Bug #: 1479050

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

--HG--
extra : rebase_source : 190ce867f17dd62e68ff119842f1fe977d43bbc4
extra : amend_source : de4a7661b9efd72b009b9d2c56f0d2a902192bbe
2018-07-27 14:24:23 -07:00
Cosmin Sabou bfc1e72e01 Backed out changeset 9035ff3757ac (bug 1415980) at request from froydnj on the suspicion that it's going to break MSVC builds when it gets merged to central. 2018-07-31 01:19:49 +03:00
Coroiu Cristina 38f8ebc675 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-31 01:03:29 +03:00
Cosmin Sabou 91170e2db1 Backed out changeset df39b3369446 (bug 1426176) for causing toolchains clang bustages. CLOSED TREE
--HG--
extra : rebase_source : 99cc3e3b40d0ca7c0ae58d3c8553b0339f8c74b1
2018-07-31 00:48:47 +03:00
Andrea Marchesini f7b001ece2 Bug 1479407 - nsMultiplexInputStream::AppendElement should be fallible, r=froydnj 2018-07-30 23:15:36 +02:00
Andrea Marchesini a2d7453121 Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs 2018-07-30 23:15:15 +02:00
Nathan Froyd 017b016850 Bug 1415980 - make hash keys movable and not copyable; r=erahm
Everything that goes in a PLDHashtable (and its derivatives, like
nsTHashtable) needs to inherit from PLDHashEntryHdr.  But through a lack
of enforcement, copy constructors for these derived classes didn't
explicitly invoke the copy constructor for PLDHashEntryHdr (and the
compiler didn't invoke the copy constructor for us).  Instead,
PLDHashTable explicitly copied around the bits that the copy constructor
would have.

The current setup has two problems:

1) Derived classes should be using move construction, not copy
   construction, since anything that's shuffling hash table keys/entries
   around will be using move construction.

2) Derived classes should take responsibility for transferring bits of
   superclass state around, and not rely on something else to handle
   that.

The second point is not a huge problem for PLDHashTable (PLDHashTable
only has to copy PLDHashEntryHdr's bits in a single place), but future
hash table implementations that might move entries around more
aggressively would have to insert compensation code all over the place.
Additionally, if moving entries is implemented via memcpy (which is
quite common), PLDHashTable copying around bits *again* is inefficient.

Let's fix all these problems in one go, by:

1) Explicitly declaring the set of constructors that PLDHashEntryHdr
   implements (and does not implement).  In particular, the copy
   constructor is deleted, so any derived classes that attempt to make
   themselves copyable will be detected at compile time: the compiler
   will complain that the superclass type is not copyable.

   This change on its own will result in many compiler errors, so...

2) Change any derived classes to implement move constructors instead
   of copy constructors.  Note that some of these move constructors are,
   strictly speaking, unnecessary, since the relevant classes are moved
   via memcpy in nsTHashtable and its derivatives.
2018-07-30 17:15:11 -04:00
Cosmin Sabou 78e9e22969 Backed out 2 changesets (bug 1465491) for turning bug 1270731 into permafail. CLOSED TREE
Backed out changeset 32c5b19c77c9 (bug 1465491)
Backed out changeset 2073834a70d6 (bug 1465491)
2018-07-30 23:57:02 +03:00
Eitan Isaacson 0df14aa6d7 Bug 1479530 - Swap newPosition with oldPosition in ProxyVirtualCursorChangeEvent. r=surkov
--HG--
extra : rebase_source : 79602da380d99dd32c49f1216f107e7c28dcc773
2018-07-30 11:41:00 +03:00
Christian Holler 04589bf67b Bug 1426176 - Add symbols file for Clang ASan runtime on Windows. r=ted
MozReview-Commit-ID: 4P3mwZNP8cY

--HG--
extra : rebase_source : a06221ad62a6c763224378d93aeea7d2477f5226
2018-07-26 11:16:50 +02:00
Razvan Caliman 616ed84634 Bug 1475782 - Return promises from Rule mutation methods and catch errors in font editor. r=pbro
MozReview-Commit-ID: 12ByNb6rrWp

--HG--
extra : rebase_source : 9fa953731bd8b023326f77a912e14399fe56e6f9
2018-07-18 14:48:31 +02:00
Razvan Caliman 1934b685a1 Bug 1475782 - Fix for intermittent test failures on Font Editor unit conversion. r=pbro
- Catch getComputed errors from async call
- Explicitly create new TextProperty when none exists

MozReview-Commit-ID: DokLJHIO6Cr

--HG--
extra : rebase_source : fca1d8e9a3161eb8324d47b95e7862859fd42e1d
2018-07-17 12:21:40 +02:00
Nicolas Chevobbe 02341af9c3 Bug 1136299 - Add a test for the new in-line input in the console;r=bgrins.
The input expansion tests are removed since the new test now cover the input
growing/shrinking.

MozReview-Commit-ID: 4RIQar4ytX

--HG--
extra : rebase_source : 0372ef695c37646cabc7f40ec22e3c652dcce133
extra : source : f4aef5b3c68fca33e19dcf67e1b7e5fc4006a227
2018-07-18 11:21:41 +02:00
Nicolas Chevobbe f53e36acf4 Bug 1136299 - Move the console input in-line with the logs;r=bgrins.
MozReview-Commit-ID: CvmhJrFqCM

--HG--
extra : rebase_source : 6c544c1b0f4c55d2294af9a9b730a27a98dcc595
2018-07-23 07:01:02 +02:00
Martin Stransky a0b8933f57 Bug 1401634 - Flush window XID to X server before we pass the XID to gpu process, r=jhorak
Make sure the window XID is propagated to X server, we can fail otherwise
in GPU process.

MozReview-Commit-ID: BMkLvhs4vRt

--HG--
extra : rebase_source : 34269cbf7e088fd15c090f3abc8ee2d46da307c4
2018-07-27 14:00:09 +02:00
Sebastian Hengst 867029f2df Bug 1479380 - update bugzilla component in moz.build file for toolkit/components/downloads to 'Toolkit :: Downloads API'. r=mak
MozReview-Commit-ID: FPI90yZmSo5

--HG--
extra : rebase_source : 083ebb26c07faa999544bdc59d98c04116699cf6
2018-07-30 12:39:00 +03:00
Andreea Pavel 2d55b802fe Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-30 12:54:15 +03:00
Andreea Pavel 796058f4eb Merge mozilla-inbound to mozilla-central. a=merge 2018-07-30 12:52:00 +03:00
Makoto Kato 30bdb835f5 Bug 1462019 - Part 3. GeckoView test should use abstract socket address. r=snorp 2018-07-30 15:12:12 +09:00