2790 Commits

Author SHA1 Message Date
David Burns
aa3493fad8 Bug 1415114: Remove 2D Canvas Mochitests in favour of Web Platform Tests r=jrmuizel
These tests are already covered by Web Platform Tests which are run against
other browsers guaranteeing interop where mochitest does not.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 12:26:44 +00:00
Markus Stange
fb2b04b715 Bug 1596248 - Add CreateContextFlags::PREFER_MULTITHREADED and change the pref name from gl to webgl. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D53768

--HG--
extra : moz-landing-system : lando
2019-11-19 21:49:01 +00:00
Jonathan Kew
e317a07882 Bug 1554819 - Ensure fontgroups attached to CanvasRenderingContext2D get reset after a shared-fontlist rebuild. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D53264

--HG--
extra : moz-landing-system : lando
2019-11-17 11:49:20 +00:00
Kearwood "Kip" Gilbert
dcba527c05 Bug 1581374 - Implement WebGLContext.makeXRCompatible (WIP) r=jgilbert,daoshengmu,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D45952

--HG--
extra : moz-landing-system : lando
2019-11-15 21:32:15 +00:00
Andrea Marchesini
1888d35204 Bug 1593860 - Correct error reporting when createImageBitmap() fails, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52654

--HG--
extra : moz-landing-system : lando
2019-11-12 17:08:17 +00:00
Miko Mynttinen
99bd1ba3cb Bug 1578576 - Part 4: Update webgl-conf expectations r=jgilbert
Depends on D44581

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

--HG--
extra : moz-landing-system : lando
2019-11-08 16:43:19 +00:00
Miko Mynttinen
1ebc8b0671 Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44579

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

--HG--
extra : moz-landing-system : lando
2019-11-11 13:09:32 +00:00
Daosheng Mu
21480b57c1 Bug 1565268 - Recovering VRDisplay status after VRService is shutdown. r=kip,jgilbert
When JS is paused, VRService will automatically shutdown because the timer is not updated,
we used to create a new VRDisplay to JS. However, the page is still using the older VRDisplay,
so it can't get the newest VRDisplayInfo status. We should exit presentation and
apply the VRDisplayInfo status to the original VRDisplay instead of creating new one.

Besides, we also need to release the VR screen buffer after exiting the immersive mode to avoid eglMakeCurrent error.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 00:35:35 +00:00
Thomas Nguyen
cf2f2ec008 Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-23 19:39:00 +00:00
Jeff Gilbert
d8be7e29ca Bug 1583970 - Cast sizeof to ptrdiff_t to avoid -16 / 4 = big. r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D50149

--HG--
extra : moz-landing-system : lando
2019-10-23 17:29:30 +00:00
Razvan Maries
7fb625f8cf Backed out changeset ae33b9c001e5 (bug 1580462) for build bustages on nsWindow.cpp. CLOSED TREE 2019-10-23 11:07:00 +03:00
Thomas Nguyen
a220530f6b Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-22 14:36:00 +00:00
Sylvestre Ledru
7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Andrea Marchesini
410cb724a7 Bug 1585284 - Force global in Blob CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49629

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:19 +00:00
Edwin Takahashi
af84bcf3df Bug 1561046 - remove android api >= 23, api <= 17, api == 22 from manifest files r=gbrown
This change removes the following specifiers in the `mochitest` manifest files:

- api >= 23
- api <= 17
- api == 22

Of the three, api >= 23 may present some risks, but `mochitest-media` suite does not appear to report any issues.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:41:42 +00:00
Brindusan Cristian
bb90c3cbf6 Backed out changeset 41c6b7e917fd (bug 1367251) for mochitest failures at test_conformance__textures__image_bitmap_from_blob__tex-2d-luminance-luminance-unsigned_byte.html. CLOSED TREE 2019-10-07 04:46:13 +03:00
aardgoose
730d95aa10 Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond
implementation of imageOrientation: none|flipY.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:20:53 +00:00
Sylvestre Ledru
f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Gabriele Svelto
10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Geoff Brown
d964f2d601 Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 16:34:16 +00:00
Bogdan Tara
3d6971412d Backed out changeset f2530502f6c4 (bug 1266808) for test_imagebitmap_close.html&/test_imagebitmap_cropping.html failures 2019-09-27 12:14:29 +03:00
aardgoose
9d3085776e Bug 1266808 - throw exception when canvas.drawImage passed closed ImageBitmap r=baku
Differential Revision: https://phabricator.services.mozilla.com/D31048

--HG--
extra : moz-landing-system : lando
2019-09-26 21:54:06 +00:00
Jeff Gilbert
cfdf39067e Bug 1584277 - Expose WebGL OES_fbo_render_mipmap. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47302

--HG--
extra : moz-landing-system : lando
2019-09-26 16:43:48 +00:00
Andrew Osmond
35689a2ab6 Bug 1583238 - Check if ImageBitmap was closed in WriteStructuredClone. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47259

--HG--
extra : moz-landing-system : lando
2019-09-26 15:02:27 +00:00
sotaro
e1192adbf5 Bug 1573048 - Add size check to WebGLContext::BufferData() r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D44619

--HG--
extra : moz-landing-system : lando
2019-09-26 04:18:30 +00:00
Jeff Gilbert
2721bab6be Bug 1583878 - Expose WebGL OVR_multiview2. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47104

--HG--
extra : moz-landing-system : lando
2019-09-25 21:33:05 +00:00
Oana Pop Rus
5310616a46 Backed out changeset 1cfaf7b5175f (bug 1583878) for mochitest failures in dom/canvas/test/webgl-mochitest/ensure-exts/test_common.html on a CLOSED TREE 2019-09-25 22:05:34 +03:00
Jeff Gilbert
b420a037f3 Bug 1583878 - Expose WebGL OVR_multiview2. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47104

--HG--
extra : moz-landing-system : lando
2019-09-25 16:00:37 +00:00
Mihai Alexandru Michis
4e1448e7e6 Backed out 2 changesets (bug 1510226) for causing xpcshell crashes and xpcshell failures in test_TelemetrySession.js CLOSED TREE
Backed out changeset cb739de6606d (bug 1510226)
Backed out changeset b6f670610dc3 (bug 1510226)
2019-09-25 04:25:07 +03:00
Kris Taeleman
9b105034a9 Bug 1565991 - Make createpattern return null instead of throw. r=jrmuizel
* Deleted test_createPattern_broken.html as it is now irrelevant as this was testing for the broken behavior.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 15:28:54 +00:00
Doug Thayer
65be2b22c1 Bug 1510226 - Remove vestigial references to cooperative scheduling r=froydnj
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 18:03:11 +00:00
Geoff Brown
b0e5901c93 Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46784

--HG--
extra : moz-landing-system : lando
2019-09-24 01:12:09 +00:00
Boris Zbarsky
ccc114b512 Bug 1582196 part 1. Stop using NS_ERROR_RANGE_ERR in createImageBitmap. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D46459

--HG--
extra : moz-landing-system : lando
2019-09-19 15:35:07 +00:00
arthur.iakab
b6a627c094 Merge inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 39c72a7f01f9afa5abf7587d732d1e63969cc9da
2019-09-21 13:00:40 +03:00
Kris Maglione
685d91c901 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : 86b3d469b4ff9f22e5757f83450b956a4c769785
extra : histedit_source : 2bf945343632b15eb79cf6b2ddd3ce097ddf70de%2Caec93d9f11bc1c802b63793cd5818530b64e9b4b
2019-09-20 10:18:15 -07:00
Edgar Chen
5bc0854d2b Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45168

--HG--
extra : moz-landing-system : lando
2019-09-20 20:51:25 +00:00
Daniel Varga
bc19cdb06d Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen
5b6fe53148 Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45168

--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:55 +00:00
Daniel Varga
f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Kris Maglione
136131d397 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

--HG--
extra : moz-landing-system : lando
2019-09-20 04:44:02 +00:00
Edwin Takahashi
f14598bb77 Bug 1561046 - remove android_version == '19' from test manifests r=gbrown
Removes API 19 specifier from test manifests.

There aren't many, but best to clean them up.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 14:12:27 +00:00
Boris Zbarsky
1128b8dee8 Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45394

--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +00:00
Andrea Marchesini
91b2277029 Bug 1576463 - canvas toDataURL and toBlob should not throw for serialization errors, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D45121

--HG--
extra : moz-landing-system : lando
2019-09-11 05:16:44 +00:00
Dorel Luca
0f892548f9 Backed out 4 changesets (bug 1578576) for causing build failure with microsoft visual studio 2019. a=backout
Backed out changeset e5b3436fc277 (bug 1578576)
Backed out changeset cd2799d2d190 (bug 1578576)
Backed out changeset 13282d7a47a5 (bug 1578576)
Backed out changeset 3064469c073d (bug 1578576)

--HG--
rename : gfx/angle/checkout/src/common/Color.inc => gfx/angle/checkout/src/common/Color.inl
rename : gfx/angle/checkout/src/image_util/copyimage.inc => gfx/angle/checkout/src/image_util/copyimage.inl
rename : gfx/angle/checkout/src/image_util/generatemip.inc => gfx/angle/checkout/src/image_util/generatemip.inl
rename : gfx/angle/checkout/src/image_util/loadimage.inc => gfx/angle/checkout/src/image_util/loadimage.inl
rename : gfx/angle/checkout/src/libANGLE/Version.inc => gfx/angle/checkout/src/libANGLE/Version.inl
rename : gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table_autogen.cpp => gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table.cpp
rename : gfx/angle/checkout/src/libGLESv2/proc_table_egl.h => gfx/angle/checkout/src/libGLESv2/proc_table.h
rename : gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp => gfx/angle/checkout/src/libGLESv2/proc_table_autogen.cpp
2019-09-10 11:54:20 +03:00
Miko Mynttinen
6bf1bd586a Bug 1578576 - Part 4: Update webgl-conf expectations r=jgilbert
Depends on D44581

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

--HG--
extra : moz-landing-system : lando
2019-09-07 13:39:16 +00:00
Miko Mynttinen
e110583d7c Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44580

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

--HG--
extra : moz-landing-system : lando
2019-09-07 19:38:21 +00:00
Imanol Fernandez
ef96affe67 Bug 1579028 - Do not call surface->Commit() if composition failed in WebGLContext::GetVRFrame. r=jgilbert,rbarker
PresentScreenBuffer() or screen->PublishFrame() may fail for different reasons. In that case we shouldn't call surface->Commit() because it may be in a not swaped state or not available.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 20:55:51 +00:00
Geoff Brown
56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Timothy Nikkel
e0a79ba9f2 Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond
Most of things will likely be no real change because they ask for the exact frame they want immediately before.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 15:36:23 +00:00
Mark Banner
acd70816c6 Bug 1577746 - Enable ESLint rule dot-notation for dom/. r=baku
Depends on D44149

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

--HG--
extra : moz-landing-system : lando
2019-09-02 11:23:05 +00:00