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

690392 Коммитов

Автор SHA1 Сообщение Дата
Toshihito Kikuchi c531413173 Bug 1592486 - Store ModuleLoadFrame::sTopFrame as a global variable if TLS is not ready. r=aklotz
We had a thread-local varialbe `ModuleLoadFrame::sTopFrame` to track the topmost
stack frame of `LdrLoadDll`.  However, our hook function `patched_LdrLoadDll` can
be called even before TLS is initialized.  In such a case, accessing `sTopFrame`
causes AV.

This patch introduces `SafeThreadLocal` to safely access a thread-local varialbe.
If TLS is not initialized, it falls back to a global variable because in that
early stage there is only a single thread running.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 03:10:57 +00:00
Lee Salzman 4d55e5ebdb Bug 1613402 - avoid redundant adding of blob font data. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D61752

--HG--
extra : moz-landing-system : lando
2020-02-06 01:08:46 +00:00
J.C. Jones ac8a04f4fc Bug 1606927 - land NSS NSS_3_50_BETA2 UPGRADE_NSS_RELEASE, r=kjacobs
2020-02-05  J.C. Jones  <jjones@mozilla.com>

	* lib/softoken/exports.gyp, lib/softoken/manifest.mn,
	lib/softoken/pkcs11.c, lib/softoken/sftkdb.c,
	lib/softoken/softoken.gyp:
	Bug 1609673 - Conditionally compile out all libnssdbm glue if
	NSS_DISABLE_DBM is set r=mt

	Remove `lgglue` from compilation entirely if DBM is disabled

	[b91bbf7a88c9] [NSS_3_50_BETA2] <NSS_3_50_BRANCH>

2020-02-04  Kevin Jacobs  <kjacobs@mozilla.com>

	* .hgtags:
	Added tag NSS_3_50_BETA1 for changeset de6ba04bb1f4
	[1201d0d89b72] <NSS_3_50_BRANCH>

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

--HG--
extra : moz-landing-system : lando
2020-02-06 03:21:37 +00:00
Csoregi Natalia 3811b11b57 Backed out 3 changesets (bug 1610594) for failures on e.g. browser_device_selector_items.js. CLOSED TREE
Backed out changeset a9a2395b667f (bug 1610594)
Backed out changeset c3f7182fd57f (bug 1610594)
Backed out changeset 3ec353a434f9 (bug 1610594)
2020-02-06 04:26:59 +02:00
Aaron Klotz e9f01af788 Bug 1613531: Eliminate the a11y telemetry thread in favour of background task; r=Jamie
We replace the a11y telemetry thread with a call to the new
`NS_DispatchBackgroundTask` infrastructure. We use `NS_DISPATCH_EVENT_MAY_BLOCK`
because the task performs some I/O to load the instantiator's version info.

I also took the opportunity to eliminate some redundant copying.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:24:26 +00:00
Yura Zenevich 38f55cdb70 Bug 1429575 - removing test disabling conditions. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D61729

--HG--
extra : moz-landing-system : lando
2020-02-06 00:30:08 +00:00
Robert Helmer d3fb9068f7 Bug 1608308 - re-enable corroborator tests r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D59902

--HG--
extra : moz-landing-system : lando
2020-02-06 00:22:32 +00:00
Cameron McCormack 860a94fba5 Bug 1608308 - Enable Corroborate.jsm telemetry on release. r=rhelmer
And bump the expiration versions on the scalars.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:22:30 +00:00
Cameron McCormack e864599f16 Bug 1608308 - Add telemetry to check that the libxul and omnijar build IDs match. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D59446

--HG--
extra : moz-landing-system : lando
2020-02-06 00:22:22 +00:00
Tooru Fujisawa 1794d5822a Bug 1613441 - Create ScriptStencil between BytecodeEmitter and JSScript. r=mgaudet
ScriptStencil centralizes the access from JSScript to BytecodeEmitter's fields.
Simple fileds are copied to it, and other fields are provided by methods.

Eventually, all those methods should go away, by having stencil structs for
the following, but that doesn't happen in this patch.
  * GC things
  * Atom
  * the list of resume offsets
  * the list of scope notes
  * the list of try notes
  * the list of inner functions

Those methods are virtual to utilize this also from rust frontend, by passing
another class derived from ScriptStencil to JSScript::fullyInitFromStencil.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:14:08 +00:00
Emilio Cobos Álvarez ba91f816df Bug 1613085 - Don't run Searchfox jobs on ash. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D61564

--HG--
extra : moz-landing-system : lando
2020-02-05 23:57:33 +00:00
Daisuke Akatsuka 35a4fed36a Bug 1610594: Add a test for device selector button and the menu items. r=mtigley
Depends on D61149

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

--HG--
extra : moz-landing-system : lando
2020-02-05 22:29:56 +00:00
Daisuke Akatsuka bb04568d06 Bug 1610594: Use HTML menu component instead of xul menu. r=mtigley,jdescottes
Before now, we used XUL elements as the menu for device selection on RDM.
We introduced the icon on the XUL menuitem in bug 1306198, but the UI on Ubuntu
became weird looking. In order to fix this, we could think to modify Linux
gadget, but we replace to HTML menu components we are using in DevTools with
considering deXUL as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 23:44:51 +00:00
Daisuke Akatsuka 429116c89c Bug 1610594: Support icon for MenuButton component. r=jdescottes
Depends on D61149

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

--HG--
extra : moz-landing-system : lando
2020-02-05 16:15:55 +00:00
Harry Twyford 32eca717ec Bug 1606928 - Modify the Top Sites API to store a favicon for “Tippy Top Sites". r=Mardak,dao
This patch uses the favicons as actually served by the sites. I tried to get 32x32 versions where possible, but a few are smaller and larger. There's also a mix of .ico and .png. I think the inconsistency is acceptable, and even desirable, seeing as these are the actual icons that would appear in the UrlbarView should they appear in the user's frecency results.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 13:18:55 +00:00
Boris Zbarsky 4c46b448a8 Bug 1611993. nsImageBoxFrame should not UpdateImage when it's not safe to run script. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61718

--HG--
extra : moz-landing-system : lando
2020-02-05 23:14:37 +00:00
Matthew Gaudet c68ca0bb82 Bug 1611528 - Fix rebase error r=BUSTAGE CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D61765

--HG--
extra : amend_source : bc41a1e97ccc2ac7c5e781cdb143ab6ea82cc313
2020-02-06 01:15:59 +02:00
Matthew Gaudet 4c949c3bea Bug 1611528 - Remove BytecodeCompiler r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61039

--HG--
extra : moz-landing-system : lando
2020-02-05 19:11:50 +00:00
Matthew Gaudet 58f97c5677 Bug 1611528 - Remove StandaloneFunctionInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61038

--HG--
extra : moz-landing-system : lando
2020-02-05 19:10:54 +00:00
Matthew Gaudet b24e647f49 Bug 1611528 - Remove ModuleInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61037

--HG--
extra : moz-landing-system : lando
2020-02-05 19:10:36 +00:00
Matthew Gaudet d716f031a6 Bug 1611528 - Remove EvalScriptInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61036

--HG--
extra : moz-landing-system : lando
2020-02-05 19:10:11 +00:00
Matthew Gaudet 60ec335cd1 Bug 1611528 - Delete GlobalScriptInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61035

--HG--
extra : moz-landing-system : lando
2020-02-05 19:09:51 +00:00
Matthew Gaudet 3b4dea805c Bug 1611528 - Use CompilationInfo for handleParseFailure r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61034

--HG--
extra : moz-landing-system : lando
2020-02-05 19:09:24 +00:00
Matthew Gaudet ad096db690 Bug 1611528 - Remove assertSourceCreated r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61033

--HG--
extra : moz-landing-system : lando
2020-02-05 19:09:06 +00:00
Matthew Gaudet a14356560b Bug 1611528 - Remove BytecodeCompiler::emplaceEmitter r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61032

--HG--
extra : moz-landing-system : lando
2020-02-05 19:08:48 +00:00
Matthew Gaudet cf2ceb28b7 Bug 1611528 - Thin use of BytecodeCompiler in SourceAwareCompiler r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61031

--HG--
extra : moz-landing-system : lando
2020-02-05 19:08:24 +00:00
Matthew Gaudet ac6136d008 Bug 1611528 - Disconnect a bit of SourceAwareParser r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61030

--HG--
extra : moz-landing-system : lando
2020-02-05 19:08:06 +00:00
Matthew Gaudet 47f3d94897 Bug 1611528 - Remove BytecodeCompiler::assignSource r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61029

--HG--
extra : moz-landing-system : lando
2020-02-05 19:07:46 +00:00
Matthew Gaudet cb0dd2a3f4 Bug 1611528 - Convert CanLazilyParse to a static function r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61028

--HG--
extra : moz-landing-system : lando
2020-02-05 19:07:23 +00:00
Matthew Gaudet 9769227d24 Bug 1611528 - Remove BytecodeCompiler::context r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61027

--HG--
extra : moz-landing-system : lando
2020-02-05 19:07:00 +00:00
Matthew Gaudet f1e364f7bf Bug 1611528 - Remove script member from BytecodeCompiler r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61026

--HG--
extra : moz-landing-system : lando
2020-02-05 19:06:42 +00:00
Matthew Gaudet 62b7dc16ac Bug 1611528 - Remove Directives from BytecodeCompiler r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61025

--HG--
extra : moz-landing-system : lando
2020-02-05 19:06:19 +00:00
Matthew Gaudet d9724ce4df Bug 1611528 - Remove AutoInitializeSourceObject and sourceObjectPtr r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61024

--HG--
extra : moz-landing-system : lando
2020-02-05 19:06:02 +00:00
Matthew Gaudet 2581e85174 Bug 1611528 - Remove BytecodeCompiler::scriptSource r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61023

--HG--
extra : moz-landing-system : lando
2020-02-05 19:05:59 +00:00
Matthew Gaudet ce0ccfd13b Bug 1611528 - Move AutoKeepAtoms to CompilationInfo, and make it the only instance r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61022

--HG--
extra : moz-landing-system : lando
2020-02-05 20:42:51 +00:00
Matthew Gaudet 565428ff4e Bug 1611528 - Move Context and options out of BytecodeCompiler and into CompilationInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61021

--HG--
extra : moz-landing-system : lando
2020-02-05 19:04:43 +00:00
Matthew Gaudet d921b22d43 Bug 1611528 - Rename ParseInfo to CompilationInfo r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61020

--HG--
rename : js/src/frontend/ParseInfo.h => js/src/frontend/CompilationInfo.h
extra : moz-landing-system : lando
2020-02-05 22:33:18 +00:00
Matthew Gaudet bc974fac12 Bug 1611528 - Add include for CheckRecursionLimit r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D61019

--HG--
extra : moz-landing-system : lando
2020-02-05 19:02:43 +00:00
Jason Orendorff 619bfecd4b Bug 1610606 - Make js::ErrorReport::init always populate filename on success. r=nbp.
Differential Revision: https://phabricator.services.mozilla.com/D60983

--HG--
extra : moz-landing-system : lando
2020-02-05 22:20:27 +00:00
Emilio Cobos Álvarez 227891b140 Bug 1613176 - Prove to the incoming clang plugin that our templates are indeed trivially copiable. r=boris
Otherwise it'd error, which is not great. We could add a custom attribute in
there if needed or something, or fix cbindgen to generate these for us as
described in the issue linked from the comments.

Do this in ServoStyleConstsInlines as that's where we have the guarantee that
the templates have been defined, and that the file is included every time
ServoStyleConsts is included.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 22:20:29 +00:00
Kirk Steuber d94307cf3a Bug 1612735 - Fix font size regression on preferences dialogs without a <dialog> element r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D61758

--HG--
extra : moz-landing-system : lando
2020-02-05 22:18:38 +00:00
Sylvestre Ledru 9ee8d05df3 Bug 1613074 - Enable -Wunused-function & -Wunused-variable at the build phase r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61550

--HG--
extra : moz-landing-system : lando
2020-02-04 14:36:58 +00:00
Kendall Werts a3b87c2eaa Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod
Added long press as well as the old tooltip language back
and updated 2 tests.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 21:50:58 +00:00
ajitesh 32393abc70 Bug 1592831 - browser.themes.reset should not reset the global theme unless the current global theme was created by the extension r=robwu
Summary
Before the changes, if an mozilla addons theme was applied and an theme extension api has been called which call theme.reset() from background.js script then the browser theme was getting reset, which
should'nt happen. Code changes made in toolkit/components/extension/parent/ext-theme.js

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

--HG--
extra : moz-landing-system : lando
2020-02-05 20:13:07 +00:00
MahakBansal a2c33f1195 Bug 1208906 - Fix a conditional statement in nsNativeThemeWin::GetThemePartAndState. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D61623

--HG--
extra : moz-landing-system : lando
2020-02-05 20:34:22 +00:00
Andrew Osmond 0173964fde Bug 1604535 - Disable OMTP on some 32-bit systems due to memory pressure. r=jrmuizel
We will no longer allow OMTP on 32-bit systems with less than 2GB of RAM
and 2 or fewer cores. These systems are unlikely to realize a benefit
from OMTP and see a higher than normal incidence of OOM crashes in the
content process due to OMTP having a higher memory footprint.

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

--HG--
extra : moz-landing-system : lando
2020-02-03 11:39:06 +00:00
Noemi Erli 931c2134af Backed out changeset 579552c57946 (bug 1613250) for causing failures in test_tabbrowser.xhtml CLOSED TREE 2020-02-05 22:00:34 +02:00
Gabriel Luong 11ef385535 Bug 1613460 - Only enable keyboard control for PiP in Nightly. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61731

--HG--
extra : moz-landing-system : lando
2020-02-05 19:16:14 +00:00
Shane Caraveo 972d50bba2 Bug 1589494 make webrequest urlclassification non-privileged r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D61488

--HG--
extra : moz-landing-system : lando
2020-02-04 23:35:16 +00:00
Sylvestre Ledru a3339f89c0 Bug 1613395 - Disable gcc -Wattributes on some thirdparty media code r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61698

--HG--
extra : moz-landing-system : lando
2020-02-05 18:39:58 +00:00