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

681524 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 948d330640 Bug 1596911 - refresh the ignore list with the new exts r=Gijs
Depends on D53266

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:02:02 +00:00
Sylvestre Ledru 4056ec2363 Bug 1596911 - Activate the license lint on more extensions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53266

--HG--
extra : moz-landing-system : lando
2019-11-26 14:59:31 +00:00
Sylvestre Ledru e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Gabriele Svelto f8581fc656 Bug 1599449 - Add bug 1371390 to the breakpad patches we apply locally to prevent updates from clobbering it r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54728

--HG--
extra : moz-landing-system : lando
2019-11-26 14:42:24 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Krish De Souza e6b8e53803 Bug 1591751 - Updated snapcraft.yaml and Dockerfile to make use of modern snapcraft features. r=jlorenzo
In this patch I have adapted the Docker file to make use of core18 and snapcraft3.
This is the recommended approach as stated here.
https://snapcraft.io/docks/t/creating-docker-images-for-snapcraft/11739
Specifically the part talking about replacing likes FROM ubuntu:xenial with FROM ubuntu:bionic.


In snapcraft.yaml.in, I adjusted the snap by using the gnome-3-28 extensions as described in
https://forum.snapcraft.io/t/the-gnome-3-28-extension/13485.
In addition, I followed the instructions presented by removing the unnecessary plugs relating
to the desktop extension and adding the relevant dbus slot.

As part of the build process, it required a bunch of extra staged packages which I have documented.
I also used the magic part from Ken Vandine's thunderbird snapcraft for updating mime info.
https://bazaar.launchpad.net/~ubuntu-desktop/thunderbird/snap/view/head:/snapcraft.yaml
I also removed the xdg-open as that seemed to not be enabling the building of the snap.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:34:47 +00:00
ssengupta 70cc52ae23 Bug 1595085 - BackgroundCursorChild::SendContinueInternal discards cached responses conditionally also for ContinuePrimaryKey r=sg
Differential Revision: https://phabricator.services.mozilla.com/D54518

--HG--
extra : moz-landing-system : lando
2019-11-26 13:33:56 +00:00
Mike de Boer 092cf95f26 Bug 1599172 - Re-initialize the Search Service when the pref 'browser.search.modernConfig' is flipped, to aid in testing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D54683

--HG--
extra : moz-landing-system : lando
2019-11-26 12:35:43 +00:00
Tim Nguyen eddf20e619 Bug 1583925 - Replace commonDialog.xul XUL grid with CSS grid. r=dao
This makes use of display: contents; in order to preserve the row-based markup that is needed by JS to hide certain rows.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:41:16 +00:00
Jon Coppeard 293374b30f Bug 1599071 - Remove unnecessary GlobalObject::getOrCreateFinalizationGroupPrototype r=anba
Differential Revision: https://phabricator.services.mozilla.com/D54689

--HG--
extra : moz-landing-system : lando
2019-11-26 10:52:03 +00:00
Nicolas Chevobbe 8879b749c1 Bug 1536523 - Support performance.getEntries result in console.table. r=Honza.
PerformanceEntry values are put in the `getterValue` property in
the descriptor, so whenever we want to display a table we need
to check if the value could be in there.
This highlighted an issue in the console layout when there is a
large number of cells, which we fix in this patch.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 09:56:40 +00:00
Nicolas Chevobbe 544183d2c2 Bug 1067710 - Bump console.table columns limit to 21 to match Chrome. r=Honza.
Increasing the number of columnns highlighted some issues:
- Some element could be off-screen, the grid-template-columns
  needed to be adjusted
- headers could be cut-off, we add a title on the element to
  have the full content in a tooltip
- properties that are not defined were displayed as "undefined",
  which is not really true, and take a lot of space. We render
  them as an empty cell in such case now.

A test is added to check the max-column limit.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:21:12 +00:00
Andreas Tolfsen 66d0f10ce2 bug 1526364: browser: show visual cue when remote agent is listening; r=Gijs,remote-protocol-reviewers,maja_zf
We want to display a visual hint to the user that the browser session
is under control by a browser-external client when the remote agent
is listening.  The hint is the same as for when Marionette is active.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:54:38 +00:00
Andreas Tolfsen b749854d09 bug 1526364: browser, marionette: use "remote-listening" to indicate remote control; r=Gijs,marionette-reviewers,remote-protocol-reviewers,maja_zf
This changes the event Marionette emits when it is running from
"remote-active" to "remote-listening".

The background for this change is that the forthcoming Chromium-based
remote protocol uses the same observer notification to indicate
when it listens for browser-external connections.  This means that
with this change, the visual hint presented to the user will also
be applied when the remote agent starts its HTTPD listener.

Unlike Marionette however, the remote debugging protocol may be used
for browser-internal applications and it is not appropriate to signal
that the browser is under remote control under those circumstances,
hence the naming change away from "active".

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:23:29 +00:00
Ted Campbell b1c82e8668 Bug 1599104 - Add JSFunction::delazifySelfHostedLazyFunction(). r=jandem
Split out the self-hosted handling from delazifyLazilyInterpretedFunction
since it will need to be handled differently when LazyScript merges with
JSScript.

Depends on D54526

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:24:55 +00:00
Ted Campbell e3a2bc094a Bug 1599104 - Add JSFunction::enclosingScope(). r=jandem
Hide the check for LazyScript vs JSScript inside an accessor function.

Depends on D54525

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:11:09 +00:00
Ted Campbell 14050e5ead Bug 1599104 - Simplify JSFunction::maybeCanonicalFunction(). r=jandem
The 'function()' method is already defined on BaseScript, so this is
straightforward to fix.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:00:52 +00:00
Sylvestre Ledru 1075743c03 Bug 1599397 - Improve the contribution tutorial + add new job doc r=marco
Differential Revision: https://phabricator.services.mozilla.com/D54693

--HG--
extra : moz-landing-system : lando
2019-11-26 12:43:42 +00:00
Andreas Tolfsen 86fc45b83b bug 1599400: remote: vendor puppeteer to c5a72e9
This contains maja_zf's browser picker changes.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:33:44 +00:00
Martin Stransky a731b16af1 Bug 1599016 [Wayland] Don't use GL_TEXTURE_EXTERNAL_OES textures with DMA BUF backend, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D54690

--HG--
extra : moz-landing-system : lando
2019-11-26 11:15:48 +00:00
Jan de Mooij d3860ab285 Bug 1599117 part 3 - Remove IonBuilder::detectAndOrStructure. r=tcampbell
I think this has been effectively dead code for a few years because we no longer
create the triangle structure for JSOP_AND and JSOP_OR.

Depends on D54535

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

--HG--
extra : moz-landing-system : lando
2019-11-25 17:59:22 +00:00
Jan de Mooij 3005c217ee Bug 1599117 part 2 - Restore empty-block + improveTypesForTest behavior for test instructions. r=tcampbell
When an MTest instruction results in a triangle structure, we now create an
empty block (like we did before bug 1595476) to get a diamond structure.
We did this for short-circuit operators but not for other cases.

We now also call improveTypesForTest for this block.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:27:59 +00:00
Jan de Mooij 9685b22c47 Bug 1599117 part 1 - Remove createFallthroughJoinBlock, create the join block upfront if needed. r=tcampbell
createFallthroughJoinBlock was necessary at some point, but it no longer is
because we know before the loop whether we have incoming edges.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:27:18 +00:00
Michael Ratcliffe 135486b4d9 Bug 1594810 - Remove DevTools support for IndexedDB persistent storage r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52564

--HG--
extra : moz-landing-system : lando
2019-11-23 23:30:36 +00:00
Jan de Mooij d17c300a9d Bug 1567327 - Fix some OOM issues when generating BaselineInterpreter code. r=iain
* Use NonAssertingLabel in BaselineInterpreterHandler, similar to BaselineCodeGen fields.
* Make addDebugInstrumentationOffset report OOM.

No test case because the fuzz test is huge and this patch is based on the stack traces.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 14:34:59 +00:00
Michal Novotny f155107d8c Bug 1528850 - ws-over-h2 receive seems unreliable, r=dragana
The patch changes InputStreamShim::AsyncWait() so it checks the buffer state and if there is some data available the callback is immediately notified. Without this check the callback would be notified only when new data is delivered from the network.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 08:20:59 +00:00
Jan de Mooij ab7994b1db Bug 1598784 - Use Maybe<PendingEdgesMap> in IonBuilder instead of calling clearAndCompact(). r=tcampbell
This ensures we properly destruct inline elements too.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 14:53:46 +00:00
Mu Tao 82e6d98832 Bug 1598289 - MacroAssembler::cmp32LoadPtr not defined on mips{32|64}. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D54127

--HG--
extra : moz-landing-system : lando
2019-11-26 10:25:55 +00:00
Philip Chimento db8f1802f1 Bug 1590907 - Add safeguard when JS_BITS_PER_WORD affects struct layout. r=sfink
This should specifically prevent bug 1553938 from happening in the
future. Unfortunately it won't prevent other similar bugs from
happening.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:26:45 +00:00
Philip Chimento 49d1b6ea2a Bug 1590907 - Revert bug 1553938. r=sfink
It turns out that we don't actually want to install js-confdefs.h
because it contains macro definitions that can conflict when embedders
include JSAPI headers in their Autotools projects.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:42 +00:00
Philip Chimento 46313a101e Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal
Whether ENABLE_INTL_API and ENABLE_TYPED_OBJECTS are defined, affects
the behaviour of JS_FOR_PROTOTYPES for the prototypes of Intl and
TypedObject. Therefore, these macros have to be available to embedders.
Rename them to JS_HAS_INTL_API and JS_HAS_TYPED_OBJECTS (in line with
the existing JS_HAS_CTYPES) everywhere they are used, and add them to
js-config.h.in.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:35 +00:00
Philip Chimento 60223e4965 Bug 1590907 - Remove preprocessor dependence from size of ContextOptions. r=sfink
Previously, if SpiderMonkey embedders linked to a copy of libmozjs built
with --enable-cranelift, --enable-wasm-gc, or --enable-fuzzing, then the
size of the ContextOptions data structure declared in the header file
would be different than the size of ContextOptions in the library,
likely leading to crashes. This makes all members of ContextOptions
independent of preprocessor macros. Any options not compiled into
SpiderMonkey will still be no-ops.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:22 +00:00
Philip Chimento efe8a8c1bf Bug 1590907 - Include JS_FOO macros that influence public API in js-config.h. r=sfink
These are configure macros that start with JS_ and have an effect on the
public API declared in JSAPI header files, so they should be included in
the installed js-config.h header file.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:15 +00:00
Philip Chimento a896136d45 Bug 1590907 - Determine 64-bit in public JS header without configure macro. r=froydnj,sfink
If only relying on JS_64BIT to determine whether the system is 64-bits,
then the result will be incorrect when the header is installed as a
public header for use by embedders, and since JS_BITS_PER_WORD affects
the layout of structs in header files, things will go badly wrong.

This uses two other ways of determining pointer width, hopefully
cross-platform enough. __SIZEOF_POINTER__ is a GCC-ism and probably
works in Clang as well. UINTPTR_MAX is hopefully sufficiently
cross-platform as a last resort.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:02 +00:00
Philip Chimento dda8b08621 Bug 1590907 - Stop configure macros from masking function prototypes in public JS headers. r=jwalden,sfink
We should have the same public API available whenever possible, and make
it a no-op or make it throw immediately if JS was built without support
for it, instead of showing or hiding the API in header files using
configure macros. Otherwise embedders can easily get mismatches between
a library with functionality and header files without it, or vice versa.

There was no good reason why JS_GetErrorType() was nightly-only API, so
this also enables it unconditionally.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:27:27 +00:00
Jon Coppeard daf691f279 Bug 1515934 - Add jsapi tests for read barriers r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D54553

--HG--
extra : moz-landing-system : lando
2019-11-26 10:07:34 +00:00
Jon Coppeard 0449d764c4 Bug 1515934 - Don't trigger WeakHeapPtr read barrier on comparison r=sfink
This should have been obvious; we didn't end up declaring ElementType on WeakHeapPtr.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:07:25 +00:00
Jon Coppeard b351269776 Bug 1597925 - Add post barrier tests for wrapper types which support move construction and move assignement r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D54551

--HG--
extra : moz-landing-system : lando
2019-11-26 10:24:43 +00:00
Jon Coppeard 616359aa2c Bug 1597925 - Allow moving wrapped pointer types without triggering pre-barriers or asserting that their contents are not gray r=sfink
More use is being made of C++ move semantics recently and this imporves support for moving our GC wrapper types. In this case we don't want to trigger the pre-barrier on the source of the move because we are not modifying the object graph. We also do not want to check that wrapper contents are non gray, because this is valid (it's not valid to *create* a new heap pointer to a GC thing).

The patch adds a release() method to wrappers that returns the original contents of the wrapper after clearing it, without triggering a pre-barrier. Also it adds setUnchecked() methods to set wrapper contents without the gray marking check.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:24:43 +00:00
Jon Coppeard 85570557c2 Bug 1597925 - Refactor GC wrapper comparison tests a little r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D54304

--HG--
rename : js/src/jsapi-tests/testGCHeapPostBarriers.cpp => js/src/jsapi-tests/testGCHeapBarriers.cpp
extra : moz-landing-system : lando
2019-11-26 10:07:06 +00:00
Raymond Liu 152a169cac Bug 1214556 - Add open url MenuItem for links in Web Console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54418

--HG--
extra : moz-landing-system : lando
2019-11-26 09:04:29 +00:00
Jan Varga 6ba032116d Bug 1592934 - Refactor some storage initialization methods before adding new telemetry probes; r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D54307

--HG--
extra : moz-landing-system : lando
2019-11-25 15:04:43 +00:00
Mihai Alexandru Michis 0dc4b7231c Bug 1598971 - Fix spell lint failures. a=lint-fix CLOSED TREE
--HG--
extra : amend_source : 7f3391519a009242cabef46a5ebe50d451aee8b8
2019-11-26 12:21:18 +02:00
Sylvestre Ledru ba488cdc09 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato
Depends on D54430

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

--HG--
extra : moz-landing-system : lando
2019-11-25 10:06:12 +00:00
Sylvestre Ledru df4066dd02 Bug 1598971 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54430

--HG--
extra : moz-landing-system : lando
2019-11-25 20:08:17 +00:00
Csoregi Natalia 0d43b1dd19 Merge mozilla-central to autoland. CLOSED TREE 2019-11-26 11:39:23 +02:00
Csoregi Natalia cce8b90aec Merge autoland to mozilla-central. a=merge 2019-11-26 11:33:06 +02:00
Emilio Cobos Álvarez 008850fba9 Bug 1598968 - Make MediaControlUtils a proper header. r=MeFisto94,alwu
Differential Revision: https://phabricator.services.mozilla.com/D54643

--HG--
rename : dom/media/mediacontrol/MediaControlUtils.h => dom/media/mediacontrol/MediaControlUtils.cpp
extra : moz-landing-system : lando
2019-11-26 09:25:33 +00:00
Masayuki Nakano ab0ac8c7e6 Bug 1581192 - `WidgetEvent::mFlags::mDispatchedAtLeastOnce` needs to be reset before dispatching in content process again r=smaug
The crash occurs when dispatching a user input event which is a default action
of a raw user input event like `click` event caused by `mouseup` event if
the raw event's `isTrusted` is set to `false` accidentally during dispatch.

User input events are fired in the main process first.  Then,
`EventStateManager` sends it to remote process from `PostHandleEvent()` if
necessary.  However, at this time, `WidgetEvent::mFlags::mDispatchedAtLeastOnce`
is never rest, but its only referrer, `EventDispatcher::DispatchDOMEvent()`
assumes that when it's `true`, `WidgetEvent::mFlags:mIsBeingDispatched` is
`false`.  Therefore, only in content process, `mouseup` event's `isTrusted` is
set to `false` by `EventTarget.dispatchEvent()` even while it's being dispatch.
And also the trusted state will be used for creating next event which is part
of the default action.
https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/dom/events/EventDispatcher.cpp#1121,1126,1130-1131,1135,1138,1143

Therefore, this patch makes `WidgetEvent::mFlags` reset `mDispatchedAtLeastOnce`
when it's copied across process boundary and make
`EventDispatcher::DispatchDOMEvent()` won't modify being dispatched events for
avoiding any odd issues.

Unfortunately, this patch adds "expected: FAIL" to the new WPT test only on
Windows.  The failure reason is still unclear.  I cannot reproduce the failure
on my Windows environment, but on Try Server, it fails permanently since
the driver succeeds to send the mouse click, but the button never receives
`mouseup` nor `click` event.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 09:08:38 +00:00
Gurzau Raul 5f0c55aacb Backed out changeset 50a04d79f020 (bug 1574285) for causing Bug 1597457 at ANdi's request. a=backout 2019-11-26 08:52:53 +02:00