Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed)

Created:
4 years, 9 months ago by piman
Modified:
4 years, 9 months ago
Reviewers:
dcheng
CC:
blink-reviews, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate a bunch of LayoutTests from NPAPI to PPAPI - Add a way to specify extensions handled by plugins. Flash needs it, so we need to test the feature - Fix PluginObject::EnumerateNamedProperties to correctly raise an exception when the object is deleted - Remove a couple of tests that exercise NPAPI features that don't exist / we don't need on PPAPI (NPN_ReloadPlugins, using plugin to handle images) - Add some extra API to blink_deprecated_test_plugin and port tests over. BUG=318978, 474535 Committed: https://crrev.com/a7f9ca2dc86876b60a1080c5531336a8bea88b6f Cr-Commit-Position: refs/heads/master@{#382929}

Patch Set 1 : rebase #

Total comments: 12

Patch Set 2 : rebase, fix comments #

Patch Set 3 : rebase2 #

Patch Set 4 : rebase; fix expectations for plugin-initiate-popup-window-expected #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -194 lines) Patch
M content/common/pepper_plugin_list.cc View 1 2 chunks +10 lines, -3 lines 0 comments Download
M content/public/test/ppapi_test_utils.cc View 1 1 chunk +7 lines, -5 lines 0 comments Download
M content/renderer/pepper/plugin_object.cc View 1 chunk +5 lines, -1 line 0 comments Download
M ppapi/tests/blink_deprecated_test_plugin.cc View 1 9 chunks +133 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 3 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/permissionclient/plugin-permission.html View 1 2 chunks +11 lines, -22 lines 0 comments Download
M third_party/WebKit/LayoutTests/permissionclient/plugin-permission-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/plugins/plugin-initiate-popup-window-expected.txt View 1 2 3 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/plugins/plugin-javascript-access-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/plugins/plugin-initiate-popup-window-expected.txt View 1 2 3 1 chunk +0 lines, -19 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/plugins/plugin-javascript-access-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/plugins/plugin-initiate-popup-window-expected.txt View 1 2 3 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/plugins/plugin-javascript-access-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html View 1 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/embed-attributes-setting-expected.txt View 1 2 chunks +6 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/embed-prefers-plugins-for-images.html View 1 chunk +0 lines, -28 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/embed-prefers-plugins-for-images-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/empty-per-context-data.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/plugins/no-mime-with-valid-extension.html View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/no-mime-with-valid-extension-expected.txt View 1 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/override-node-method.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/plugins/plugin-destroyed-enumerate.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window.html View 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/plugins/plugin-initiate-popup-window-expected.txt View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html View 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/release-frame-content-window.html View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/plugins/reloadplugins-no-pages.html View 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/reloadplugins-no-pages-expected.txt View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/resources/plugin-remove-subframe-iframe.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/plugins/window-open.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/plugins/window-open-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
piman
4 years, 9 months ago (2016-03-22 05:34:28 UTC) #2
dcheng
https://codereview.chromium.org/1821103002/diff/20001/content/common/pepper_plugin_list.cc File content/common/pepper_plugin_list.cc (right): https://codereview.chromium.org/1821103002/diff/20001/content/common/pepper_plugin_list.cc#newcode58 content/common/pepper_plugin_list.cc:58: // mime-type-data = <mime-type> + *( LWS + "#" ...
4 years, 9 months ago (2016-03-22 18:03:05 UTC) #4
piman
https://codereview.chromium.org/1821103002/diff/20001/content/common/pepper_plugin_list.cc File content/common/pepper_plugin_list.cc (right): https://codereview.chromium.org/1821103002/diff/20001/content/common/pepper_plugin_list.cc#newcode58 content/common/pepper_plugin_list.cc:58: // mime-type-data = <mime-type> + *( LWS + "#" ...
4 years, 9 months ago (2016-03-23 05:30:25 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821103002/60001
4 years, 9 months ago (2016-03-23 05:30:48 UTC) #7
dcheng
lgtm
4 years, 9 months ago (2016-03-23 05:37:38 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/193160)
4 years, 9 months ago (2016-03-23 07:34:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821103002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821103002/80001
4 years, 9 months ago (2016-03-23 20:15:40 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-23 21:23:26 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 21:24:58 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a7f9ca2dc86876b60a1080c5531336a8bea88b6f
Cr-Commit-Position: refs/heads/master@{#382929}

Powered by Google App Engine
This is Rietveld 408576698