Commit Graph

628905 Commits

Author SHA1 Message Date
Andreas Pehrson
1e5789506e Bug 1515032 - Add mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D14871

--HG--
extra : moz-landing-system : lando
2018-12-19 15:43:02 +00:00
Jim Blandy
b24022116e Bug 1503613: Make 'mach xpcshell-test' print the command in shell syntax. r=ted
When passed the `--verbose` flag, `mach xpcshell-test` already prints the
current directory, environment variables, and command used for the test.
However, it prints them in Python syntax. This seems like a good thing to do, as
it's a clear indication of what the test is actually doing. But if one wants to
reproduce a problem by running the xpcshell command directly, it's an
error-prone pain to convert from Python lists of strings to the Bourne shell
syntax.

Fortunately, the Python 2.7 `pipes` module has a function, `pipes.quote`, which
produces properly quoted Unix shell commands, ready to be copied and pasted into
one's terminal.

Unfortunately, the xpcshell tests still clean up the $obj/temp/xpc-plugins-FOO
directory, so this still isn't quite ready to go.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:37:32 +00:00
Gabriele Svelto
a962c06211 Bug 1511557 - Do not leak the pipe used for sending crash annotations when hitting errors during startup r=jld
Differential Revision: https://phabricator.services.mozilla.com/D14744

--HG--
extra : moz-landing-system : lando
2018-12-19 15:29:09 +00:00
Ehsan Akhgari
aeb407a001 Bug 1515165 - Remove the eTLD+1 checks from the anti-tracking backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D14886

--HG--
extra : moz-landing-system : lando
2018-12-19 14:52:30 +00:00
Ted Mielczarek
ca6f7a626f bug 1512499 - handle psutil returning None for physical_cores. r=froydnj
psutil has a bug on arm systems where it will return None for physical_cores:
https://github.com/giampaolo/psutil/issues/1359

This causes us to generate invalid telemetry data which raises an error. Fix
this by simply omitting the field in this case.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:07:11 +00:00
Raphael Pierzina
b07405f9f7 Bug 1515320 - Fix functionality to retrieve the current search engine in TestSearchCounts; r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D14966

--HG--
extra : moz-landing-system : lando
2018-12-19 14:26:22 +00:00
Dorel Luca
d586d50b96 Backed out changeset be2cd52df099 (bug 1512416) for build bustage 2018-12-19 14:24:31 +02:00
Margareta Eliza Balazs
2e5e28f518 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Bogdan Tara
91d742d138 Merge inbound to mozilla-central. a=merge 2018-12-19 06:50:57 +02:00
Bogdan Tara
953eb3d0f8 Merge autoland to mozilla-central. a=merge 2018-12-19 06:46:17 +02:00
Brian Hackett
490b175062 Bug 1044074 - Don't run resize or scroll events while documents have events suppressed, r=smaug.
--HG--
extra : rebase_source : 47b98b215d3131fa3e6e88948fdd67aaf41524a9
2018-12-18 15:38:45 -10:00
Jan Varga
f1c68bcc8c Bug 1513859 - Followup fix to make eslint happy; r=bustage CLOSED TREE 2018-12-19 13:08:42 +01:00
Jan Varga
849998a8e0 Bug 1513859 - CPOWs can still cause a hang with LSNG enabled; r=asuth 2018-12-19 12:38:23 +01:00
longsonr
0c49fd38bf Bug 1514570 - devirtualise IsSVGFocusable by having SVGAElement (its only override) directly override the higher level IsFocusableInternal API r=dholbert 2018-12-19 09:41:11 +00:00
Jan Varga
710767771a Bug 1513850 - dom/reporting/tests/browser_cleanup.js fails with LSNG enabled; r=asuth 2018-12-19 10:21:10 +01:00
Dorel Luca
176695a3b3 Backed out changeset 7e548edaf318 (bug 1485016) for build bustage 2018-12-19 10:39:10 +02:00
Bogdan Tara
a5963704c0 Backed out changeset 134d6c86e984 (bug 1509442) for browser_webAudio_silentData.js failures CLOSED TREE 2018-12-19 03:03:42 +02:00
Coroiu Cristina
0e430197d3 Backed out changeset 7b8dad8341e4 (bug 1510225) for wpt failures at src/netwerk/protocol/http/nsHttpChannel.cpp 2018-12-19 02:23:36 +02:00
Alex Gaynor
bf8eaa16e8 Bug 1515170 - in the IPDL compiler, don't use 'is' for comparing strings; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D14889

--HG--
extra : moz-landing-system : lando
2018-12-18 20:58:09 +00:00
Ehsan Akhgari
88f52ec120 Bug 1514762 - Delay modifying the observer list until we hit the event loop; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14830

--HG--
extra : moz-landing-system : lando
2018-12-19 14:15:57 +00:00
dlee
c9e502918e Bug 1504774 - Fix url-classifier worker thread is not aborted while shutting down. r=francois
In Bug 1453038, |mUpdateInterrupted| is set in Classifer::Close() which is
called by PreShutdown to abort an ongoing update. That doesn't handle
all the cases.

The SafeBrowsing update involves two threads, worker thread, and update
thread. Update thread takes care of most of the update work, when it finishes
its task, it posts a task back to the worker thread to apply the updated database
and also do some cleanup stuff. Then the update is complete.

The fix in Bug 1453038 doesn't abort an update if the woker thread is doing
the job. This is because the |mUpdateInterrupted| flag is set in the
worker thread. The PreShutdown event which eventually sets the flag has to
wait until the worker thread's current task is done.

In this patch:
1. Check nsUrlClassifierDBService::ShutdownHasStarted() to abort shutdown.
This is set by main thread so both worker thread and update thread can
be interrupted now.
2. mIsClosed is now replaced by the mUpdateInterrupted. The semantics of
mUpdateInterrupted is now changed to abort update for any internal APIs
which should cause an update to abort.
3. Remove |mUpdateInterrupted| and |ShutdownHasStarted()| checks and
unify with |ShouldAbort()|

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

--HG--
extra : moz-landing-system : lando
2018-12-19 10:03:19 +00:00
Tooru Fujisawa
b8ac1952ca Bug 1515224 - Part 2: Remove test files for BinTokenReaderTester. r=Yoric
Depends on D14934

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

--HG--
extra : moz-landing-system : lando
2018-12-19 13:57:10 +00:00
Tooru Fujisawa
a0488e6e87 Bug 1515224 - Part 1: Remove BinTokenReaderTester. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D14934

--HG--
extra : moz-landing-system : lando
2018-12-19 13:52:45 +00:00
Gijs Kruitbosch
bbb8d21b4b Bug 1514652 - deal with async translations and their sizing in the sanitize dialog, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D14864

--HG--
extra : moz-landing-system : lando
2018-12-19 13:47:17 +00:00
Dustin J. Mitchell
8f0373b372 Bug 1515188 - fix list_task_group to use GET r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D14940

--HG--
extra : moz-landing-system : lando
2018-12-19 12:57:19 +00:00
Gijs Kruitbosch
66556c1eac Bug 1515102 - remove support-files annotation for files that are no longer there or used, r=Standard8 a=Aryx
Differential Revision: https://phabricator.services.mozilla.com/D14873

--HG--
extra : source : f98b9ca9b29d2da3bf1bed1a37927bed21c4a278
2018-12-18 18:29:21 +00:00
Florin Strugariu
1435da9871 Bug 1513837 Add ebay to tp6 r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D14543

--HG--
extra : moz-landing-system : lando
2018-12-18 17:45:07 +00:00
Florens Verschelde
77cbc33fd2 Bug 1513501 - Use open-inspector.svg in Rules view for sharper rendering; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D14293

--HG--
extra : moz-landing-system : lando
2018-12-19 12:02:31 +00:00
Marco Bonardo
cc99e09b2b Bug 1511693 - Expose base classes for providers and muxers. r=Standard8
Creates base classes for providers and muxers. All the classes are exposed
by UrlbarUtils, for 2 reasons:
1. UrlbarProvidersManager on instantiation is importing provider modules, that
   may reimport the manager module. Exposing classes from it could cause a
   recursive failure.
2. It's nicer if only one of the urlbar modules exports multiple symbols (thus
   moving the QueryContext class here too)

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

--HG--
extra : moz-landing-system : lando
2018-12-19 12:57:43 +00:00
Brindusan Cristian
df66fd18a1 Merge inbound to mozilla-central. a=merge 2018-12-18 19:34:11 +02:00
matthias
1ffb306df3 Bug 1512332 - Photonized focusring for menulist etc. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14001

--HG--
extra : moz-landing-system : lando
2018-12-18 14:25:15 +00:00
Martin Stransky
973fb364ec Bug 1512416 - [Wayland/OpenGL] Resize wl_elg_window when widget scale changes, r=jhorak"
Differential Revision: https://phabricator.services.mozilla.com/D14404

--HG--
extra : moz-landing-system : lando
2018-12-19 08:46:27 +00:00
Dorel Luca
8f660cb8b7 Backed out changeset ad264a713556 (bug 1490427) for build bustage. CLOSED TREE 2018-12-19 13:13:13 +02:00
Gregory Mierzwinski
a4f3ec9f0b Bug 1490427 - Build and use custom d8 from a toolchain task. r=jmaher,ahal
This patch adds a toolchain task for building d8 with customized build settings and uses it in jsshell benchmark tests. A customized image with a debian9-base ('custom-v8') is added by this patch as well and is required to build the tool.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 08:18:28 +00:00
Andreas Pehrson
88cb071d63 Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt
Differential Revision: https://phabricator.services.mozilla.com/D14421

--HG--
extra : moz-landing-system : lando
2018-12-19 04:34:10 +00:00
Andreas Pehrson
8dec05474b Bug 1513638 - Don't resolve DOMMediaStream::CountUnderlyingStreams promise in stable state. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14420

--HG--
extra : moz-landing-system : lando
2018-12-18 15:39:54 +00:00
Alexandre Poirot
5cddbab43d Bug 1513565 - Remove now-unused form argument from Target. r=yulia
Depends on D14280

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:36:06 +00:00
Alexandre Poirot
21e7072949 Bug 1513565 - Convert the last manually instantiated fronts to target.getFront. r=yulia
Depends on D14279

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:59 +00:00
Alexandre Poirot
ac13c87f42 Bug 1513565 - Get rid of all target.form usages. r=yulia,nchevobbe
Depends on D14278

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:57 +00:00
Alexandre Poirot
bd9855b903 Bug 1513565 - Always use Target's WebConsoleClient instead of trying to instantiate it manually. r=yulia,nchevobbe
This will help getting rid of another usage of Target.form.
And also helps instantiating only one WebConsole client.
Once WebConsole becomes a front, we can replace all the target.activeTab
to target.getFront("console").

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:55 +00:00
shindli
64b3a44ed2 Backed out 3 changesets (bug 1512428, bug 1513040) for causing raptor tp6-5 perma failures on Windows 7 opt/pgo
Backed out changeset bab13130b3f0 (bug 1513040)
Backed out changeset e69ec9477ef8 (bug 1513040)
Backed out changeset 5278b8d5dfe9 (bug 1512428)
2018-12-18 16:13:12 +02:00
Margareta Eliza Balazs
4d0c09ec59 Backed out changeset 3fcc7597cd8d (bug 1429198) for ES lint failure in builds/worker/checkouts/gecko/browser/components/payments/res/paymentRequest.js. CLOSED TREE
--HG--
extra : amend_source : cd939d4dce261184414b49626d0ca916ac6c8a99
2018-12-18 15:50:33 +02:00
Cristina Coroiu
3aeca11e88 Bug 1484442 - disable test_input_number_mouse_events.html on mac debug for frequent failures r=jmaher 2018-12-18 13:51:00 +02:00
Ted Campbell
457ff26c77 Bug 1502744 - Profiler should allow unsynced baseline addresses. r=jandem
The assert was overzealous and should just be removed. Other return
addresses reported by iterator are just sampled by stack and don't
indicate if stack is synced or not.

Also, fix up an out-of-date comment here.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 11:10:08 +00:00
shindli
1c998613b1 Backed out changeset 61de4550c887 (bug 1512416) for bustages in builds/worker/workspace/build/src/widget/gtk/mozcontainer.cpp:230:15 2018-12-18 15:53:38 +02:00
Alexandre Poirot
87bb1e2701 Bug 1513028 - Throw exception with stack and message when a module doesn't exists. r=jdescottes
loadSubScript throws a string, without any stack/location.
Consider all string exceptions as coming from loadSubScript and re-throw a real error
object, coming with the stack of the require call.
Also handle wrong require path with a more explicit error message.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 13:35:42 +00:00
Alexandre Poirot
690a921d87 Bug 1514819 - Convert RootFront.getWindow to return a front instead of a form. r=yulia
This method is only used by target-from-url, it allows to return
a target got one precise top level window and instead of the whole main process.

It looks like it was the very last non-front/still-form target codepath.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:54:01 +00:00
Andrew Creskey
96ae71fa3f Bug 1514752 Define hero user timing before performance entry is created r=rwood
1-line fix to hero element timing: the performance entry would show up as 'undefined' in profiles because the variable was defined later.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:40:43 +00:00
Martin Stransky
4f8c2372b0 Bug 1512416 - [Wayland/OpenGL] Resize wl_elg_window when widget scale changes, r=jhorak"
Differential Revision: https://phabricator.services.mozilla.com/D14404

--HG--
extra : moz-landing-system : lando
2018-12-18 08:59:18 +00:00
shindli
3841c4f8cd Backed out 3 changesets (bug 1512655) for bustages in s/xpconnect/src/XPCComponents.cpp:2001 CLOSED TREE
Backed out changeset 2593c7d67f51 (bug 1512655)
Backed out changeset da21d7e91e19 (bug 1512655)
Backed out changeset ccb15a086148 (bug 1512655)
2018-12-18 14:55:53 +02:00