Commit Graph

597587 Commits

Author SHA1 Message Date
Julian Seward
fef50df448 Bug 1461304 - Windows bustage eg: /js/src/wasm/WasmBinaryToAST.cpp when Gecko 62 merges to Beta on 2018-06-14. r=froydnj.
Some configurations of SpiderMonkey wind up producing C++ switch statements of
the form

   switch (..) {
     default: break;
   }

We hoped that they would simply be optimised out without comment.  But MSVC
warns about the lack of non-default cases, which then are escalated into
errors, causing the build to fail.  This commit simply disables that warning
feature when building with MSVC.

--HG--
extra : rebase_source : 468022d30cdaf483aaa64fc7aa9dd1308fbc7335
2018-05-27 09:39:06 +02:00
Jan de Mooij
1879873837 Bug 1464134 part 1 - Fix various places to use Realm instead of JSCompartment. r=luke 2018-05-27 11:53:11 +02:00
Cosmin Sabou
4a95166f46 Bug 1463383 - Disable mobile/android/components/extensions/test/mochitest/test_ext_popup_behavior.html for frequent timeouts. r=nbeleuzu 2018-05-27 00:43:00 +03:00
Emilio Cobos Álvarez
14326e571a Backed out changeset d48abd83fc7c (bug 1463884) since it's not the correct fix. r=me
If the font enumeration thread runs during the Servo traversal, it'd end up
thinking it _is_ (incorrectly) a Servo thread.
2018-05-27 10:04:27 +02:00
rahul0379
a90bc4ed77 Bug 1464433 - Cleaning up nsINode::GetElementById. r=emilio 2018-05-27 10:03:48 +02:00
maharsh312
f431bdeaf2 Bug 1464321 - Changed return type of two methods in JSScript with relative format string change. r=arai 2018-05-27 04:00:06 +05:30
Julian Seward
886ec674df Bug 1452588 - Import WebAssembly reference tests for import/export of mutable globals. r=bbouvier.
This bug is for importation of spec tests for the WA mutable-global
extension, as proposed at https://github.com/WebAssembly/mutable-global.

In particular it imports the following tests in that repo:

  test/core/globals.wast (wrapped in JS)
  test/core/linking.wast (ditto)
  test/js-api/jsapi.js

The resulting files linking.js and globals.js are placed in a new
subdirectory, js/src/jit-test/tests/wasm/spec/proposal_mutable_global to
make it clear that they pertain to the proposal, and so as not to alter the
existing tests.

There have also been some changes to the test harness code as required to
support the new tests, as follows:

* js/src/jit-test/lib/wasm-testharness.js: the existing logic for locating
  the harness/ subdir appears to assume that all the test scripts live in
  the same directory, which is no longer the case.  It has been reworked
  so as to use a fixed offset relative to |libdir| rather than a fixed
  offset from |scriptdir|.

* js/src/jit-test/lib/wasm-testharness.js: the revised jsapi.js requires a
  new function |assert_not_equals|, but it does not appear possible to
  define it in the same way that |assert_equals| is defined.  A simple
  implementation of |assert_not_equals| has therefore been added.

* src/jit-test/tests/wasm/spec/harness/index.js: a couple more registry
  entries were added, as required by the new globals.js and linking.js.

* js/src/jit-test/tests/wasm/spec/harness/wasm-module-builder.js: added
  a |mutable| parameter to addImportedGlobal().

* js/src/jit-test/tests/wasm/spec/jsapi.js: there are many changes, but
  almost all of them result simply from the resync.

* js/src/jit-test/tests/wasm/spec/proposal_mutable_global/directives.txt
* js/src/jit-test/tests/wasm/spec/proposal_mutable_global/globals.wast.js
* js/src/jit-test/tests/wasm/spec/proposal_mutable_global/linking.wast.js
  New files.

--HG--
extra : rebase_source : 1f049fced054e2a979c1ab364f75aaf805de1255
2018-05-26 20:04:49 +02:00
Kris Maglione
27f054b14e Bug 1461145: Follow-up follow-up: Fix setTimeout flakiness in tests that load SpecialPowersObserverAPI. r=bustage
MozReview-Commit-ID: 1JTl2Aj1wFK
2018-05-26 18:15:19 -07:00
Kris Maglione
3dd63c92d7 Bug 1461145: Follow-up: Temporarily disable test task for too many failures. r=bustage,test-only DONTBUILD
MozReview-Commit-ID: 8rOOceQfWjG

--HG--
extra : amend_source : 2c236e0983c157bb22b7f341e72e6259b3483bdd
2018-05-26 17:50:23 -07:00
Kris Maglione
c4035f104c Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted
MozReview-Commit-ID: 2yBlykhQsyV

--HG--
extra : rebase_source : d51a663c5f7d4c9cce09c649003c5577fe5952d0
2018-05-22 20:36:39 -07:00
Kris Maglione
9b633c92ac Bug 1457321: Part 4 - Update built-in add-ons manifst during l10n repack. r=ted f=pike
This is slightly ugly, but is unfortunately necessary due to do the nature of
l10n repacks. Hopefully this can go away once we move to bundling lancpack
add-ons rather than repacking in the future.

MozReview-Commit-ID: JZUblVsEbZI

--HG--
extra : rebase_source : 60c9ced2184a52f52c7f2a8820021b14b1a66abf
2018-05-08 01:04:01 -07:00
Kris Maglione
2fe5dce32f Bug 1457321: Part 3 - Load built-in dictionaries from omnijar rather than scanning directories. r=aswan,ehsan
MozReview-Commit-ID: CgYHrcJsYfE

--HG--
extra : rebase_source : 5abbdcb64b30e8f7f3b568b4adf7a047b2a1bf79
2018-04-27 13:43:50 -07:00
Kris Maglione
e2fecdd542 Bug 1457321: Part 2 - Add dictionaries to omnijar. r=ted
MozReview-Commit-ID: 4zqD8Di7Imb

--HG--
extra : rebase_source : 2fdf8d1429ed1de6c86fc9dc880af2aadcc2b84b
2018-04-27 15:43:38 -07:00
Kris Maglione
cfd00caeef Bug 1461145: Follow-up: Fix more racy tests. r=bustage,test-only
MozReview-Commit-ID: 9740WVNkuhX
2018-05-26 16:51:40 -07:00
Kris Maglione
7153d68ecc Bug 1461145: Follow-up: Fix racy tests. r=trivial,test-only
MozReview-Commit-ID: IXaiDpU9l7A
2018-05-26 16:40:33 -07:00
Ciure Andrei
921b95b645 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-27 01:23:31 +03:00
Ciure Andrei
a46cbc1ae5 Merge inbound to mozilla-central. a=merge 2018-05-27 01:17:13 +03:00
Kris Maglione
2e4ef78ad2 Bug 1462842: Follow-up: Fix ESLint bustage. r=eslint-fix,test-only DONTBUILD
MozReview-Commit-ID: 9G9oEqkFqJr
2018-05-26 12:29:13 -07:00
Dão Gottwald
007fc77913 Bug 1462635 - Fix disabled text color in webext theme styled popups. r=ntim
MozReview-Commit-ID: myI1PNipvK

--HG--
extra : rebase_source : 6df227c1bd260dbb296e5b269e6c5c39606db386
2018-05-26 18:45:06 +02:00
Margareta Eliza Balazs
80660b5be9 Backed out changeset c77b29b0e913 (bug 1451827) for bc frequent failures in extensions/test/browser/browser_ext_themes_autocomplete_popup.js 2018-05-26 18:40:06 +03:00
Dão Gottwald
a65aba9fb0 Bug 1451827 - In dark popups styled by webext themes, set --urlbar-popup-url-color and .text-link color to the same value. r=jaws
MozReview-Commit-ID: KkE3VQv19Q0
2018-05-26 12:52:18 +02:00
Margareta Eliza Balazs
b47af51698 Merge inbound to mozilla-central. a=merge 2018-05-26 12:45:17 +03:00
Boris Zbarsky
b74339d763 Bug 1464478. Update the pass-CPOW-to-C++ test to not rely on nodes being passed as xpidl-declared interfaces. r=mrbkap 2018-05-26 00:23:07 -04:00
Boris Zbarsky
7d29e0bc6e Bug 1464519. Remove some dead code in nsXULPopupListener::HandleEvent. r=felipe
We've been bailing out if |target| is not nsIContent for a long time now, so
all the code handling it not being an nsIDOMNode is dead.
2018-05-26 00:23:04 -04:00
Dorel Luca
047df7a932 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Dorel Luca
145f37a74f Backed out changeset 18a7b3b1332d (bug 1464288) for failing reftests at reftest/tests/layout/reftests/display-list/1464288-1.htm a=backout 2018-05-26 07:04:24 +03:00
Randell Jesup
42686d4bdc Bug 1463494: delete the sensor observerlist array in a deferred manner r=froyd,jchen
clean up sensorlist if Dispatch fails
2018-05-25 21:16:28 -04:00
André Bargull
db0ffdf2b9 Bug 1464368 - Mark a few Atomics tests as "random" to avoid frequent intermittents. r=sfink 2018-05-25 06:04:20 -07:00
Yura Zenevich
4b29e3ecdd Bug 1464492 - Pass canceledOkay=true when starting/stopping timers for A11Y_SERVICE_DURATION. r=miker
MozReview-Commit-ID: Kb5yQ8kr9Uk
2018-05-25 11:25:00 -04:00
Eugen Sawin
05fb15050f Bug 1464263 - [1.2] Update settings for non-enabled modules. r=jchen 2018-05-26 01:21:07 +02:00
Eric Rahm
615cc19d67 Bug 1463296 - Handle if size is found but has no output. r=me CLOSED TREE
--HG--
extra : histedit_source : 36f94caad4c6ff419aa94c048dc012d08a41a863
2018-05-25 15:56:32 -07:00
Alex Gaynor
61a3697aef Bug 1464194 - don't crash in ContentParent::RecvAllocateLayerTreeId if the content parent ID doesn't exist; r=jimm
MozReview-Commit-ID: FQxcTj3phIV

--HG--
extra : rebase_source : 15d0547c8359efdf3786a86f441c0232615c181a
2018-05-24 15:30:32 -04:00
Martin Stransky
b887819c71 Bug 1464037 - Replace GL_PROVIDER_GLX by MOZ_X11 to build X11 dependent code, r=lsalzman
In order to have useful Wayland builds we need ability to switch
between GL backends run-time - to use EGL backend for Wayland and GLX backend for X11.

GL_PROVIDER_GLX is used exclusively for GLX GL backend, so let's replace GL_PROVIDER_GLX
build-time check by more general MOZ_X11 check which determines X11 dependent code
and it's valid for both X11 and Wayland builds.

MozReview-Commit-ID: HYobrHveoaP

--HG--
extra : rebase_source : 2d359355ee747f5898d27d8a28d66114f4135f5b
2018-05-24 14:06:31 +02:00
Matt Woodrow
c868a9a37d Bug 1464288 - Make sure PreProcessDisplayLists logic for switching AGRs matches what ComputeRebuildRegion uses. r=miko
MozReview-Commit-ID: F6N0XLCpuEe

--HG--
extra : rebase_source : b706ded33ac5baf6433c99af8cacb62ebcf1e753
2018-05-26 16:55:17 +12:00
Gregory Mierzwinski
6e9713d33a Bug 1462434 - Prevent baseline coverage tests from being skipped. r=jmaher
This patch prevents baseline coverage tests from being skipped when too many tests are being run.

MozReview-Commit-ID: JVTOYZAXbwf

--HG--
extra : rebase_source : dedd6a323445f030b60180805c6c6adf5d10771b
2018-05-23 12:41:52 -04:00
Kris Maglione
426a9ca252 Bug 1463611: Part 3 - Fix nonsense. r=aswan
MozReview-Commit-ID: 4fDq76YZeqN

--HG--
extra : rebase_source : b5808b313d5412953fa7fd0e655e72be26352878
2018-05-22 17:59:05 -07:00
Kris Maglione
0b9210f812 Bug 1463611: Part 2 - Wait for extension startup before resolving install() promise. r=aswan
MozReview-Commit-ID: 3pMvCS9aqLi

--HG--
extra : rebase_source : ad4718fa4129ae4a85ada45205210cd3011ba5ae
2018-05-22 17:38:27 -07:00
Kris Maglione
c547cd77b3 Bug 1463611: Part 1 - Wait for all extensions to finish starting up in promiseStartupManager. r=aswan
MozReview-Commit-ID: 2ABNABT6xr0

--HG--
extra : rebase_source : d97983ca549f02a9e806be538ff62ceb83c0284d
2018-05-22 17:14:59 -07:00
Eric Rahm
299ee7b991 Bug 1463296 - Track section sizes in build metrics. r=jmaher, froydnj
This adds section size metrics in order to track finer grained improvements
and regressions in binary size. Currently it implements tracking of:
  - XUL
  - NSS
  - NSPR
  - mozavcodec
  - mozavutil

The sections tracked are limited in order to avoid too much noise:
  - .text
  - .data
  - .rodata
  - .data.rel.ro
  - .bss

Currently this is limited to measure Linux and Android builds, but can be
easily extended to support other platforms once we have a `size`-like tool
available.

--HG--
extra : rebase_source : 494922e60c1ea47392e3121425d7aacef6c3003a
2018-05-21 17:11:30 -07:00
Kris Maglione
6d70263388 Bug 1462842: Remove obsolete Addon.hasResource method. r=aswan
MozReview-Commit-ID: DicMovwWoAT

--HG--
extra : rebase_source : e663fcaa53f28ec4963696326e783297e272e018
2018-05-18 18:03:14 -07:00
Kris Maglione
0aa7937854 Bug 1462840: Remove obsolete pref-based extension metadata localization. r=aswan
MozReview-Commit-ID: JMlsYjHqisH

--HG--
extra : rebase_source : 530badc6a35778a99e5958880d5fe5bcec6c139a
2018-05-18 17:45:27 -07:00
Kris Maglione
1016a0245d Bug 1462803: Remove obsolete telemetry measurements from XPIProvider. r=aswan
MozReview-Commit-ID: 9YqtsaGYkNe

--HG--
extra : rebase_source : c159804d7f7c40b5bd42babe5deb4102855fd614
2018-05-18 16:36:04 -07:00
Kris Maglione
980ae197a0 Bug 1456243: Remove dead prompt-for-distribution-add-ons code. r=aswan
MozReview-Commit-ID: B4HPk0ho7Cz

--HG--
extra : rebase_source : 35c163e652d4f885405a2fc1d79259b3fb17f4b6
2018-05-17 18:56:50 -07:00
Kris Maglione
10b1f3e064 Bug 1462516: Move more XPI database code out of XPIProvider.jsm. r=aswan
MozReview-Commit-ID: IIoP5GPa4Cu

--HG--
extra : rebase_source : 4993834aa10f1a763ce12c72db44aa0af0f1395e
2018-05-17 18:44:01 -07:00
Kris Maglione
f6471189bd Bug 1462500: Improve our detection of XPI vs. directory installs. r=aswan
This adds a helper so that we consistently detect install type based on
extension the same way.

In the process, it also simplifies some of the code that tries to detect
modification times for unpacked directories, so that it only checks the
directory mtime. We don't support signatures for unpacked directories anymore,
so this has no purpose outside of developer builds with signing disabled.
Those developers can move to touching the install directory's mtime rather than
the manifest file's.

MozReview-Commit-ID: J5LwaXXqyZL

--HG--
extra : rebase_source : f2fb86159c06bbeba2500e04dcde1c565cd39c12
2018-05-17 16:50:05 -07:00
Kris Maglione
b18577b002 Bug 1461069: Remove obsolete state preference migration code. r=aswan
MozReview-Commit-ID: 6B8JLjJqFlg

--HG--
extra : rebase_source : 38e918583019a1ff7d32ae821a76434966cedbe0
2018-05-17 12:28:57 -07:00
Peter Van der Beken
bb7f2d8b30 Bug 1146316 - Leak fix, declare ServiceWorkerPrivate::mSandbox to the CC. r=bkelly.
--HG--
extra : rebase_source : e58052223ab9d79b4c21979bcf3e29caf8c2e32b
2018-05-15 21:36:12 +02:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Kris Maglione
1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
Kris Maglione
fc59c4280d Bug 1450688: Follow-up: Fix rebase bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: Da7ZMvjVZFQ
2018-05-26 12:03:31 -07:00