|
Implement a basic PPAPI plugin for Blink layout tests.
The plugin is automatically registered in layout tests using the
MIME type application/x-blink-test-plugin. Several layout tests
have also been migrated to use the new plugin.
Implementing the plugin also revealed a bug in PPAPI and the
layout test runner:
- Retrieving the key code via PPAPI always returned KeyA on Mac.
- The layout test runner explicitly set DYLD_FRAMEWORK_PATH,
making it hard to load the plugin from the right location.
BUG= 474535
Committed: https://crrev.com/0d93c1a79b3c4cc3b633e9f6e1fbae6cf1611f64
Cr-Commit-Position: refs/heads/master@{#362872}
Total comments: 4
Total comments: 5
Total comments: 3
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+391 lines, -186 lines) |
Patch |
 |
M |
content/content_shell.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/ppapi_test_utils.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/ppapi_test_utils.cc
|
View
|
5
6
|
3 chunks |
+34 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/event_conversion.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/shell/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/shell/app/shell_main_delegate.cc
|
View
|
5
6
|
5 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_plugin_service_filter.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_tests.gypi
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/tests/blink_test_plugin.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+179 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/replaced/invalid-object-with-fallback.html
|
View
|
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/linux/plugins/keyboard-events-expected.txt
|
View
|
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/linux/plugins/mouse-events-expected.txt
|
View
|
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/linux/plugins/mouse-events-fixedpos-expected.txt
|
View
|
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/platform/linux/plugins/webview-plugin-type-change-expected.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/mac/plugins/keyboard-events-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/mac/plugins/mouse-events-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/mac/plugins/mouse-events-fixedpos-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/win/plugins/keyboard-events-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/platform/win/plugins/mouse-click-plugin-clears-selection-expected.txt
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/win/plugins/mouse-events-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/platform/win/plugins/mouse-events-fixedpos-expected.txt
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/plugins/keyboard-events.html
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/plugins/keyboard-events-expected.txt
|
View
|
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/plugins/mouse-click-plugin-clears-selection.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/plugins/mouse-events.html
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/plugins/mouse-events-expected.txt
|
View
|
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/plugins/mouse-events-fixedpos.html
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+18 lines, -24 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/plugins/mouse-events-fixedpos-expected.txt
|
View
|
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/plugins/webview-plugin-type-change.html
|
View
|
|
1 chunk |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 38 (16 generated)
|