Samuel Attard
|
a80f7fc81f
build: enable JS semicolons (#22787)
|
5 years ago |
Shelley Vohr
|
02710ef574
refactor: make templateImage a property on nativeImage (#18124)
|
6 years ago |
Milan Burda
|
95df531b33
fix: add missing buffer size check in nativeImage (#17465)
|
6 years ago |
Milan Burda
|
4d8e024b6d
spec: fix isEmpty() checks in nativeImage tests (#17441)
|
6 years ago |
Milan Burda
|
878538f2e8
feat: add safer nativeImage.createFromBitmap(), which does not decode PNG/JPEG (#17337)
|
6 years ago |
Milan Burda
|
df7dc9396e
fix: don't crash when nativeImage.createFromBuffer() called with invalid buffer (#17344)
|
6 years ago |
Samuel Attard
|
558fff69e7
chore: update to standard 12
|
6 years ago |
Jeremy Apthorp
|
c068bc7d3d
test: make nativeImage relative path test robust to different cwd
|
6 years ago |
Shelley Vohr
|
9489401e7d
spec: convert smaller specs to expect
|
6 years ago |
shelley vohr
|
a2856db982
Remove nativeImage deprecated methods (#11978)
|
7 years ago |
Zeke Sikelianos
|
aab35073ee
Merge pull request #11255 from electron/fix-11245
|
7 years ago |
Aleksei Kuzmin
|
b9ed7380aa
Explicitly set alpha type of bitmaps with JPEG data to opaque
|
7 years ago |
Aleksei Kuzmin
|
c0c983d28d
Light refactoring of the nativeImage module tests
|
7 years ago |
Cheng Zhao
|
1c0ea0286e
Merge pull request #11235 from electron/standard-10
|
7 years ago |
Aleksei Kuzmin
|
91e4193622
Enable nativeImage module addRepresentation() tests
|
7 years ago |
Aleksei Kuzmin
|
c73ba5802e
Disable "nativeImage module > addRepresentation()" tests
|
7 years ago |
Felix Rieseberg
|
9f0df695ca
:wrench: Spec: Fix style issues
|
7 years ago |
Aleksei Kuzmin
|
cf749a8e18
Explicitly skip tests that should be skipped
|
7 years ago |
Aleksei Kuzmin
|
b51a9cf4f6
Rewrite "nativeImage module" tests assertions with chai.expect()
|
7 years ago |
Aleksei Kuzmin
|
2f7718265a
Light refactoring of the nativeImage module tests
|
7 years ago |
Samuel Attard
|
ed25941c65
Add basic specs
|
7 years ago |
Kevin Sawicki
|
2946f624ac
Add spec for adding representation to existing image
|
8 years ago |
Kevin Sawicki
|
6e977cbc3a
Assert emptiness and size of built up images
|
8 years ago |
Kevin Sawicki
|
7e039d92ec
Support adding representation from data URL
|
8 years ago |
Kevin Sawicki
|
17b70670f8
Add initial NativeImage.addRepresentation specs
|
8 years ago |
Kevin Sawicki
|
31cae8e1aa
Add more scale factor specs
|
8 years ago |
Kevin Sawicki
|
82a81bb26e
Support scale factor to buffer APIs
|
8 years ago |
Kevin Sawicki
|
e4ead6d018
Remove hasRepresentation and just use 1x png result
|
8 years ago |
Kevin Sawicki
|
8bc65ef495
Add failing spec for toPNG with scale factor
|
8 years ago |
Kevin Sawicki
|
50ade57700
Add more hasRepresentation asserts
|
8 years ago |