Commit Graph

655849 Commits

Author SHA1 Message Date
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
Denis Palmeiro
2c01bcf632 Bug 1558271 - Set verbose to false by default in ./mach browsertime r=nalexander
Flip set_log_level to false by default so we don't clutter stdout.  Flip on with --verbose.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 19:30:00 +00:00
Denis Palmeiro
14c0ec2b1c Bug 1558271 - Add browsertime-results to hgignore r=nalexander
browsertime-results is the default output directory for mach browsertime.  It should be part of hgignore to not clutter the workspace.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 19:43:22 +00:00
Denis Palmeiro
c32ed0ea49 Bug 1551355 - Use TimeStamp::NowUnfuzzed() instead of TimeStamp::Now() during gecko profiling r=mstange
The profiler will require non-fuzzed timers for accuracy.  Making the switch early will avoid surprises when FuzzyFox is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:35:42 +00:00
Ryan VanderMeulen
8da85f8ef1 Bug 1558258 - Only run GeckoView unit and Android HW media tests on non-ESR trees. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D34396

--HG--
extra : moz-landing-system : lando
2019-06-10 19:28:37 +00:00
Cosmin Sabou
91f14eaf0d Backed out 4 changesets (bug 1549115) for bc failures on browser_eventTelemetry.js. CLOSED TREE
Backed out changeset 978d0626cfe4 (bug 1549115)
Backed out changeset 7d2f103f518b (bug 1549115)
Backed out changeset 72c14692f06c (bug 1549115)
Backed out changeset 5fe74bee049e (bug 1549115)
2019-06-10 22:00:44 +03:00
Aaron Klotz
f5fd73482a Bug 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D34390

--HG--
extra : moz-landing-system : lando
2019-06-10 18:52:38 +00:00
Luca Greco
3c296fbc6f Bug 1556389 - Show report action only on currently supported addon types. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D34341

--HG--
extra : moz-landing-system : lando
2019-06-10 18:38:57 +00:00
Nika Layzell
f02c5f7c87 Bug 1555753 - Always enable Browsing Context preservation in fission windows, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D33544

--HG--
extra : moz-landing-system : lando
2019-06-10 13:06:46 +00:00
Aaron Klotz
1a96a7dc26 Bug 1548630: Preload wintypes.dll off main thread; r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D34030

--HG--
extra : moz-landing-system : lando
2019-06-10 18:43:23 +00:00
Cosmin Sabou
0ab9a65596 Backed out changeset ce509bb0895a (bug 1557161) for Windows 2012 AArch64 build bustages. CLOSED TREE 2019-06-10 21:45:55 +03:00
Yura Zenevich
8e39f82bc5 Bug 1558188 - ensure TreeView's tbody container does not get keyboard focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34351

--HG--
extra : moz-landing-system : lando
2019-06-10 18:32:40 +00:00
Ricky Rosario
c93b7f1009 Bug 1556867 - Remove the old about:private browsing code and pref r=fluent-reviewers,Mardak,Pike,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33711

--HG--
extra : moz-landing-system : lando
2019-06-10 17:01:54 +00:00
Jonathan Kew
d38df7fe45 Bug 1552121 - Suppress auto-hyphenation of words with any internal capital letters. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31408

--HG--
extra : moz-landing-system : lando
2019-06-10 11:51:30 +00:00