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

2307 Коммитов

Автор SHA1 Сообщение Дата
Jamie Nicol d27a81657e Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel
Previously we were checking IsDefined() rather than HasImage(), but
were hitting crashes. This was because Format() can return null if the
attach point is defined but the attached texture level or renderbuffer
aren't themselves defined. HasImage() checks for this case.

MozReview-Commit-ID: 8KY3zPXXAFv

--HG--
extra : rebase_source : 50706ae0903e15e8b299e7417e7e5d829b11aa79
2018-03-14 16:42:37 +00:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +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
Emilio Cobos Álvarez f39eaa5d48 Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 11:19:49 +02:00
Noemi Erli 5d9588e156 Backed out 3 changesets (bug 1452080) for bustage in /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp on a CLOSED TREE
Backed out changeset 7f5104c7a242 (bug 1452080)
Backed out changeset 806a9c95a243 (bug 1452080)
Backed out changeset bffebe8aa254 (bug 1452080)
2018-04-09 11:18:12 +03:00
Emilio Cobos Álvarez 2a427429ff Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 09:57:55 +02:00
Kartikaya Gupta 2eefaf54ec Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.

MozReview-Commit-ID: 49LvS0vuYWR

--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04:00
Boris Zbarsky a0b6e32bba Bug 1449631 part 12. Remove the Nullable smuggling from nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: 73qhRSCpr3S
2018-04-05 13:42:42 -04:00
Boris Zbarsky 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Jeff Gilbert 1a31f408ad Bug 1449264 - Handle texStorage3D's `levels` better. - r=kvark
MozReview-Commit-ID: G6ubd4iR67s
2018-04-03 16:28:41 -07:00
Jeff Gilbert ad64b41497 Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert e4dc10addd Bug 1446548 - Treat all GLSL versions >=450 as 450. - r=kvark
MozReview-Commit-ID: 4i5IAvWNZb
2018-04-03 16:19:09 -07:00
Cosmin Sabou 8b072224cb Bug 1362248 - Disable dom/canvas/test/reftest/webgl-color-test.html?native-gl == dom/canvas/test/reftest/wrapper.html?colors-no-alpha.png for frequent failures. r=jmaher 2018-04-03 17:48:22 +02:00
shindli 3bfd0c07fd Merge inbound to mozilla-central. a=merge 2018-03-30 12:56:21 +03:00
Jeff Gilbert 2cfd3869cf Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark
MozReview-Commit-ID: AM7xfXwJxkV
2018-03-29 18:11:08 -07:00
Jeff Gilbert b21ff75bef Bug 1446412 - Don't query GL for RED_BITS and friends queries. - r=kvark
There's no reason to ask GL since we should know the answers.
Also GL is tricky on how it handles these semi-deprecated queries.
Official GL stance is "don't ask questions you know the answer to".

MozReview-Commit-ID: F7p73eSTrYw
2018-03-29 18:11:05 -07:00
Tom Ritter 9e3a59a98a Bug 1337157 Disable WEBGL_debug_renderer_info when Resist Fingerprinting is active r=jgilbert
MozReview-Commit-ID: F7LCweFIPtM

--HG--
extra : rebase_source : 35d2e1560ae131f66867a816196c4e96f4b7fe41
2018-03-26 23:48:35 -05:00
Xidorn Quan 4cf9aed667 Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet

Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
  many places call into the methods with StyleSheet, so there are many
  ->AsServo() added to sheets

MozReview-Commit-ID: K4zYnuhOurA

--HG--
extra : rebase_source : 459e8efeb171adad089d94272e143e8c244bd279
extra : source : 65ba2f174fcf7dba4e59c00ee8908b1bd0820a48
2018-03-29 22:15:46 +11:00
Jonathan Watt 68e78b291f Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
--HG--
extra : source : 763277b299e42d8ee7eafede027ee690b66a7a2a
2018-03-23 16:01:34 +00:00
Tim Nguyen 5a60cbae7c Bug 1412961 - Make extension principals bypass canvas permission checks. r=ckerschb,johannh
MozReview-Commit-ID: 5vSW4zR3f36

--HG--
extra : rebase_source : 5b1942b221dd1470b853e3aca3c51c5e1a45e809
2018-03-27 11:23:59 +00:00
Jeff Gilbert e4e4683663 Bug 1445980 - TexStorage should validate both highest and lowest levels. - r=kvark
MozReview-Commit-ID: 3MtNEAtuadY
2018-03-26 20:37:13 -07:00
Jonathan Watt 82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
Jonathan Watt a50cb762aa Bug 1448702 - Remove ComputedStyle::AsServo(). r=emilio 2018-03-25 13:23:00 +03:00
Emilio Cobos Álvarez e341b20ec4 Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez 5dd797f154 Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.

MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez ca5ac79cca Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
arthur.iakab abcb47d8cc Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Miko Mynttinen 65c6bee9d6 Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
MozReview-Commit-ID: rGjabnP2iz

--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
sotaro 57a55d1c2d Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel 2018-03-21 08:59:38 +09:00
Sylvestre Ledru 659b380e97 Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
MozReview-Commit-ID: Etx3KYygQgl

--HG--
extra : rebase_source : 6483c7541ae2b4a26a1bcdbe26440bb64d599af5
extra : source : 643d30faeef8a451f23a5c66fc726120da21f213
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez f7522ae728 Bug 1447358: Unifdef the old style system code. r=jwatt
Summary:
This has been automatically generated using:

  http://dotat.at/prog/unifdef/

And:

find $OBJDIR -type f -name '*.h' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

MozReview-Commit-ID: I4NdKqbMXzJ

Reviewers: jwatt

Bug #: 1447358

Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Csoregi Natalia fc0283f66c Backed out 10 changesets (bug 1446809) for failing on jsat/test_content_integration.html . CLOSED TREE
Backed out changeset 42146f3856d0 (bug 1446809)
Backed out changeset e6b888d19add (bug 1446809)
Backed out changeset 2293192557ef (bug 1446809)
Backed out changeset 643d30faeef8 (bug 1446809)
Backed out changeset 73639fbb3a61 (bug 1446809)
Backed out changeset df179cf0797d (bug 1446809)
Backed out changeset 04c46f107d24 (bug 1446809)
Backed out changeset 9b98c5aad44c (bug 1446809)
Backed out changeset 347d7259df0f (bug 1446809)
Backed out changeset 2a350e323713 (bug 1446809)
2018-03-21 11:17:38 +02:00
Sylvestre Ledru bbfb87fdfa Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
MozReview-Commit-ID: Etx3KYygQgl

--HG--
extra : rebase_source : e7e2e24478fc74bb10251d6dca0f226e4a56141a
extra : histedit_source : 436d7e38b0fbc8cb03c212963c6c3fec2ade1ace
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
sotaro 04da311500 Bug 1443671 - Add crashtest r=nical 2018-03-19 18:54:05 +09:00
Jeff Gilbert 2d543d4bc6 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
Also update corresponding test to have a stencil buffer and enable
STENCIL_TEST.
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-16 13:35:03 -07:00
Sylvestre Ledru fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Jeff Gilbert 027c306ce3 Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Brindusan Cristian cd3d3ade3d Backed out changeset 586d0eef1de5 (bug 1444563) for webgl failures on test_2_conformance__misc__webgl-specific.html CLOSED TREE 2018-03-15 23:22:10 +02:00
Jeff Gilbert 41d36258a3 Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-15 13:39:12 -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
Lee Salzman d3709cc4e9 Bug 1444506 - part 6 - fuzz for Skia m66 update. r=jrmuizel 2018-03-12 16:37:10 -04:00
Lee Salzman 88d1ad9491 Bug 1444506 - part 5 - don't attempt to draw an invalid video source in canvas. r=jrmuizel 2018-03-12 16:37:10 -04:00
Jeff Gilbert 3e66c7d171 Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark
MozReview-Commit-ID: EBbgWlzdC3A
2018-03-09 14:56:52 -08:00
Andreea Pavel 218233521a Backed out changeset 40063d96ba8e (bug 1444252)for build bustages at /builds/worker/workspace/build/src/dom/canvas/WebGL2ContextUniforms.cpp on a CLOSED TREE 2018-03-09 23:38:32 +02:00
Jeff Gilbert 4633478b0a Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark
MozReview-Commit-ID: EBbgWlzdC3A
2018-03-09 13:21:36 -08:00
Jeff Gilbert f7054fb683 Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark
MozReview-Commit-ID: 6h6j2LvJdXm
2018-03-07 12:16:16 -08: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
Jeff Gilbert 7908c68484 Bug 1442504 - Disable disjoint timer queries. r=milan
MozReview-Commit-ID: IurPcGHzAoQ
2018-03-03 00:50:10 +02:00