Commit Graph

678790 Commits

Author SHA1 Message Date
André Bargull
4248a374ed Bug 1592992 - Part 11: Remove no longer needed includes from jsutil.h. r=jonco
The includes are still transitively reachable through the new "#include util/*.h" headers.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:06:00 +00:00
André Bargull
93a91151b4 Bug 1592992 - Part 10: Split diagnostic assertions from jsutil.h. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51369

--HG--
rename : js/src/jsutil.h => js/src/util/DiagnosticAssertions.h
extra : moz-landing-system : lando
2019-11-08 11:05:41 +00:00
André Bargull
9e0678f877 Bug 1592992 - Part 9: Move js::IsInitialized() into its sole caller. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51368

--HG--
extra : moz-landing-system : lando
2019-11-08 11:05:23 +00:00
André Bargull
b320c60fc2 Bug 1592992 - Part 8: Split memory and byte alignment functions from jsutil.h. r=jonco
A single header for both memory and byte alignment functions, similar to the
standard <memory> header, which also provides memory and byte alignment related
functionality.

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

--HG--
rename : js/src/jsutil.h => js/src/util/Memory.h
extra : moz-landing-system : lando
2019-11-08 11:05:16 +00:00
André Bargull
5b0689fff8 Bug 1592992 - Part 7: Split bit-array functions from jsutil.h. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51366

--HG--
rename : js/src/jsutil.h => js/src/util/BitArray.h
extra : moz-landing-system : lando
2019-11-08 11:05:14 +00:00
André Bargull
0b2f713a4a Bug 1592992 - Part 6: Split poisoning functions from jsutil.h. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51365

--HG--
rename : js/src/jsutil.h => js/src/util/Poison.h
extra : moz-landing-system : lando
2019-11-08 11:04:14 +00:00
André Bargull
bf486d2dce Bug 1592992 - Part 5: Replace js::Reverse with std::reverse. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51364

--HG--
extra : moz-landing-system : lando
2019-11-08 11:03:52 +00:00
André Bargull
3bb3e7e653 Bug 1592992 - Part 4: Replace js::EqualContainers with std::equal. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51363

--HG--
rename : js/src/jsutil.h => js/src/wasm/WasmUtility.h
extra : moz-landing-system : lando
2019-11-08 11:03:32 +00:00
André Bargull
9010f66124 Bug 1592992 - Part 3: Replace js::EraseIf with Vector::eraseIf where possible. r=jonco
mozilla::Vector already provides an `eraseIf` method, so we should prefer to use
the existing method. Except that Vector::eraseIf doesn't return the number of
elements removed, but that's easy to determine manually. More annoyingly is the
use of a modifying predicate function in Zone.cpp, which prevents using
Vector::eraseIf. It looks like for that specific use case a custome `EraseIf`
function is still necessary.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:03:05 +00:00
André Bargull
8a116f84e5 Bug 1592992 - Part 2: Replace js::Find with std::find. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D51361

--HG--
extra : moz-landing-system : lando
2019-11-08 11:02:42 +00:00
André Bargull
ef7724330c Bug 1592992 - Part 1: Remove unused jsutil functions. r=jonco
AddContainerToHash and ForEach aren't used (anymore).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:02:20 +00:00
Mihai Alexandru Michis
e27325e726 Backed out changeset 1aae03a822b8 (bug 1591947) for causing reftest failures in image-appearance-dynamic.xul CLOSED TREE 2019-11-08 15:39:52 +02:00
Mihai Alexandru Michis
129577da8f Backed out changeset 14e64e208672 (bug 1590167) for causing failures in spurious-hyphenation-after-explicit.html and nsHyphenator.cpp 2019-11-08 15:38:44 +02:00
Brindusan Cristian
adcc503b82 Bug 1583214 - follow-up for failing xpcshell's test_engine_selector.js. CLOSED TREE 2019-11-08 15:33:13 +02:00
Brindusan Cristian
a1dd1302ad Backed out 2 changesets (bug 1583214) for failing xpcshell's test_engine_selector.js. CLOSED TREE
Backed out changeset 3d07be0ac7bc (bug 1583214)
Backed out changeset 4eadc0b0b1f8 (bug 1583214)
2019-11-08 15:16:47 +02:00
Sebastian Hengst
0341151d63 Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D52345

--HG--
extra : moz-landing-system : lando
2019-11-08 12:17:57 +00:00
Jonathan Kew
09fc119a12 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 12:33:23 +00:00
Mark Banner
122d30257e Bug 1593561 - Ensure the search service can still run if the distribution directory is unreadable by the current user. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D52095

--HG--
extra : moz-landing-system : lando
2019-11-08 12:28:53 +00:00
Jon Coppeard
d8178cef59 Bug 1594273 - Add an RAII class which empties the nursery as well as preparing for tracing r=sfink CLOSED TREE
Nursery eviction needs to be correctly interleaved with the other preparation steps since finishing the current GC can cause arbitrary code to run (and hence nursery allocations to be made) via calling the GC callbacks.

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

--HG--
extra : source : 50b2bb645118f2650abfc9f40d409114e57746bd
extra : histedit_source : 4ee3a63419883791eceed3957fa7c328424f9e6d
2019-11-08 11:00:18 +00:00
Itiel
59387abc05 Bug 1279230 - Convert Pocket CSS to logical properties to prepare for RTL support r=thecount,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50754

--HG--
extra : moz-landing-system : lando
2019-11-08 11:52:52 +00:00
sotaro
7001d3c524 Bug 1592512 - Handle surface opacity of OS compositor surface on Windows r=gw
Differential Revision: https://phabricator.services.mozilla.com/D52322

--HG--
extra : moz-landing-system : lando
2019-11-08 10:15:07 +00:00
Maja Frydrychowicz
5237b5f25c Bug 1590467 - Use new testing options in puppeteer-test mach command; r=remote-protocol-reviewers,ato
This takes advantage of the browser-selection patch proposed to Puppeteer.
A --product option allows choice between 'firefox' and 'chrome'.
Puppeteer takes care of profile creation for Firefox. Additional Puppeteer
Launcher options can be passed along with --setopt.

Depends on D52313

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:58:08 +00:00
Maja Frydrychowicz
ea7a28398b Bug 1590467 - Updated vendored puppeteer with proposed browser selection; r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D52313

--HG--
extra : moz-landing-system : lando
2019-11-08 11:52:18 +00:00
Gijs Kruitbosch
e5ac0416bc Bug 1593487 - tighten up registerWindowActor's handling of nonsensical actor specifications and remove cruft, r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D52002

--HG--
extra : moz-landing-system : lando
2019-11-08 11:59:37 +00:00
Itiel
550a45ad16 Bug 1594526 - Fix margin of seachbar image for RTL r=mikedeboer
Also improve CSS code style/quality around about:preferences

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:51:21 +00:00
Emilio Cobos Álvarez
bf22f445d7 Bug 1591947 - Fix style changes from list-style-image to -moz-appearance for XUL images. r=TYLin
Consider the following case:

  <image style="list-style-image: url(foo.png)"></image>

  image.style.MozAppearance = "something"

The early return was preventing us from clearing the image.

This is an ancient bug, but it has started happening in the browser chrome
because the lack of lazy frame construction for XUL elements makes us construct
elements with an outdated style, which means in this case that they wouldn't
have the -moz-appearance rule applied yet.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:14:35 +00:00
Mark Banner
fe6fdaf91c Bug 1583214 - Support ESR settings in the modern search configuration. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D52041

--HG--
extra : moz-landing-system : lando
2019-11-08 12:04:02 +00:00
Mark Banner
1ce5cc514a Bug 1583214 - Split the search engine configuration schema documentation onto a separate page. r=mikedeboer
This helps with getting to the relevant parts more quickly, and a better heading scheme.

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

--HG--
rename : toolkit/components/search/docs/SearchEngineConfiguration.rst => toolkit/components/search/docs/SearchConfigurationSchema.rst
extra : moz-landing-system : lando
2019-11-08 12:04:00 +00:00
shindli
b027c9f509 Backed out changeset 50b2bb645118 (bug 1594273) for causing build bustages CLOSED TREE 2019-11-08 13:26:38 +02:00
shindli
2db3b7019f Backed out 3 changesets (bug 1593329) for causing spidermonkey bustages in js/src/builtin/FinalizationGroupObject.cpp:229 CLOSED TREE
Backed out changeset 6daf24d641d9 (bug 1593329)
Backed out changeset 382341353d0d (bug 1593329)
Backed out changeset 139cd5e4f7db (bug 1593329)
2019-11-08 13:13:41 +02:00
Jon Coppeard
f1aede6f49 Bug 1594273 - Add an RAII class which empties the nursery as well as preparing for tracing r=sfink
Nursery eviction needs to be correctly interleaved with the other preparation steps since finishing the current GC can cause arbitrary code to run (and hence nursery allocations to be made) via calling the GC callbacks.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:00:18 +00:00
Jon Coppeard
b4947d9a38 Bug 1593329 - Split up FinalizationGroup tests r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D52196

--HG--
extra : moz-landing-system : lando
2019-11-08 10:43:26 +00:00
Jon Coppeard
6ee34c1680 Bug 1593329 - Make oomTest delazify its thunk first so that allocations doing that don't mask those in the thunk itself r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D52026

--HG--
extra : moz-landing-system : lando
2019-11-08 10:44:31 +00:00
Jon Coppeard
c40c0bf0af Bug 1593329 - Fix problems handling OOM related to FinalizationGroup r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D52021

--HG--
extra : moz-landing-system : lando
2019-11-08 10:44:31 +00:00
Nicolas Silva
2fd55dabbb Bug 1585760 - Check that GetTextureForwarder isn't null in more places. r=sotaro
Depends on D51615

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

--HG--
extra : moz-landing-system : lando
2019-11-05 01:54:54 +00:00
Nicolas Silva
8b8031bd60 Bug 1585760 - Store a flag in the TextureChild indicating use of the ImageBridge. r=sotaro
This avoids calling GetTextureForwarder during shutdown which may return a null pointer.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 01:55:23 +00:00
Nicolas Silva
6c7032b199 Bug 1585760 - Check that IPC is open before accessing parent protocol. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D49164

--HG--
extra : moz-landing-system : lando
2019-11-04 14:38:33 +00:00
Gijs Kruitbosch
bc5ff695ea Bug 1444631 - fix browser_utilityOverlay.js to not trip over about:blank loads, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D52174

--HG--
extra : moz-landing-system : lando
2019-11-08 10:31:20 +00:00
Mihai Alexandru Michis
9d7b170bed Bug 1591590 - Disable browser_toolbox_console_new_process.js on macos debug, linux debug and windows ccov for frequent failures. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52132

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:54 +00:00
Michael Hoffmann
cdfcf7765d Bug 1579982 - Handle dark theme in profiler popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D52235

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:03 +00:00
Miko Mynttinen
b4e7e3b82b Bug 1594436 - Fix glterrain talos test r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D52010

--HG--
extra : moz-landing-system : lando
2019-11-08 08:09:57 +00:00
Andreas Pehrson
490b0df753 Bug 1590997 - Defer setting MediaRecorder mimeType attribute until firing start event. r=jib
Depends on D52255

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:07 +00:00
Andreas Pehrson
d2bc237912 Bug 1590997 - Update tests for new MediaRecorder mimetype-at-start-event behavior. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D52255

--HG--
extra : moz-landing-system : lando
2019-11-07 23:11:00 +00:00
Nicolas Silva
a443a5a79d Bug 1594500 - Document the memory layout of brush vertex shaders. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D52138

--HG--
extra : moz-landing-system : lando
2019-11-08 09:51:10 +00:00
Simon Giesecke
7296de4e10 Bug 1586189 - Reenable fission tests. r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D49753

--HG--
extra : moz-landing-system : lando
2019-10-30 16:37:33 +00:00
Marco Bonardo
4c965a7745 Bug 1594418 - Fix bookmark mochitests for Fission. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D52154

--HG--
extra : moz-landing-system : lando
2019-11-07 18:22:53 +00:00
Geoff Lankow
60bb825151 Bug 1594963 - Add do_report_result to XPCShell test globals. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52298

--HG--
extra : moz-landing-system : lando
2019-11-08 08:10:30 +00:00
octavian.negru
f59cfa05b9 Bug 1593694 - Mirror bigger item max on mozilla-central r=perftest-reviewers,igoldan
Differential Revision: https://phabricator.services.mozilla.com/D52136

--HG--
extra : moz-landing-system : lando
2019-11-08 08:12:54 +00:00
joshua stein
0108b2b792 Bug 1580271: defer to xdg-open when opening files on OpenBSD r=gcp
g_app_info_get_default_for_type() will fail on OpenBSD's veiled
filesystem since we most likely don't have direct access to the binaries
that are registered as defaults for this type.  Fake it up by just
executing xdg-open via gio-launch-desktop (which we do have access to)
and letting it figure out which program to execute for this MIME type.

This has the side-effect of ignoring/losing MIME types associations
registered in firefox prefs only.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 17:08:57 +00:00
joshua stein
0fce47207d Bug 1580271: enhance sandbox on OpenBSD with unveil() r=gcp
ExpandUnveilPath() takes care of expanding potentially
environment-specific XDG_DATA/CONFIG/CACHE_HOME dirs.

The unveil config files lists the allowed paths & modes.

'disable' in the files will disable the corresponding pledge/unveil
syscall.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 07:31:09 +00:00