Commit Graph

100 Commits

Author SHA1 Message Date
Andrea Marchesini
a05e6d1af4 Bug 1502799 - Implement origin-clean algorithm for ImageBitmap, r=aosmond 2018-11-06 23:31:34 +01:00
Andrea Marchesini
7fbd1dc52a Bug 1502304 - Deprecated CanvasRenderingContext2D in CreateImageBitmap, r=aosmond 2018-10-26 19:10:35 +02:00
Andrea Marchesini
f011741807 Bug 1500768 - Support SVG images in HTMLImageElements, r=jwatt 2018-10-25 14:55:06 +02:00
Andrea Marchesini
72fae4ddf0 Bug 1500768 - Implement SVGImageElement support for createImageBitmap, r=jwatt 2018-10-25 14:55:06 +02:00
Andrea Marchesini
5a600d89d6 Bug 1500733 - Remove ImageBitmap.findOptimalFormat, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini
d69b0cc929 Bug 1500733 - Remove ImageBitmap.mappedDataLength, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini
6fce2bcaa8 Bug 1500733 - Remove ImageBitmap.mapDataInto, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini
832c9ca2e3 Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini
cf90e82a07 Bug 1497925 - CreateImageBitmap must ignore the Blob.type value, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini
a370948f64 Bug 1500786 - createImageBitmap should throw InvalidStateError with already closed imageBitmap as input, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini
9783aa6a5b Bug 1500780 - CreateImageBitmap should handle OOM as InvalidState error, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini
cd24115893 Bug 1500736 - CreateImageBitmap should throw InvalidStateError when the allocation fails, r=aosmond 2018-10-23 23:35:43 +02:00
Andrea Marchesini
2a62a71cef Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond 2018-10-23 08:17:28 +02:00
Ryan Hunt
c862a14e1c Bug 1475139 part 10 - Add method to create ImageBitmap from SourceSurface. r=jrmuizel
This commit adds a method to create an ImageBitmap from a SourceSurface, for use
by the new drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D6789
2018-09-24 21:47:14 -05:00
Andrea Marchesini
656b292d56 Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
Jeff Gilbert
70a22b2878 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andrea Marchesini
2a2d183518 Bug 1455256 - Port more components to WorkerRef - part 6 - ImageCanvas, r=asuth 2018-06-18 16:37:21 -04:00
Miko Mynttinen
3df26bc8a5 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
arthur.iakab
9588ba6d78 Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
5afe37aefc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
4b8b5e1717 Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
7a49bcc8c5 Bug 1430215 - Check on the principal in mozilla::dom::CheckSecurityForHTMLElements in case SurfaceFromElement returns an incomplete result, r=aosmond 2018-04-20 07:29:12 +02:00
Jeff Walden
8d435c04c3 Bug 1452754 - Handle promise rejection in cases of error or otherwise through RAII in MapDataIntoBufferSource::DoMapDataIntoBufferSource. r=jgilbert 2018-04-09 12:57:10 -07:00
Andrea Marchesini
df1536a320 Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug 2018-03-14 17:37:34 +01:00
Christian Holler
e91f05529a Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku 2018-02-23 14:51:26 +01:00
Dorel Luca
ee8e21ebda Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE 2018-02-19 22:15:23 +02:00
Milan Sreckovic
2aa2530441 Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
MozReview-Commit-ID: HXWhggOMIEK
2018-02-19 12:56:10 -05:00
Kyle Machulis
6404db48ec Bug 1407040 - Change HTMLMediaElement XPCOM Enums to WebIDL Enums; r=bz
MozReview-Commit-ID: 55GnbaL2HKl
2018-02-14 19:23:32 -08:00
Timothy Nikkel
66a37d8a08 Bug 1414825. Clear mDataWrapper on ImageBitmap::Close because it holds gfx resources alive. r=nical 2018-02-06 02:53:21 -06:00
Andrea Marchesini
ddb4518ad1 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
Andrea Marchesini
30cbccd56d Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Timothy Nikkel
24570835a7 Bug 1414825. Use a shutdown observer to release the gfx resources of ImageBitmaps. r=kaku,nical 2018-01-22 21:38:45 -06:00
Andrew Osmond
d4f2db7f5a Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas 2018-01-11 08:26:42 -05:00
Andrea Marchesini
8ef37758ae Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth 2018-01-08 14:05:03 +01:00
Andrea Marchesini
0df3c0d43b Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 3 - ImageBitmap must use imgITools::decodeImageAsync, r=aosmond 2017-11-27 17:05:57 +01:00
David Anderson
2956c45dda Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas) 2017-11-09 00:43:30 -08:00
Andrea Marchesini
74bc0e9cfd Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
Jon Coppeard
2b6e958310 Bug 1399141 - Attribute malloc memory when creating reflector object r=baku 2017-09-13 11:21:12 +01:00
Bill McCloskey
ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Olli Pettay
25dc0d9972 Bug 1364513 - Ensure correct buffer initialization. r=mystor 2017-05-25 09:39:17 -04:00
Daosheng Mu
25519a4062 Bug 1358053 - Remove DataSourceSurface assertion when doing snapshot in WebGL; r=jgilbert
MozReview-Commit-ID: 6LhmY1ouNZ9
2017-04-27 17:38:37 +08:00
Jeff Gilbert
9da19293f8 Bug 1355763 - Only premult if there's something to premult.
MozReview-Commit-ID: LKd2tWWxGbI
2017-04-13 09:14:41 -07:00
Jeff Gilbert
ef8acdb9c3 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Timothy Nikkel
203896ccec Bug 1355898. Rename flag SFE_WANT_FIRST_FRAME to SFE_WANT_FIRST_FRAME_IF_IMAGE to represent what it does better. r=jgilbert
We only pay attention to the flag for images.
2017-04-13 03:40:45 -05:00
Iris Hsiao
191fdd1b09 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Jeff Gilbert
37d512e4b7 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00