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

702606 Коммитов

Автор SHA1 Сообщение Дата
Subhamoy Sengupta a25b985890 Bug 1626573 - P1 - BrowsingContext transmits BlobURL before loading an URI if URI is a BlobURL r=baku
Differential Revision: https://phabricator.services.mozilla.com/D69717
2020-04-21 12:37:02 +00:00
sonakshi 9f16aa281a Bug 1584797 - Fix comment related to aProxyService parameter r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71745
2020-04-21 12:11:23 +00:00
Lee Salzman a8641e2018 Bug 1622826 - stop gfxFontInfoLoader on xpcom-shutdown. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71684
2020-04-21 12:07:58 +00:00
Tooru Fujisawa 2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Brindusan Cristian 2803300f5b Backed out changeset 27d3c6f3204e (bug 1624907) for reftest failures at 299837-3.xhtml. CLOSED TREE 2020-04-21 15:11:02 +03:00
Robert Mader a000f064be Bug 1629140 - Enable frame callback based VsyncSource by default. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D70551
2020-04-21 11:34:14 +00:00
devRD 82a954cef3 Bug 1580870 - Move toolkit/forgetaboutsite to toolkit/components/forgetaboutsite r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D71556
2020-04-21 11:27:30 +00:00
Daosheng Mu 2b669b7fa8 Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol
Differential Revision: https://phabricator.services.mozilla.com/D71678
2020-04-21 11:17:34 +00:00
Glenn Watson 92bbbc45cb Bug 1631678 - Instrument some more parts of WR with profiler scopes r=nical
Differential Revision: https://phabricator.services.mozilla.com/D71703
2020-04-21 11:10:07 +00:00
Martin Stransky 853bcc1504 Bug 1630754 [Wayland][VA-API] Explicitly configure VADisplay display for VA-API video playback, r=jya
Some gfx drivers (especially on a child process) can open X11 VADisplay instead of a Wayland one which leads
to HW playback failure. As a solution let's create VADisplay explicitly on top of our wayland display connection.

- Load va-api/wayland related libraries only when va-api is enabed by user by widget.wayland-dmabuf-vaapi.enabled
  and va-api is generally available (HW acceleration is enabled, dmabuf is available).
- Load vaGetDisplayWl from libva-wayland.so
- Explicitly create VADisplay at CreateVAAPIDeviceContext()
- Use VAAPIDisplayHolder class to release our VADisplay when AVHWDeviceContext is released (by hwctx->free).

Differential Revision: https://phabricator.services.mozilla.com/D71219
2020-04-21 10:52:47 +00:00
Tim Nguyen a9ad6c797b Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-21 10:50:17 +00:00
Narcis Beleuzu b1072dc7ad Bug 1619847 - update reftest annotation for pal8v4.bmp for 899 pixel difference. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D71733
2020-04-21 10:16:49 +00:00
Kagami Sascha Rosylight 502cb439da Bug 1630704 - Merge nsBox into nsIFrame r=emilio
We want to merge nsFrame into nsIFrame, so this patch merges nsBox first which is the superclass of nsFrame.

Differential Revision: https://phabricator.services.mozilla.com/D71161
2020-04-18 12:06:09 +00:00
Andrea Marchesini c4a611be40 Bug 1631565 - setCookieStringFromHttp requires the nsIChannel argument, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D71641
2020-04-21 10:41:21 +00:00
Andrea Marchesini e80177ec06 Bug 1631565 - getCookieStringFromHttp requires the nsIChannel argument, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D71642
2020-04-21 10:41:40 +00:00
Andrea Marchesini 1ba927f859 Bug 1631444 - Remove CookiePermission.cpp/h, r=dimi
Depends on D71594

Differential Revision: https://phabricator.services.mozilla.com/D71595
2020-04-21 10:41:40 +00:00
Andrea Marchesini 9259ee6959 Bug 1631444 - Cookies should follow the CookieJarSettings, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D71594
2020-04-21 08:53:33 +00:00
Jamie Nicol 8f5b537943 Bug 1604615 - Adjust reftest expectations. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D70034
2020-04-21 10:32:23 +00:00
Jamie Nicol d9a1b3bbde Bug 1604615 - Use optimized shader source in webrender. r=jrmuizel
Add a gecko pref "gfx.webrender.use-optimized-shaders". If enabled,
then when attempting to compile a webrender shader first look for the
optimized source. If the optimized source is not present, emit a
warning and fall back to the unoptimized source.

Use the optimized source by default in wrench, and add the flag
"--use-unoptimized-shaders" to override this.

Differential Revision: https://phabricator.services.mozilla.com/D70033
2020-04-21 10:32:15 +00:00
Jamie Nicol f548e9a284 Bug 1604615 - Optimize webrender shaders at build time. r=gw
Move more shader parsing code to webrender_build, so it can be used
both at runtime and build time.

At build time optimize a set of shaders and feature flag combinations,
using glslopt. Some features are skipped because they are not
supported by the gl version, because the optimizer does not support
them, or because webrender does not need them currently.

Use build-parallel to ensure the optimization is performed in parallel
using the make jobserver. Write the optimized shader source to a
hashmap to be used at runtime, in addition to the unoptimized source.

Differential Revision: https://phabricator.services.mozilla.com/D70032
2020-04-21 10:32:03 +00:00
Jamie Nicol 1d3a107541 Bug 1604615 - Fix wrench build issues on CI arising from glslopt. r=jrmuizel
* For wrench builds, the clang toolchain must now be fetched and be
  present in PATH for bindgen to work. When building OSMesa, we must
  therefore set `LLVM_CONFIG=no` so that it does not attempt to build
  llvmpipe.

* For wrench Mac cross-compiles, we must be careful to expose CFLAGS
  and similar variables using the target-specific variable names, so
  that host builds do not attempt to use flags intended for the
  target. When building OSMesa we must use the generic variable `CC`,
  so now we additionally set `HOST_CC`, so that host builds use the
  host variable rather than the generic one.

* Similarily, for wrench android builds we must use a fork of
  cargo-apk which sets the target-specific variables rather than the
  generic ones. Otherwise we would attempt to use the NDK toolchain
  for host builds.

Differential Revision: https://phabricator.services.mozilla.com/D70031
2020-04-21 10:31:56 +00:00
Jamie Nicol d384e8fa67 Bug 1604615 - Use cargo linker wrapper for native sanitizer builds, but don't set problematic flags. r=glandium
For native sanitizer builds, we currently do not pass the linker flags
to cargo, as they were causing crashes in some build scripts. Without
this, however, the linker is unable to find libstdc++. Instead, do
tell cargo to use the linker wrapper, but omit the problematic flags
from MOZ_CARGO_WRAP_LDFLAGS.

Differential Revision: https://phabricator.services.mozilla.com/D70354
2020-04-21 10:31:53 +00:00
Jamie Nicol b3f0dc3a6a Bug 1604615 - Add glslopt and build-parallel as build dependencies of webrender. r=jrmuizel
Update Cargo.lock files and vendor sources in to tree.

Differential Revision: https://phabricator.services.mozilla.com/D70030
2020-04-21 10:31:46 +00:00
Dão Gottwald dfe49c422f Bug 1631438 - Use prefers-reduced-motion media query for the star button animation. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D71566
2020-04-21 09:34:00 +00:00
aarushivij a2bf196619 Bug 1631632 - Stop pre-processing browser/themes/linux/pageInfo.css and browser/themes/shared/aboutSessionRestore.css. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D71728
2020-04-21 09:57:32 +00:00
Tim Nguyen 2eeab7c5b4 Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:54:57 +00:00
Brindusan Cristian aac7877663 Backed out changeset 6c312e49ee09 (bug 1625721) for build bustages at popup.css. CLOSED TREE 2020-04-21 12:46:28 +03:00
Andy Wingo 0ad284e946 Bug 1628426 - Support access to multi-value WebAssembly results in DebugFrame r=lth
This commit firstly moves ResultType and BlockType from WasmOpIter.h to
WasmTypes.h.  Many parts of the WebAssembly implementation find
themselves dealing in ResultType so it's natural to define these data
types in a more central place.

Then we add a field to DebugFrame, for the stack results area.  This
field is initialized in the baseline compiler prologue, in debug mode.

We also separate the notion of a debug frame with ref-typed cached JS
return values, and a frame with ref-typed result(s).  This allows proper
marking of i64 values exposed as BigInt, as well as marking arrays from
multi-result functions of any type.

Finally, we now expose the guts of the ToJSValue code in WasmInstance to
allow the debug trap to synthesize a JS value for a wasm result, even
for multiple value results.

Differential Revision: https://phabricator.services.mozilla.com/D70531
2020-04-21 08:12:17 +00:00
Tim Nguyen 61b493582b Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:20:43 +00:00
Tim Nguyen bcb3afee10 Bug 1631626 - Reduce dependency on toolkit/themes/osx/global/shared.inc. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71670
2020-04-21 09:16:04 +00:00
Benjamin Bouvier 6bf0aabb45 Bug 1630936: Write documentation for Baldrdash in Spidermonkey; r=rhunt,lth
Differential Revision: https://phabricator.services.mozilla.com/D71313
2020-04-21 09:20:19 +00:00
Benjamin Bouvier 71be06bb3c Bug 1630936: Use log macros explicitly instead of ye olde extern crate way; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D71312
2020-04-21 09:20:17 +00:00
Luca Greco d60e158fda Bug 1630596 - Extend addonsManager telemetry events currently set to expire in Firefox 78. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D71530
2020-04-20 10:17:10 +00:00
Tarek Ziadé 95355d71ce Bug 1631596 - Fix the setup step in the browsertime layer r=acreskey
Adds back the setup step and surfaced clobber/install url

Differential Revision: https://phabricator.services.mozilla.com/D71651
2020-04-21 08:26:02 +00:00
Jan de Mooij 38770262ae Bug 1629791 part 21 - Auto-generate boilerplate for more ops. r=evilpie
Depends on D71521

Differential Revision: https://phabricator.services.mozilla.com/D71522
2020-04-20 17:45:46 +00:00
Jan de Mooij 24b5053306 Bug 1629791 part 20 - Auto-generate boilerplate for more ops. r=iain
This adds support for instructions that return a new value. In this case the
CacheIRWriter returns a new id of this kind.

Depends on D71520

Differential Revision: https://phabricator.services.mozilla.com/D71521
2020-04-21 06:23:50 +00:00
Jan de Mooij 00c4a6085c Bug 1629791 part 19 - Auto-generate boilerplate for more ops. r=evilpie
Depends on D71519

Differential Revision: https://phabricator.services.mozilla.com/D71520
2020-04-21 06:20:45 +00:00
Jan de Mooij b64e041b06 Bug 1629791 part 18 - Auto-generate boilerplate for more ops. r=iain
Depends on D71518

Differential Revision: https://phabricator.services.mozilla.com/D71519
2020-04-20 16:01:44 +00:00
Jan de Mooij e8e8380479 Bug 1629791 part 17 - Auto-generate boilerplate for more ops. r=tcampbell
Depends on D71517

Differential Revision: https://phabricator.services.mozilla.com/D71518
2020-04-20 12:44:40 +00:00
Jan de Mooij 5f9d406c47 Bug 1629791 part 16 - Auto-generate boilerplate for more ops. r=iain
Depends on D71516

Differential Revision: https://phabricator.services.mozilla.com/D71517
2020-04-20 15:44:12 +00:00
Jan de Mooij 07848b9431 Bug 1629791 part 15 - Auto-generate boilerplate for more ops. r=evilpie
Depends on D71515

Differential Revision: https://phabricator.services.mozilla.com/D71516
2020-04-21 06:18:58 +00:00
Jan de Mooij 54246a7149 Bug 1629791 part 14 - Auto-generate boilerplate for more ops. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D71515
2020-04-20 16:28:13 +00:00
Jon Coppeard 7c6bb08a84 Bug 1631114 - Make Handle<Maybe<Value>> easier to use r=jandem
This adds WrappedPtrOperations and MutableWrappedPtrOperations specialisations for Maybe<T> to all basic Maybe operations to used on Rooted<Maybe<T>>, Handle<Maybe<T>>, etc.  I didn't add all of them; in particular I found ptr() would conflict with the Rooted::ptr data member.

This also adds JS::NothingHandleValue for passing Nothing to a Handle<Maybe<Value>>.

Differential Revision: https://phabricator.services.mozilla.com/D71555
2020-04-21 06:10:42 +00:00
Makoto Kato 3d671e1047 Bug 1631401 - Need to wait for setBoolPerf. r=masayuki
I made a misteake on inputmode mochitest. I forget to wait for setter of preference.

Differential Revision: https://phabricator.services.mozilla.com/D71706
2020-04-21 05:16:34 +00:00
Paul Adenot 86e2733819 Bug 1631448 - mach vendor rust. r=chunmin,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D71624
2020-04-20 21:59:17 +00:00
Paul Adenot 07bda9f594 Bug 1631448 - Udpate cubeb-pulse-rs and cubeb-coreaudio-rs. r=kinetik,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D71623
2020-04-21 07:03:32 +00:00
Perry Jiang 3446310d6c Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug
- Worker debugger globals gets a client with a null principal
- Ensure globals are created before script loads
- Introduce WorkerGlobalScopeBase to share code
- Transfer ClientSource ownership from WorkerPrivate to worker globals
- Require getting clients from the globals instead of WorkerPrivate with the
  exception of getting the reserved client before the non-debugger global is
  created

Differential Revision: https://phabricator.services.mozilla.com/D68936
2020-04-21 06:50:53 +00:00
Emma Malysz 044488a3af Bug 1610134: Part 1: add timeout pref that turns on late write checking to see if it's possible to crash browser earlier. r=dthayer,chutten
Differential Revision: https://phabricator.services.mozilla.com/D67884
2020-04-21 06:09:28 +00:00
Timothy Nikkel 3d235e9172 Bug 1631365. img.decode never fulfills or rejects if the image is too big to fit into the surface cache. r=aosmond
Since we don't support downscaling animated images we'll need something like this even we were to try to request a smaller sized decode.

Differential Revision: https://phabricator.services.mozilla.com/D71523
2020-04-20 21:04:45 +00:00
Martin Stransky e3d81b0f91 Bug 1474281 - Make EGL-provider support OGL. r=jgilbert
In the past EGL only supported GLES, not OGL. This has not been true
for a very long time, so lets support OGL context creation in the EGL
backend.

This allows e.g. the Wayland backend to use OGL contexts, which brings
it on par with the X11/GLX backend.

Differential Revision: https://phabricator.services.mozilla.com/D48096
2020-04-21 05:43:35 +00:00