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

639309 Коммитов

Автор SHA1 Сообщение Дата
Kai Engert 2fda622819 Bug 1529227, Don't export NSS CMS functions not required by Firefox, r=keeler 2019-02-28 10:21:31 +01:00
Jeff Walden 637b436666 Bug 1530883 - Stop skipping some tests that actually pass. r=anba
--HG--
extra : rebase_source : 7fc2fa335fa3ef9e578cfba5f576ebaefb5c7131
2019-02-27 17:24:06 -08:00
Julian Seward e6111cabb2 Bug 1530991 - wasm baseline: fix the "don't create stackmap" criterion in createStackMap(). r=lhansen.
StackMapGenerator::createStackMap() creates stack maps in the wasm baseline
compiler.  For release builds, it first performs a check to determine whether
the stackmap would describe only non-ref words, and if so, exits without
creating the map, since the map would be useless.

To make the check cheaper, it is inexact but safe, so it sometimes causes a
map to be created even though it is unnecessary.  Specifically, the vector
|extras|, which may contain a description of exit stub register save
locations, is regarded as possibly-contributing-refs if it is merely
non-empty.  The actual contents are not checked.  This causes creation of
33,688 unnecessary stack maps in the Tanks test case, probably one for each
function.

The fix is simple.  Actually check every element of |extras| to see if any are
|true|.  This makes the test exact, removes all unnecessary map creation, and
reduces the Tanks compile cost from 2.43 billion instructions to 2.39 billion
instructions.  That is, the shortcut was overall a loss anyway, presumably due
to the extra costs incurred by the pointless stackmap creation.

--HG--
extra : rebase_source : 4990f28ec6d3d50e289432572c79a6ca105aecc3
2019-02-27 17:49:30 +01:00
Daniel Varga e91fc4acc1 Merge autoland to mozilla-central. a=merge 2019-02-27 18:29:22 +02:00
Daniel Varga e417e61290 Backed out changeset b59977d42a4d (bug 1521772) requested by Andi. a=backout 2019-02-27 18:27:08 +02:00
Masayuki Nakano 1a1542b28c Bug 1466208 - part 23: Create PresShell::EventHandler::ComputeEventTargetFrameAndPresShellAtEventPoint() r=smaug
We cannot move each block into separated methods while computing EventTargetData
because we need to check capturing contents, etc.  Therefore, only each block
should be moved to separated methods for now.

This moves a block which computes event target from point of the event.  If
this can be moved to EventTargetData, it might be easier to understand, but
its helper method GetFrameToHandleNonTouchEvent() requires to access members
of EventHandler.  Therefore, we need to treat EventTargetData as an out param
of the new method.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:59:30 +00:00
Boris Zbarsky d05d4927fc Bug 1520831 followup. Mark some more tests as passing. r=bzbarsky 2019-02-27 23:06:27 -05:00
Ciure Andrei 440cabd8dc Backed out changeset 56d817208b35 (bug 1451079) for failing browser_ext_runtime_setUninstallURL.js CLOSED TREE 2019-02-28 05:38:41 +02:00
Dorel Luca d43c47ed29 Bug 1511247 - Disabled devtools/client/accessibility/test/browser/browser_accessibility_panel_highlighter_multi_tab.js on Linux64 debug for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D21375

--HG--
extra : moz-landing-system : lando
2019-02-27 15:39:45 +00:00
Jean-Yves Avenard fc260afed4 Bug 1531201 - Don't assume all frames' time is greater than 0. r=gerald
We now allow frames to have a negative time (so that they can be decoded and trimmed).

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

--HG--
extra : moz-landing-system : lando
2019-02-28 02:34:04 +00:00
Kris Maglione 4f0e434bce Bug 1518863: Part 5 - More extension protocol handler cleanup. r=aswan
This is not strictly related to the rest of the patches, but it was annoying
me while I wrote them.

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

--HG--
extra : rebase_source : d9fa9ce79e63c2098e74fd401ccaccf7bf22eabf
2019-02-26 21:09:40 -08:00
Kris Maglione 73a527c54f Bug 1518863: Part 4 - Add tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D21449

--HG--
extra : rebase_source : 4bb7654ce9a5538cad170633dcf5ddffeed7ce45
2019-02-27 13:57:08 -08:00
Kris Maglione 4dfb42d89b Bug 1518863: Part 3 - Initialize stub extension policies in child during startup. r=aswan
We already create early stub policy objects in the parent process during
extension startup, so that early load attempts and policy queries can succeed
during startup and extension installation. This patch does the same for child
processes, which likewise may be asked to load extension URLs early during
startup when they override the homepage or have pages loaded from session
restore.

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

--HG--
extra : rebase_source : 189cecff691630336f38c16568f64350a5b2637c
2019-02-27 13:26:03 -08:00
Kris Maglione 1a8317619b Bug 1518863: Part 2 - Delay extension protocol requests until extension is ready. r=aswan
We don't want extension protocol load requests to begin loading until the
extension is far enough initialized to run code. If we load it before then,
the extension framework will either fail to recognize the extension entirely,
or may begin running its scripts in an incomplete environment.

This patch adds a slow path which adds a promise handler and creats a stub
channel only in the case when the extension is not ready. In the normal,
already-initialized case, we take the more direct path.

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

--HG--
extra : rebase_source : ca770d241ff68192716feace67cd512565ae6b24
2019-02-27 11:54:31 -08:00
Kris Maglione 78eef88f98 Bug 1518863: Part 1 - Add ready promise to WebExtensionPolicy. r=aswan
This adds a promise member to the stub WebExtensionPolicy objects that we
create early during extension initialization which resolves when the real
extension instance is ready to load content. This promise will be used by the
extension protocol handler to delay loads until the framework is ready to
handle them.

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

--HG--
extra : rebase_source : 14dccdc7c955b97879e8b93cf11f18b61723ed18
2019-02-27 13:26:37 -08:00
Mike Hommey a8d52ed2ff Bug 1530818 - PrefetchVirtualMemory is WINAPI. r=dmajor a=aryx
Differential Revision: https://phabricator.services.mozilla.com/D21304

--HG--
extra : source : ae89133ff9bd067f8b7d1d619f3c85bd5659fb2c
extra : histedit_source : 38e046383a5e40da42bece64390f6e49ea56dda3
2019-02-27 00:45:57 +00:00
Csoregi Natalia 2a6f3dde00 Merge inbound to mozilla-central. a=merge 2019-02-27 06:31:28 +02:00
Csoregi Natalia 50a7e15520 Merge autoland to mozilla-central. a=merge 2019-02-27 06:29:10 +02:00
Gurzau Raul 8b285d0a8f Backed out changeset 279a75b5a6d4 (bug 1429432) for failing at test_notification_insecure_context.html on a CLOSED TREE. 2019-02-27 03:25:08 +02:00
Bogdan Tara 18bcb54a7e Backed out changeset bf486c5f798b (bug 1522246) for ES Lint failure CLOSED TREE 2019-02-27 02:51:26 +02:00
Bogdan Tara a780967ed0 Backed out changeset 592350649c0f (bug 1522246) for browser_test_performance_metrics.js failures CLOSED TREE 2019-02-27 02:50:41 +02:00
Brian Hackett d9d9f82b72 Bug 1522246 - Don't check for information from shared worker in test. 2019-02-26 14:28:43 -10:00
Nicholas Nethercote f476546aaa Bug 1530311 - Add a length check to HashTable::reserve(). r=luke
Also add an assertion to a similar function in PLDHashTable.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 00:08:13 +00:00
Mike Hommey fb0665284b Bug 1530562 - Enable DMD by default when possible. r=mshal
And remove the manual --enable-dmd in in-tree mozconfigs, as well as
--enable-profiling, which is implied by --enable-dmd.

This disables DMD on add-on-devel builds, which don't look like they
were actually meant to have DMD enabled in the first place (they only do
because they use the nightly mozconfig on all branches, and as a matter
of fact, the nightly mozconfig didn't enable DMD before bug 1409739)

This enables DMD on mingw builds with the same conditions applied as
other platforms, meaning that it's not enabled on opt builds on release
branches.

And this enables DMD on plain builds, which, from this perspective,
reflect local developer builds, and this is the expected effect.

Depends on D21161

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:07:04 +00:00
Mike Hommey 9ca5062588 Bug 1530562 - Set SmokeDMD compiler flags depending on compiler type rather than target OS. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D21161

--HG--
extra : moz-landing-system : lando
2019-02-26 22:06:37 +00:00
Daosheng Mu 1048e35c21 Bug 1530588 - Remove duplicate copy of geckoState in VRSystemManagerExternal::PushState. r=kip
MozReview-Commit-ID: Emmkw2CazxB

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

--HG--
extra : moz-landing-system : lando
2019-02-27 00:02:06 +00:00
Emilio Cobos Álvarez 90554be433 Bug 1530826 - Fix computed value clamping. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D21268

--HG--
extra : moz-landing-system : lando
2019-02-26 23:34:25 +00:00
Johann Hofmann a56953c8cc Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21001

--HG--
extra : moz-landing-system : lando
2019-02-26 22:37:22 +00:00
Andrew Erickson 9864393fc6 Bug 1530846: fix issue when installing hostutils r=gbrown
Per https://pythonhosted.org/six/index.html, urlopen resides in urllib.request.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:38:35 +00:00
Csoregi Natalia 86fd564657 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-26 23:53:15 +02:00
Csoregi Natalia 0858aaa5b8 Merge autoland to mozilla-central. a=merge 2019-02-26 23:49:43 +02:00
Kris Maglione 1b7d2f811a Bug 1518863: Part 0 - Minor extension protocol handler cleanup. r=aswan
These are trivial issues that I'd rather keep out of the main patch.

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

--HG--
extra : rebase_source : c607248dd2d44673b84f4bc99464c3f15a639add
2019-02-26 12:58:55 -08:00
shindli 67f1a7fdc0 Backed out changeset 465d08059933 (bug 1531282) for ES failure in /builds/worker/checkouts/gecko/toolkit/content/widgets/tree.js:866:5 CLOSED TREE 2019-02-28 22:32:26 +02:00
Magnus Melin fdca245805 Bug 1531282 - MozTree event handlers should be attached in connectedCallback() instead of constructor. r=bgrins
This patch moves adding the event handlers into MozTree.connectedCallback. This allows <tree onkeydown="...."> to function properly.
The patch also folds all the 10 handlers for keydown into one, and handling the different cases in a switch.
2019-02-28 21:58:48 +02:00
Brian Hackett 75c921ea5c Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : cdd1d02a69a17709aff17ac2d6d13f6f0039d5bb
2019-02-28 06:24:46 -10:00
Andrew Halberstadt 26d3e5b30a Bug 1530775 - [tryselect] Fix bug when migrating try syntax presets, r=kats,a=NPOTB
Differential Revision: https://phabricator.services.mozilla.com/D21250

--HG--
extra : rebase_source : 1688a24623f92134cd91de087d52cf8fc607476c
2019-02-26 14:33:03 -05:00
Ehsan Akhgari 6c217088a5 Bug 1530076 - Part 2: Add a test for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=baku
Depends on D20901

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

--HG--
extra : moz-landing-system : lando
2019-02-26 18:50:22 +00:00
Ehsan Akhgari 45c7ece733 Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet.  So we would need to re-evaluate this decision after that
information becomes available.  For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
Ryan VanderMeulen fc4475e69c Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21238

--HG--
extra : moz-landing-system : lando
2019-02-26 23:21:05 +00:00
Gurzau Raul 0138685180 Backed out changeset de46aec7227e (bug 1528648) for 'style' bustage on Windows platform on a CLOSED TREE. 2019-02-27 01:40:34 +02:00
Alexis Beingessner 42eb2a2c50 Bug 1529976 - only parse spec capabilities that are objects. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D21237

--HG--
extra : moz-landing-system : lando
2019-02-26 18:12:05 +00:00
Makoto Kato 503bff14c9 Bug 1529431 - Remove --with-android-sdk from mozconfig example by ./mach bootstrap. r=nalexander
After landing bug 1515004, it is unnecessary to use `--with-android-sdk` when
developer uses default path of Android SDK by `./mach bootstrap`.

So let's remove `--with-android-sdk` from mozconfig example using
`./mach bootstrap`.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:41:38 +00:00
Nicolas Chevobbe 09acaeaaa2 Bug 1494941 - Add requestLongerTimeout in browser_jsterm_await_helper_dollar_underscore.js; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D20803

--HG--
extra : moz-landing-system : lando
2019-02-27 13:07:08 +00:00
Johann Hofmann 3adfbd0ce8 Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21001

--HG--
extra : moz-landing-system : lando
2019-02-27 10:55:38 +00:00
Oana Pop Rus eda7a08ec6 Backed out changeset b63cae045a63 (bug 1462018) for geckoview failures 2019-02-27 14:42:59 +02:00
Robert Strong fcc4fdabfe Bug 1530548 - Move the definition of MAXPATHLEN after includes in updatedefines.h. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D21135

--HG--
extra : moz-landing-system : lando
2019-02-26 17:35:31 +00:00
Jean-Yves Avenard dc992b8658 Bug 1530322 - Abort trim if an overflow occurred during earlier time calculation. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21209

--HG--
extra : moz-landing-system : lando
2019-02-26 17:32:54 +00:00
Sam Foster 8d22ea9e10 Bug 1149500 - Delay autofill until the document is visible. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20046

--HG--
extra : moz-landing-system : lando
2019-02-26 20:51:56 +00:00
Julian Descottes 61a763b33b Bug 1525619 - Update typography for RuntimeInfo r=ladybenko,daisuke
Depends on D20472

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:43:17 +00:00
Julian Descottes 446b55e82e Bug 1525619 - Add Disconnect button as disabled in the RuntimeInfo layout r=daisuke,ladybenko
Depends on D20471

I can drop this changeset if we prefer, but this is how I imagine the disconnect button would fit in the RuntimeInfo.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:46 +00:00