|
Add drawImage() originClean() getSecurityOrigin() to OffscreenCanvas
This patch adds m_originClean flag to OffscreenCanvas and
ensures that OCRC2D also use the value of this flag instead
of keeping its own redundant copy. It propagates the value of
originClean in transferToImageBitmap().
This patch also expose drawImage() API functions in ORCRC2D in workers.
BUG= 563870, 563856
Committed: https://crrev.com/23378f8baae5d52320bb4652984b3f045f0bd95e
Cr-Commit-Position: refs/heads/master@{#391002}
Total comments: 2
Total comments: 1
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+156 lines, -56 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-2d-drawImage-in-worker.html
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-2d-drawImage-in-worker-expected.html
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/http/tests/security/cross-origin-OffscreenCanvas2D-transferToImageBitmap.html
|
View
|
1
2
3
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/http/tests/security/cross-origin-OffscreenCanvas2D-transferToImageBitmap-expected.txt
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
|
View
|
1
2
3
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
|
View
|
1
2
3
|
7 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
|
View
|
1
2
3
|
4 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
Total messages: 33 (16 generated)
|