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
Coroiu Cristina
0f6841e0d2
Backed out 2 changesets (bug 1443080) for spidermonkey build bustage at build/src/js/src/jit/BaselineCacheIRCompiler.cpp
...
Backed out changeset 7d509bb8a35d (bug 1443080)
Backed out changeset 53bdcd5937cd (bug 1443080)
--HG--
extra : rebase_source : 59b5350d2959c0b065aedd34bfe8337216c0ea4b
2018-03-14 11:13:21 +02:00
Sylvestre Ledru
c07eb73986
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 17c91bfd7241e3e522b1413b6e544df74f5361a0
2018-03-05 13:43:54 +01: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
Emilio Cobos Álvarez
8a789ce429
Bug 1441613: Properly check for shell destruction instead of just nonsensically assert. r=hiro
...
GetStyleContext can flush. As such, that flush can kill the pres shell, and the
return value could be null. I have no idea why that code was asserting it didn't
happen, but that assert is completely bogus.
Throw instead, just like GetFontParentStyleContext used to do for Gecko.
MozReview-Commit-ID: 5RxDratKumZ
--HG--
extra : rebase_source : 9ffb1f58888504d92915ecd4254847ae2e3f053b
2018-02-28 11:51:27 +01:00
Emilio Cobos Álvarez
0ad7abf15e
Bug 1441009: Don't null-check OwnerDoc. r=smaug
...
Can't return null.
MozReview-Commit-ID: JzcNwmsCxIu
2018-02-26 00:31:42 +01:00
Emilio Cobos Álvarez
21a36fad95
Bug 1440961: Make canvas style-related code interact a bit better with Shadow DOM. r=smaug
...
The only relevant spec reference unfortunately is for color parsing[1], which
mentions:
> Otherwise, set color to the computed value of the 'color' property of element.
Using IsInComposedDoc there should be fine, since the computed style of an
element is well defined there.
The rest look like implementation limitations, for which should not be an issue
to extend the check for the composed doc.
[1]: https://html.spec.whatwg.org/#parsed-as-a-css-color-value
MozReview-Commit-ID: ADnVPNqf3X1
--HG--
extra : rebase_source : ea72f695afe86820d2d04c2b8eca1d17bc356a71
2018-02-25 02:37:44 +01:00
Emilio Cobos Álvarez
7dffe29d8f
Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
...
Everyone calls them with the shell of the current composed document, and this
allows the multi-presShell stuff to just be in UpdateCurrentStyleSources /
DoGetStyleContextNoFlush.
The only reason we need to use OwnerDoc()->GetShell() instead of the composed
doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which
does expect to get the binding URL for stuff outside of the composed doc (and
changing that gave me a useless browser).
That's technically a behavior change on the cases that used to pass nullptr, but
I think all callers are fine with that. I could also just add a special function
for that particular case, it may be worth it.
MozReview-Commit-ID: 2XlnkgdgDCK
2018-02-25 02:23:59 +01:00
Adrian Wielgosik
ed00cb8c4e
Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot
...
MozReview-Commit-ID: GY3DdHAfQK2
--HG--
extra : rebase_source : 1fe021831984cb64cedd8c7eba486a0d29f7d66a
2018-02-21 20:49:07 +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
Jeff Muizelaar
96c7a33c31
Bug 1438425. Delete DocumentRenderer. r=jesup
...
It is unused.
2018-02-15 16:28:02 -05:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Emilio Cobos Álvarez
0bc20b0d9b
Bug 1420026: followup: Enable Servo CSS color parsing in canvas. r=xidorn
...
MozReview-Commit-ID: 9vMlQB7139F
2018-02-01 11:00:12 +11:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Jeff Gilbert
7edc1cd1d7
Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
...
MozReview-Commit-ID: 8OqXYXpUv4I
2018-01-05 15:27:48 -08:00
Samathy Barratt
d8ba79a56b
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : dbf645574aff7eefe65fa81809d6c07cb5800ec6
2017-12-11 15:37:59 +00:00
Ciure Andrei
b8d4330b53
Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
...
--HG--
rename : image/ImgDrawResult.h => image/DrawResult.h
2017-12-12 09:49:59 +02:00
Samathy Barratt
0749baf2d8
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : 4fba109b84ef456126d50e0d5e525f29f944a46d
2017-12-11 15:37:59 +00:00
Emilio Cobos Álvarez
33db0fe1e3
Bug 1420026: Disable this code path for now for permafailure. r=me
...
It's permafailing devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js |
MozReview-Commit-ID: 2aolifj0asm
2017-12-05 19:59:54 +01:00
Boris Chiou
570057e075
Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
...
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.
MozReview-Commit-ID: 6orXtddp9ZU
--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Cameron McCormack
9993c9819d
Bug 1420026 - Part 3: Report canvas color parsing errors to the console. r=TYLin
...
MozReview-Commit-ID: BcWat5wfGJJ
--HG--
extra : rebase_source : 6ac8d7e8db6c2c08fb23670bbb0b3486b59a938d
2017-12-04 12:53:57 +08:00
Cameron McCormack
040ca098ab
Bug 1420026 - Part 2: Replace one more use of nsCSSParser::ParseColor with ServoCSSParser::ComputeColor. r=TYLin
...
MozReview-Commit-ID: FIqhPFKS1IR
--HG--
extra : rebase_source : 551e9a9a7effe1bf447b58495560aba0b8a06594
2017-11-24 11:30:02 +08:00
Csoregi Natalia
6c0aadb872
Backed out 2 changesets (bug 1420026) for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
...
Backed out changeset 7ef37ebdf7b2 (bug 1420026)
Backed out changeset 75636e9e1d13 (bug 1420026)
2017-11-26 13:00:58 +02:00
Cameron McCormack
f096cf64fe
Bug 1420026 - Part 2: Replace one more use of nsCSSParser::ParseColor with ServoCSSParser::ComputeColor. r=TYLin
...
MozReview-Commit-ID: FIqhPFKS1IR
--HG--
extra : rebase_source : 9ee67d77c936c60c6ff5866088a43c80f0f3c2eb
2017-11-24 11:30:02 +08:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
sotaro
222b1d574f
Bug 1411472 - Add support of PersistentBufferProviderShared r=nical
2017-11-16 14:47:26 +09:00
Kartikaya Gupta
00ef028ed3
Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
...
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
return and take a Matrix respectively, instead of converting to
and from a gfxMatrix (which uses doubles). These functions therefore
will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
convert between the float matrix and the double matrix.
The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.
MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
Nika Layzell
c223b9ff2d
Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
...
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
David Anderson
3f697bb27d
Fix canvas and GL uses of DataSourceSurface::GetData. (bug 1405390 part 2, r=jgilbert)
...
--HG--
extra : rebase_source : eb4dcdfe9374e317a3a1e426bf35999ea50b074d
2017-11-09 00:43:30 -08:00
sotaro
e1d5eb970c
Bug 1411472 - Backout because of test failures
2017-11-07 11:34:13 +09:00
sotaro
4243be10df
Bug 1411472 - Add support of PersistentBufferProviderShared r=nical
2017-11-07 09:31:58 +09:00
Nika Layzell
b5701b1266
Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
...
MozReview-Commit-ID: 3j9jfLv7MO2
2017-11-01 11:06:26 -04:00
sotaro
23069babc9
Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange
2017-10-28 19:07:27 +09:00
Jonathan Kew
793b63713b
Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel
2017-10-24 09:59:09 +01:00
Cameron McCormack
64d0481dfd
Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
...
MozReview-Commit-ID: LuB0izWz7nk
--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Sebastian Hengst
821bac9381
Backed out changeset f13bc708c440 (bug 1408312)
2017-10-16 16:15:34 +02:00
Cameron McCormack
cd60976c07
Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
...
MozReview-Commit-ID: LuB0izWz7nk
--HG--
extra : rebase_source : c6bb1ce19b432e6a07db7c342e54a708f63d0c4b
2017-10-16 09:06:39 +08:00
Chung-Sheng Fu
6eb3e9c2c9
Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
...
MozReview-Commit-ID: AJ5F6M5S83U
--HG--
extra : rebase_source : 894b16575ebbccc26c5b639d7526cb473501d9d2
2017-08-22 14:23:41 +08:00
Hiroyuki Ikezoe
a5c66d4d97
Bug 1407463 - Drop unused pseudo atom argument from ResolveStyleLazily and ResolveStyleLazilyInternal. r=heycam
...
MozReview-Commit-ID: Lmjqbr7QsTU
--HG--
extra : rebase_source : dc1587cd9058bf279f21116a843928289b2602f2
2017-10-11 10:00:28 +09:00
Sebastian Hengst
92ee8df522
Backed out changeset 71790f0ea832 (bug 967895)
2017-10-09 19:18:12 +02:00
Chung-Sheng Fu
21db685671
Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
...
MozReview-Commit-ID: AJ5F6M5S83U
--HG--
extra : rebase_source : 2d2de5d6c4a7245759fefed468bcc7d82c9cd000
2017-08-22 14:23:41 +08:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Jonathan Watt
54bad67928
Bug 1405785, part 2 - Document and rename nsSVGRenderingObserver::DoUpdate to OnRenderingChange. r=longsonr
...
MozReview-Commit-ID: 76ImwCiBeX6
2017-09-15 10:01:34 +01:00
Kearwood "Kip" Gilbert
7f6e715fdf
Bug 1400407 - Part 2: Cleanup DOM Canvas mirroring dead code,r=jgilbert
...
- Refactored out Canvas layer mirror specialization, no longer needed
as we are no longer implementing a TextureForwarder to submit VR frames.
MozReview-Commit-ID: ArZO6M9kNLg
--HG--
extra : rebase_source : 2447bfb61b6575f0c6bdaf35ecd4656e7cfb762f
2017-09-15 15:06:56 -07:00
Sebastian Hengst
4d183e475c
Backed out changeset 9b5b03b2114d (bug 1401379)
2017-10-02 19:57:33 +02:00
Nika Layzell
484b697044
Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
...
MozReview-Commit-ID: 3j9jfLv7MO2
2017-10-02 11:58:01 -04:00
Jonathan Watt
341ea5e4f1
Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr
2017-08-30 15:58:31 +01:00
Jonathan Watt
0e4feb75d3
Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
...
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00