Commit Graph

628854 Commits

Author SHA1 Message Date
Julian Descottes
b87c7d40b1 Bug 1500393 - Add support for push service URL in new about:debugging;r=ladybenko,Ola
Looks like we missed this feature when doing the initial service worker support
so implementing here. UI-wise, I reused the same wording/positioning etc as in the current
about:debugging.

Note that this is another spot that uses client.request, so we will need to clean this up
when we finally add a front to represent service worker registrations.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 17:55:51 +00:00
Gijs Kruitbosch
b39448e581 Bug 1514348 - remove MOZ_FEEDS and --enable/--disable-feeds , r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14974

--HG--
extra : moz-landing-system : lando
2018-12-19 16:55:01 +00:00
Andrew McCreight
09534362bf Bug 1471989 - Clear JSStackFrame's JS object pointer when the window goes away. r=bzbarsky
JSStackFrames are C++ objects that are exposed to chrome JS and keep
alive content JS. This means that if chrome JS leaks a stack frame
then a window can be leaked.

The basic idea of this patch is to think of JSStackFrames as
cross-compartment wrappers, and do a "hueyfix" on them by dropping the
content JS reference when the associated content window is closed.

To do that, this patch modifies the realm private to keep a list of
all live JSStackFrames that have been created with objects in that
realm. When we nuke that realm, we also clear out all of the JS
pointers from the registered stack frames on that realm.

This adds a hash table lookup to the JSStackFrame ctor and dtor, which
is hopefully not too much overhead.

The test works by intentionally leaking a JSStackFrame from chrome JS
and making sure that the window still goes away.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 16:46:25 +00:00
James Willcox
4fc444bb59 Bug 1514252 - Use 160 DPI and a device pixel scale of 1.0 for GeckoView tests. r=geckoview-reviewers,mbrubeck#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14565

--HG--
extra : moz-landing-system : lando
2018-12-19 16:43:29 +00:00
Shane Caraveo
86f1948e8b Bug 1513717 fix browser_ext_tabs_events intermittent failure, r=rpl
The test failed if onHighlighted was received late, since it has an array of IDs.  This change should address any case where we need to get the tab from id.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:54:53 +00:00
Eugen Sawin
b27a383fe0 Bug 1511477 - [2.0] Extend tracking protection test. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D14792

--HG--
extra : moz-landing-system : lando
2018-12-19 15:48:47 +00:00
Margareta Eliza Balazs
da52cd7623 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 18:02:55 +02:00
Margareta Eliza Balazs
b444c2c62a Backed out changeset 20bedd28b46d (bug 1515188) for causing merge conflict. CLOSED TREE 2018-12-19 18:01:30 +02:00
Margareta Eliza Balazs
ca776030e5 Merge inbound to mozilla-central. a=merge 2018-12-19 17:46:11 +02:00
Mark Banner
c1e84b088d Bug 1512627 - Fix intermittent issue in browser_searchTelemetry by ensuring we wait for all scalars before continuing. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14894

--HG--
extra : moz-landing-system : lando
2018-12-19 15:45:25 +00:00
Margareta Eliza Balazs
c0be9f0949 Merge autoland to mozilla-central. a=merge 2018-12-19 17:44:34 +02:00
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