Andrew Osmond
b99b7a1925
Bug 1546505 - Remove ImageBitmapUtils and ImageBitmapColorUtils as it is dead code. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D28986
2019-05-02 14:06:14 -04:00
Andrea Marchesini
49c638ad36
Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D25773
--HG--
extra : moz-landing-system : lando
2019-04-16 06:58:29 +00:00
Dorel Luca
58348f299b
Backed out changeset aa0feb50773a (bug 1540221) for WPT failures in /html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html. CLOSED TREE
2019-04-11 05:28:34 +03:00
Andrea Marchesini
d7915fa305
Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D25773
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:03 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
531924a924
Bug 1502799 - Implement origin-clean algorithm for ImageBitmap, r=aosmond
2018-11-06 23:31:34 +01:00
Andrea Marchesini
3b92b0dd3c
Bug 1502304 - Deprecated CanvasRenderingContext2D in CreateImageBitmap, r=aosmond
2018-10-26 19:10:35 +02:00
Andrea Marchesini
a6e388e171
Bug 1500768 - Support SVG images in HTMLImageElements, r=jwatt
2018-10-25 14:55:06 +02:00
Andrea Marchesini
25bff22bd6
Bug 1500768 - Implement SVGImageElement support for createImageBitmap, r=jwatt
2018-10-25 14:55:06 +02:00
Andrea Marchesini
b8f3de6ba0
Bug 1500733 - Remove ImageBitmap.findOptimalFormat, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
be09783aca
Bug 1500733 - Remove ImageBitmap.mappedDataLength, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
39a76c5462
Bug 1500733 - Remove ImageBitmap.mapDataInto, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
e4a7eded18
Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
4b02de9de7
Bug 1497925 - CreateImageBitmap must ignore the Blob.type value, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
595a1dde91
Bug 1500786 - createImageBitmap should throw InvalidStateError with already closed imageBitmap as input, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
ff2c1dfc45
Bug 1500780 - CreateImageBitmap should handle OOM as InvalidState error, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
e7af025911
Bug 1500736 - CreateImageBitmap should throw InvalidStateError when the allocation fails, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
17f8a25e39
Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond
2018-10-23 08:17:28 +02:00
Ryan Hunt
454819897e
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
--HG--
extra : rebase_source : bf0f804194f5a36f5dc805333eaf85b55be50012
2018-09-24 21:47:14 -05:00
Andrea Marchesini
bc5414c5f3
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andrea Marchesini
de57a3fc82
Bug 1455256 - Port more components to WorkerRef - part 6 - ImageCanvas, r=asuth
2018-06-18 16:37:21 -04:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
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
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
fffb25b74f
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
a9de4f7371
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
4b9e315a13
Bug 1452754 - Handle promise rejection in cases of error or otherwise through RAII in MapDataIntoBufferSource::DoMapDataIntoBufferSource. r=jgilbert
...
--HG--
extra : rebase_source : 52341f938e87ab4fa35926494ed927fde8a2e744
2018-04-09 12:57:10 -07:00
Andrea Marchesini
a1747f6179
Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug
2018-03-14 17:37:34 +01:00
Christian Holler
a7aaab24d3
Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku
2018-02-23 14:51:26 +01:00
Dorel Luca
f41b03eca9
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
7571df7e7c
Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
...
MozReview-Commit-ID: HXWhggOMIEK
--HG--
extra : rebase_source : 9c9eacf80d2b7f78faa82a1549170b98d12cdaa8
2018-02-19 12:56:10 -05:00
Kyle Machulis
9e159ac69d
Bug 1407040 - Change HTMLMediaElement XPCOM Enums to WebIDL Enums; r=bz
...
MozReview-Commit-ID: 55GnbaL2HKl
--HG--
extra : rebase_source : 5bb6c927443bf6adcfe594e69bd70c3b597b9ea4
2018-02-14 19:23:32 -08:00
Timothy Nikkel
ab2056b146
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
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Timothy Nikkel
3af81f80fc
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
89c5ff6db9
Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas
2018-01-11 08:26:42 -05:00
Andrea Marchesini
9a25904cf8
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
3316d7de4d
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
9575a22267
Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas)
...
--HG--
extra : rebase_source : 7700599ef497a2abadc7970af5ea26b48061966e
2017-11-09 00:43:30 -08:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Jon Coppeard
a3c0357907
Bug 1399141 - Attribute malloc memory when creating reflector object r=baku
2017-09-13 11:21:12 +01:00
Bill McCloskey
f115503a0b
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
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
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
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00