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

649350 Коммитов

Автор SHA1 Сообщение Дата
David Parks 406cc6afbf Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz
TrampolineCollection iterates over an array of Trampolines that it has set 'write' permissions for.  If this happens in a process whose sandbox forbids dynamic code then these permissions cannot be set.  This patch detects that condition and returns an empty TrampolineCollection in that case.  We ASSERT if we fail to set permissions for any other reason.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:07:20 +00:00
Logan Smyth 9d48e224c0 Bug 1547115 - Memoize breakableLines to avoid resetting in editor often. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29245

--HG--
extra : moz-landing-system : lando
2019-04-29 21:05:15 +00:00
Glenn Watson 3ba7bef4b0 Bug 1547632 - Remove unused local clip rect stored on WR picture primitives. r=emilio,kvark
Differential Revision: https://phabricator.services.mozilla.com/D29148

--HG--
extra : moz-landing-system : lando
2019-04-29 16:16:11 +00:00
Sebastian Hengst 4dfe30642b Backed out 4 changesets (Bug 1501108) for causing very frequent leaks in macOS debug wpt tests: Set API key provided by api-lint tasks. a=backout
--HG--
extra : rebase_source : bc12d5324f51967f4c15ac9a896d4a6b26463f03
2019-04-29 22:53:40 +02:00
Brindusan Cristian 4dd4a41d4e Backed out changeset 9b16812e723e (bug 1547750) for telemetry failes at test_subsession_management.py. 2019-04-29 23:45:51 +03:00
Sebastian Hengst 3dd01e8232 Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)

--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
Mike Shal 64d89508cd Bug 1541818 - Remove atime check on mac; r=froydnj
The noatime option doesn't appear to have a significant impact on no-op
build times, even though the build system does a significant number of
file reads. Since macs have atime enabled by default, we should just
disable this check rather than give developers unhelpful error messages.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:47:33 +00:00
danielleleb 16eccef48a Bug 1541459 - Removes additional securityOnLoad function call. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27099

--HG--
extra : moz-landing-system : lando
2019-04-29 17:40:19 +00:00
Jan-Erik Rediger 986844dc72 Bug 1545391 - Move ClientID.jsm into Telemetry component r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29206

--HG--
rename : toolkit/modules/ClientID.jsm => toolkit/components/telemetry/app/ClientID.jsm
rename : toolkit/modules/tests/xpcshell/test_client_id.js => toolkit/components/telemetry/tests/unit/test_client_id.js
extra : moz-landing-system : lando
2019-04-29 15:39:35 +00:00
Julian Descottes 4bd5637bbd Bug 1514787 - Remain on the same Runtime page when reloading about:debugging r=ladybenko,daisuke
The idea is to wait for ADB runtimes to be available before trying to render the initial route.
This way if we happen to find the runtime matching the current runtime, and if we still have a connected client for it, we can display the same runtime page.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:32:16 +00:00
Andrew McCreight badd0c05ce Bug 1547800 - Remove superfluous static cast of loadInfo in nsDocShell::DoURILoad(). r=qdot
Bug 1487964 changed loadInfo to have a concrete type, so this cast is
no longer needed.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:53:33 +00:00
Emilio Cobos Álvarez ccc940508d Bug 1546019 - When a focused browser changes remoteness, make sure to activate the remote browser if needed. r=qdot
Not quite sure what's a good way to add a test for this... Ideas?

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

--HG--
extra : moz-landing-system : lando
2019-04-29 20:06:22 +00:00
Julian Descottes ebf9be668a Bug 1500354 - Add title to about:devtools-toolbox tabs r=ladybenko
Depends on D28964

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

--HG--
extra : moz-landing-system : lando
2019-04-29 20:01:50 +00:00
Julian Descottes 729c4f0a48 Bug 1500354 - Use window favicon for about:devtools-toolbox r=ladybenko
Depends on D28963

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

--HG--
extra : moz-landing-system : lando
2019-04-29 20:02:22 +00:00
Julian Descottes 4fa2c8fc42 Bug 1500354 - Use wrench favicon for about:debugging r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D28963

--HG--
extra : moz-landing-system : lando
2019-04-29 15:58:03 +00:00
David Parks d9d0882177 Bug 1546545: Part 1 - Properly store pointer to sandboxed DLL intercepted method r=aklotz
Bug 1533808 introduced code to intercept DLL methods that the Chromium sandbox had already intercepted.  That patch did not store the the pointer to the intercepted function in the trampoline data, as is done when intercepting other methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 00:49:32 +00:00
Ting-Yu Lin a23fce0b97 Bug 1547606 - Mark multicol-span-all-margin-bottom-001.xht fail for Android x86 non-e10s. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D29234

--HG--
extra : moz-landing-system : lando
2019-04-29 18:43:08 +00:00
Narcis Beleuzu 7b6eba4fa3 Backed out changeset ea8bdd612f43 (bug 1538161) for bustages on rust_cascade . CLOSED TREE 2019-04-29 23:06:51 +03:00
Kartikaya Gupta 71bf7c3485 Bug 1544517 - Add a pref that controls conversion of mouse events to touch events. r=geckoview-reviewers,rbarker
For TV devices, it is useful to have mouse events automatically
interpreted as touch events. On other devices, such as more desktop-like
Android devices, we want to treat mouse events as mouse events. This patch
makes this behaviour controllable by a pref, but keeps the existing default
behaviour of treating mouse events as touch events.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:24:39 +00:00
Andrew McCreight f1b333ee80 Bug 1547772 - Add back GenerateQI to offline LSan WPT whitelist. r=chmanchester
I accidentally removed this in a prior whitelist cleanup.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:36:23 +00:00
Robert Strong cdc1a126d9 Bug 1547440 - cleanup waitForCondition calls in app update browser chrome tests. r=bytesized
Change BrowserTestUtils.waitForCondition to TestUtils.waitForCondition per waitForCondition comment in BrowserTestUtils.
Catch waitForCondition exceptions and let checks in the tests catch the failure when dynamic information is helpful for debugging.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 16:35:56 +00:00
Robert Strong b20cd15708 Bug 1547432 - Change browser_TelemetryUpdatePing.js to be consistent with other app update telemetry tests. r=bytesized
Renames browser_TelemetryUpdatePing.js to browser_telemetry_updatePing_ready.js so it is consistent with the update test naming scheme.
Changes the test to use runTelemetryUpdateTest instead of runUpdateTest.
Add the test to the BITS manifest so it tests downloading the update using BITS.

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

--HG--
rename : toolkit/mozapps/update/tests/browser/browser_TelemetryUpdatePing.js => toolkit/mozapps/update/tests/browser/browser_telemetry_updatePing_ready.js
extra : moz-landing-system : lando
2019-04-29 16:31:04 +00:00
Mark Goodwin 9a21c9d07f Bug 1538161 - Vendor rust_cascade r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D24557

--HG--
extra : moz-landing-system : lando
2019-04-29 19:29:38 +00:00
Julian Descottes ad63201618 Bug 1537992 - Rename Profiler button and modal in about:debugging r=Ola,flod
Differential Revision: https://phabricator.services.mozilla.com/D29135

--HG--
extra : moz-landing-system : lando
2019-04-29 15:31:34 +00:00
Shane Caraveo 0d7fd5c81e Bug 1391992 add cookiestoreid to proxy and webrequest details r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D28929

--HG--
extra : moz-landing-system : lando
2019-04-29 18:36:17 +00:00
Shane Caraveo 0873aa1a01 Bug 1545163 add incognito flag to proxy and webrequest details r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D28925

--HG--
extra : moz-landing-system : lando
2019-04-29 18:00:12 +00:00
Henrik Skupin fdfa7dd694 Bug 1544686 - [raptor] Allow CLI arguments to override Gecko profiler settings from test manifest. r=perftest reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D28047

--HG--
extra : moz-landing-system : lando
2019-04-29 13:35:51 +00:00
Henrik Skupin 27e49c37df Bug 1544686 - [raptor] Make Gecko profiler threads customizable in the harness. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D28046

--HG--
extra : moz-landing-system : lando
2019-04-23 15:37:30 +00:00
Henrik Skupin f957b3ea28 Bug 1544686 - [raptor] Fix Gecko profiler settings. r=rwood
When the Gecko profiler is enabled the interval and entries as specified
in manifest files aren't correctly set. Instead the default values from
the extension are always used.

Also with WebRender enabled the threads are "WR", and "Renderer", but
not "WR,Renderer".

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

--HG--
extra : moz-landing-system : lando
2019-04-23 15:37:29 +00:00
dlee b57dd97761 Bug 1545033 - P3. SetTrackingInfo in UrlClassifierFeatureTrackingAnnotation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D28791

--HG--
extra : moz-landing-system : lando
2019-04-26 13:04:41 +00:00
dlee 2baaee894b Bug 1545033 - P2. Add SetMatchedTrackingInfo in nsIClassifiedChannel. r=baku
This patch adds |setMatchedTrackingInfo| to channel to report matches that
are found in tracking annotation tables.

We have done something similar in nsIClassifiedChannel::setMatchedInfo to
report phishing protection matches.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:03:50 +00:00
dlee daa17adb9e Bug 1545033 - P1. Pass matched hash values to ProcessChannel. r=baku
In origin telemetry, we want to record the matching statistic of each entry
in our tracking tables. To identify which entry a given URL matches, it needs
the hash value that matches the safe browsing database.

This patch passes the hash value to ProcessChannel so Features can obtain the
information and pass it.

Note that it is possible that an URL may find multiple matches. If an URL matches
hash A of list 1 and hash B of list 2, the parameter in ProcessChannel looks like:
aList = [list 1, list2]
aHashes = [hash A, hash B]

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:02:35 +00:00
Chris H-C 6fcaf1a08b Bug 1547750 Disable cache smart sizing for telemetry-tests-client r=raphael
This is because the smart sizer changes a monitored userPref close to
startup, which induces an extra "main" ping (causing tests to fail).

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:51:21 +00:00
Shane Caraveo 174c8d6c4d Bug 1544489 use separate strings to localize install prompt for unknown sites. r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27606

--HG--
extra : moz-landing-system : lando
2019-04-29 19:00:55 +00:00
Emilio Cobos Álvarez ebc5efc1e9 Bug 1440537 - Don't propagate flushes across docgroup boundaries. r=bzbarsky
We don't need to flush layout in the parent document if the parent and child
documents can't observe each other.

This will also match our behavior in a Fission world.

I'm not attached to the name of the function, better ideas welcome.

Differential Revision: https://phabricator.services.mozilla.com/D28217
2019-04-29 20:47:44 +02:00
Emilio Cobos Álvarez 4da8e6c33a Bug 1440537 - SwapFrameLoaders should flush frames. r=bzbarsky
swapFrameLoaders relies on frame information, but doesn't ensure it's
up-to-date.

The test for this (test_swapFrameLoaders.xul) is relying right now on one of
flushes from the inner documents to also flush the parent document and thus
ensure there's a frame created.

With the patch for this bug, that flush no longer propagates to the parent
document, and the test fails because we throw in:

https://searchfox.org/mozilla-central/rev/66086345467c69685434dd1c5177b30a7511b1a5/dom/base/nsFrameLoader.cpp#1634

This API could probably be made to work without that requirement, but it's
probably not worth it. For now just flush.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:45:03 +00:00
Gijs Kruitbosch 0094c57bf2 Bug 1547756 - remove support for -register commandline flag because it's bogus in 2019, r=froydnj
Apparently introduced by bryner back in 2002, and refactored numerous times without too much scrutiny, this:
- presumably was there for binary components (which are no longer supported)
- or external (add-on) restart-required components (ditto)
- or really any non-builtin components (ditto)
- and would presumably at one point store data somewhere... except that's kinda hard without a profile.
- seems to have never been documented, as far as I can tell.

So let's remove it.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:24:32 +00:00
Brindusan Cristian 318a177f68 Backed out changeset f2a3fb166dfb (bug 1538779) for nojit build bustages at backup-point-bug1315634.js. CLOSED TREE 2019-04-29 21:27:59 +03:00
Andrew Swan ade3cfe17e Bug 1547463 Explicit load customElements.js where necessary r=bgrins
commonDialog.xul and profileDowngrade.xul both may load early enough
during startup that they don't automatically get customElements.js.
The quick workaround here is just to load it explicitly in those documents.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:14:17 +00:00
Jason Laster d831a88525 Bug 1547314 - Remove references to updatedSource. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29036

--HG--
extra : moz-landing-system : lando
2019-04-29 17:52:58 +00:00
Steve Fink c8c09edba2 Bug 1538779 - Make `Rooted<MyContainer> c(cx)` the equivalent of `Rooted<MyContainer> c(cx, MyContainer(cx))` if possible r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26797

--HG--
extra : moz-landing-system : lando
2019-04-29 17:38:14 +00:00
Brad Werth 86e52030da Bug 1538681 Part 2: Add a perma-fail test that scrollbars appear in proper location after resizing viewport. r=botond,gl
The test is marked as perma-fail because there are complications with
getting RDM and WindowSnapshot.js to work together. 4 approaches are
discussed in the test itself, and one is attempted, which perma-fails.
The approach that is attempted is the most likely to be turned into an
unexpected pass in the future, so the test is being added as perma-fail.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:54:52 +00:00
Brad Werth 47f6d7796a Bug 1538681 Part 1: Backout a change that added an early-exit in MobileViewportManager::UpdateResolution. r=botond
This change was originally added as a drive-by optimization in Bug 1501665.
The early-exit apparently routes around a needed side effect in the case
where resolution is re-set to its current value.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:54:19 +00:00
Daniel Holbert 0a3e6713c9 Bug 1546499: Downgrade nsVideoFrame's unexpected-child assertion. r=xidorn
Also, make the assertion shorter & more to the point. In particular,
I'm removing the note about stray whitespace, which is based on one
previous scenario that caused extra child frames; but I don't have
much confidence that potential future causes of this assertion-failure
will have that specific problem as their root cause.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 20:28:52 +00:00
Doug Thayer 51d2d911d6 Bug 1542833 - Collect cold startup scalar r=chutten,florian
Differential Revision: https://phabricator.services.mozilla.com/D27953

--HG--
extra : moz-landing-system : lando
2019-04-29 17:15:23 +00:00
Emily Toop 21210ed5c9 Bug 1546744 - Ensure we are testing for the correct things when validating screenshots r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D28983

--HG--
extra : moz-landing-system : lando
2019-04-26 20:49:00 +00:00
Jamie Nicol 9fd3bd8252 Bug 1530195 - Call restoreNormalRefresh before closing window. r=kats
A test was intermittently crashing because it was calling
restoreNormalRefresh after closing the window. This meant
LayerTransactionParent::RecvLeaveTestMode fired after the
CompositorBridgeParent had been destroyed.

This fixes the test by calling restoreNormalRefresh before
win.close. It also checks mDestroyed in RecvLeaveTestMode (for both
LayerTransactionParent and WebRenderBridgeParent).

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:06:35 +00:00
David Teller 2267b2f90a Bug 1545751 - In BinAST, pass Context while parsing;r=arai
The Context 0.1 format specifies that the (de)compression of nodes is determined by:
- its node type;
- its parent type;
- the index in the parent node;
- whether the node is an element of an array.

This patch modifies the parser generator to pass the information during parsing.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:24:55 +00:00
Dzmitry Malyshau 3aa374797c Bug 1525641 - Revise WR backface visibility semantics, separate picture and primitive logic r=gw
This changes our backface visibility semantics to a slightly more complex rule,
as described by Matt (and reinterpret by me in the context of WR) in bug 1525641 during our work week.
We are now propagating is_backface_visible to pictures and evaluate it in the context of
the local transform for a picture if it's outside of preserve-3d context.
We also refactor get_relative_transform() a bit.

Note: this fixes all of the existing backface-visibility bugs: 1525641, 1546110, 1546818
It also passes the Wrench tests, but the try push is still pending for surprises.

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

--HG--
rename : gfx/wr/wrench/reftests/backface/backface-leaf.yaml => gfx/wr/wrench/reftests/backface/backface-3d-leaf.yaml
extra : moz-landing-system : lando
2019-04-29 16:45:38 +00:00
Ehsan Akhgari 2422b99643 Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor.  This patch refactors the clone method to avoid using
SetIsolated().

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00