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

655712 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian d957131916 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 12:44:12 +03:00
Yoshi Cheng-Hao Huang 7282e461be Bug 1556762 - Part 3: Use gcReason to distinguish pretenureObj|Str. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33654
2019-06-11 11:37:01 +02:00
Yoshi Cheng-Hao Huang 44881abeb7 Bug 1556762 - Part 2 : move code to doPretenuring(). r=sfink
This simply separates pretenuring code to another function
doPretenuring(), it doesn't change any logic.

Differential Revision: https://phabricator.services.mozilla.com/D33653
2019-06-11 11:36:44 +02:00
Yoshi Cheng-Hao Huang f606c5e9fd Bug 1556762 - Part 1: move FullBufferReason to each instance, and add a new GCReason. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33652
2019-06-11 11:36:27 +02:00
Noemi Erli 3b770b4690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 06:22:00 +03:00
Karl Tomlinson c606cdd6d0 Bug 1558131 permit PersistentRooted::init() with RootingContext r=sfink
https://hg.mozilla.org/mozilla-central/rev/79d18ff4fe2853abadab372bc3bc00872f52403e#l1.143
added support for PersistentRooted initialization from a RootingContext.
https://hg.mozilla.org/mozilla-central/rev/d2758f635f72f779f712bf9c6e838868ed53c9f7#l5.97
changed the init() methods to require JSContext but continued to support
RootingContext for constructors.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 00:41:32 +00:00
Cosmin Sabou 7658be0902 Backed out 6 changesets (bug 1556321, bug 1556430, bug 1167452) for causing multiple regressions.
Backed out changeset 667da63fb2b1 (bug 1556430)
Backed out changeset 5ec3133f6457 (bug 1556321)
Backed out changeset 585157ab153a (bug 1556321)
Backed out changeset 72fc109fe0f2 (bug 1167452)
Backed out changeset 11d3f2265b35 (bug 1167452)
Backed out changeset 37f9bd277c34 (bug 1167452)
2019-06-11 07:04:16 +03:00
Cosmin Sabou 3d72a8ffe7 Backed out 2 changesets (bug 1547802, bug 1555819) for build bustages on nsDisplayList.
Backed out changeset aea91be6ce82 (bug 1555819)
Backed out changeset 11a69daedddb (bug 1547802)
2019-06-11 06:52:46 +03:00
Matt Woodrow 5dc2d83f7b Bug 1555819 - Remove invalidated display items during PreProcessDisplayLists, since we might not merge their display list. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D33881

--HG--
extra : moz-landing-system : lando
2019-06-11 02:20:21 +00:00
Matt Woodrow 72068e14f5 Bug 1547802 - Compute a single caret frame for the entire display list, and remove the option to invalidate frames during painting. r=miko,smaug
Previously we computed a caret frame each time we started display list building for a pres shell, and tracked a stack of these as we descended through subdocuments.
This meant that we couldn't know if the caret frame had changed before we started building, and we instead had to support invalidations in the middle of building.

Since there should only ever be one focused document, we can instead retrieve this from the focus manager, and find the sole caret frame for all documents we want to paint.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 02:20:09 +00:00
Hiroyuki Ikezoe 8f5e20cee0 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 02:40:20 +00:00
Jim Blandy 4ff64f4001 Bug 1470558: js/src/vm/Debugger.h: Move forward declarations to top. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D25096

--HG--
extra : moz-landing-system : lando
2019-06-10 20:21:33 +00:00
Jim Blandy a4fc1b9c4f Bug 1470558: Debugger::slowPathOnLeaveFrame: move 'suspending' block a little later. r=jorendorff
Our ultimate goal in this bug is to include information about yields and awaits
in the completion value passed to the `onPop` handler. This means that detecting
when a frame is being suspended becomes just another step in building a
completion value. That change becomes a little clearer if those two steps happen
next to each other.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:21:10 +00:00
Jim Blandy fc95c2347d Bug 1470558: js::Debugger::slowPathOnLeaveFrame should always get a pc for non-WASM frames. r=jorendorff
Add an assertion.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:19:34 +00:00
Jim Blandy f6fc9fdcc0 Bug 1539654: Ensure generator scripts observed by Debugger.Frames are marked as debuggees. r=jorendorff
When a Debugger.Frame refers to a generator/async call, the generator's script
must be marked as a debuggee, so that if the call is resumed, the
JSOP_AFTERYIELD bytecode is compiled to the instrumentation that re-associates
the extant Debugger.Frame with the new concrete frame.

This extends DebugScript with a new field `generatorObserverCount`, akin to
`stepperCount`, which tracks the number of Debugger.Frames referring to the
script if it is a generator script. This count is adjusted when the
`GeneratorInfo` structure is attached to a `DebuggerFrame`, cleared, and
finalized.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:06:34 +00:00
Jim Blandy e49025602e Bug 1539654: Add all-and-only object property patterns to SpiderMonkey's Match.js test library. r=jorendorff
The new export Pattern.OBJECT_WITH_EXACTLY is like the ordinary Pattern
constructor, but also fails to match if the actual value has any extra
properties.

The default behavior of object matching (to ignore additional properties) is
left unchanged, since there are too many extant tests that rely on this behavior
to be worth fixing.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 00:35:33 +00:00
Jim Blandy 1c4edbdc73 Bug 1539654: Improve error messages from SpiderMonkey test Match library. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D32393

--HG--
extra : moz-landing-system : lando
2019-06-10 18:51:30 +00:00
Jim Blandy 626777ab35 Bug 1551176: Drop a generator script's stepper count when its Debugger.Frame is GC'd. r=jorendorff
A Debugger.Frame for a generator or async call continues to refer to the same
call across suspensions (awaits and yields). This means that, even as the
underlying concrete frames (InterpreterFrame, BaselineFrame) come and go, the
Debugger.Frame retains its relationship with a particular
AbstractGeneratorObject. When that generator is resumed, the Debugger.Frame
acquires the new concrete frame as its new referent.

Normally, when a stack frame is popped, if it had a Debugger.Frame with an
onStep handler, we decrement the frame's script's stepper count, since that
Debugger.Frame's onStep handler is obviously not going to fire any more; the
frame is dead. But in the case of a generator or async frame, the generator call
may be resumed at some point, so for such frames, we leave the script's stepper
count incremented until the generator call returns, throws, or otherwise exits
permanently.

This means that if a Debugger.Frame and its AbstractGeneratorObject are GC'd, we
must decrement the generator's script's stepper count. Of course, the script
itself may also be being GC'd, in which case we need not do anything.

This patch makes DebuggerFrame::clearGenerator solely responsible for dropping
the stepper count on generator frames. Since DebuggerFrame::finalize already
clears the frame's generator, this takes care of the stepper count automatically.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:17:00 +00:00
Jim Blandy 3518a7f809 Bug 1551176: Make DebuggerFrame::GeneratorInfo retain a pointer to the generator script. r=jorendorff
In later patches in the series, DebuggerFrame needs to be able to access a
generator's script even when the generator object itself is being finalized, so
it's simpler to just hold a reference to it directly.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 23:42:40 +00:00
Jim Blandy 6a4f411cd7 Bug 1551176: Use DebuggerFrame::generator instead of GetGeneratorObjectForFrame where possible. r=jorendorff
Since GetGeneratorObjectForFrame is a bit involved (it looks up the identifier
'.generator' on the scope chain) and not entirely reliable (it returns nullptr
between the GENERATOR and SETALIASEDVAR .generator opcodes), it's better to
simply fetch the generator from the DebuggerFrame, when one is available.

Since a DebuggerFrame has a generator exactly when there is an entry in
generatorFrames going the other direction, from generator to DebuggerFrame, this
means that Debugger::removeFromFrameMapsAndClearBreakpointsIn can actually do
its job reliably, which lets us remove certain kinky conditions in The Famous
Step Count Assertion of 1874.

In other cases, GetGeneratorObjectForFrame is the only option, and its flakiness
doesn't matter; document those a bit better.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 12:17:04 +00:00
Nick Thomas da9bee53fe Bug 1557204 - remove unused check_uptake support, r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34121

--HG--
extra : moz-landing-system : lando
2019-06-07 15:50:04 +00:00
Yura Zenevich e3e6d52193 Bug 1558194 - fix background styling for audit overlay in dark mode. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34353

--HG--
extra : moz-landing-system : lando
2019-06-10 18:40:18 +00:00
Denis Palmeiro 7b9e1b6ba5 Bug 1558271 - Update mozilla/browsertime snapshot to b8c1becaee74970a6f6e4222a64d1e2e18f20cd6 r=nalexander
Changes include a fix for visual metrics calculations on desktop, and appending visual metrics information to gecko profiles.

Additionally, add the browsertime-results directory to gitignore.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 21:03:22 +00:00
Cosmin Sabou 22bf0df6b7 Bug 1535423 - Fix Android bustages. r=bustage-fix
--HG--
extra : rebase_source : 890c775f4e8081440c04113665d4318678e17f98
2019-06-11 01:52:01 +03:00
Thomas e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +00:00
Cosmin Sabou 51cdaa15e1 Bug 1549115 - Fix browser chrome failures on browser_parsable_script.js. r=jaws 2019-06-11 01:47:00 +03:00
Zibi Braniecki 963c84b982 Bug 1539714 - Trigger initial localization even if layout started. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34400

--HG--
extra : moz-landing-system : lando
2019-06-10 20:06:08 +00:00
Andreea Pavel 9ba5553f62 Bug 1535423 - Disable PromptDelegateTest for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D34348

--HG--
extra : moz-landing-system : lando
2019-06-10 22:15:38 +00:00
Cosmin Sabou 8740a180ae Backed out changeset 6689a98f4a9f (bug 1551801) for Gtest failures on Snap_On_Momentum. 2019-06-11 01:22:04 +03:00
Noemi Erli dcf9fc1cbc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-11 00:52:20 +03:00
Noemi Erli 9cc480e673 Merge inbound to mozilla-central. a=merge 2019-06-11 00:47:19 +03:00
Dan Minor bfa03916c9 Bug 1556766 - Add telemetry for WebRTC video codecs used in calls; r=chutten,drno
This adds a scalar for the codecs used when receiving and sending video in
a WebRTC call.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:28:23 +00:00
Brian Hackett 8359c6b639 Bug 1558111 - Initialize record/replay state first in XRE_InitChildProcess, r=ehsan.
Differential Revision: https://phabricator.services.mozilla.com/D34361

--HG--
extra : rebase_source : 6a2472d01e9073047a18b4e2200364ca19833d5f
2019-06-10 05:34:34 -10:00
Byron Campen [:bwc] 1d1125d7a0 Bug 1531885: Surface certificate-related errors in RTCPeerConnection's c'tor, fix an error type, and re-enable a test. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33569

--HG--
extra : moz-landing-system : lando
2019-06-10 15:12:29 +00:00
Michael Kaply c78cca1357 Bug 1557717 - Locked preferences shouldn't be reenabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D34163

--HG--
extra : moz-landing-system : lando
2019-06-10 15:06:19 +00:00
jaril 69f1083c8c Bug 1553557 - Change preview-selection to preview-token.
Differential Revision: https://phabricator.services.mozilla.com/D34293

--HG--
extra : moz-landing-system : lando
2019-06-10 13:47:45 +00:00
Jonathan Kew 870189af7d Bug 1552121 - Reftest for suppression of auto-hyphenation in words with internal capitals. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D33956

--HG--
extra : moz-landing-system : lando
2019-06-10 15:00:29 +00:00
sotaro ec2350cffb Bug 1557105 - Handle non-webrender widget case during enabling WebRender at ImageBridge r=nical
ImageBridgeChild has only one global TextureFactoryIdentifier. When WebRender is enabled, it is used for both WebRender widget and non-WebRender(BasicCompositor) widget. WebRenderImageHost and ImageHost are incompatible and WebRenderTextureHost does not permit to be consumed on compositor thread. Then it does not work well for non-WebRender widget. To address the problem at ImageContainer, ImageContainer needs to know a connected widget type. It is not easy in some cases like WebRTC. Then host side could address the problem easier.

CompositableParentManager::FindCompositable() is changed to permit transform from WebRenderImageHost to ImageHost if it is necessary when WebRenderImageHost belongs to ImageBridge.

WebRenderTextureHost is changed to permit to consume wrapped TextureHost on compositor thread. If the wrapped TextureHost is BufferTextureHost, it is possible to comsume the TextureHost on compositor and on RenderThread, since they are memory buffer or shared memory buffer. WebRTC code always create BufferTextureHost for video frame. Then it works.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 12:36:14 +00:00
Mike Conley 9bf5c64368 Bug 1555834 - Hide the Picture-in-Picture toggle for <video> elements that resolve to audio-only after loading metadata. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D34421

--HG--
extra : moz-landing-system : lando
2019-06-10 21:23:12 +00:00
Alexander Surkov 09778aec0b Bug 1557942 - Remove unnecessary usage of closest() from searchbar.js r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D34401

--HG--
extra : moz-landing-system : lando
2019-06-10 21:15:13 +00:00
Gautham Velchuru 3fa3987bb4 Bug 1557223 - Remove deprecated op r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34306

--HG--
extra : moz-landing-system : lando
2019-06-10 15:02:02 +00:00
Hiroyuki Ikezoe d3a8e429e1 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 16:25:05 +00:00
Jared Wein 8d4b1eb080 Bug 1549115 - Add a test for telemetry events in about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D33223

--HG--
extra : moz-landing-system : lando
2019-06-10 20:43:18 +00:00
Jared Wein 4af125de15 Bug 1549115 - Assign telemetry object names for copy-to-clipboard buttons. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D33222

--HG--
extra : moz-landing-system : lando
2019-06-10 20:43:17 +00:00
Jared Wein a34597dc00 Bug 1549115 - Record telemetry events for about:logins page interactions. r=chutten,johannh,MattN,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D29950

--HG--
extra : moz-landing-system : lando
2019-06-10 20:43:10 +00:00
Jared Wein fc5529f130 Bug 1549115 - Only events dispatched from a shadow DOM target needs to have composed:true. r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D33221

--HG--
extra : moz-landing-system : lando
2019-06-10 20:43:03 +00:00
Agi Sferro a641bc8da0 Bug 1554260 - Send WebExtension Page messages to GeckoSession. r=snorp
WebExtension pages introduce a case that was previously not possible: a script
with full WebExtension privileges that runs on a page with a GeckoSession
associated to it.

This breaks the assumption that all messages from a privileged context don't
have a GeckoSession associated to it. We fix this by checking if we can find an
eventDispatcher for the given window.

This also fixes the test which had the same wrong assumption.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:09:25 +00:00
Dzmitry Malyshau f43371a2ff Bug 1474294 - Enable WR perspective box shadow reftest r=Gankro
a follow-up to the actual fix and the reftest

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:05:00 +00:00
Mike Conley 3a05d6bfd8 Bug 1541178 - In RTL locales, put the Picture-in-Picture to the left side of the window. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D34410

--HG--
extra : moz-landing-system : lando
2019-06-10 19:59:58 +00:00
Karl Tomlinson f361ee2253 Bug 1444508 remove obsolete expected failures r=padenot
These have been lingering since
https://hg.mozilla.org/mozilla-central/rev/3ac736416349
due to bug 1474463.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 15:38:05 +00:00