Disable DOM MutationEvents for platform apps
commit3a8e6194ab43a9a37c08423bfda2c0e461982978
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 23 Aug 2012 01:46:45 +0000 (23 01:46 +0000)
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 23 Aug 2012 01:46:45 +0000 (23 01:46 +0000)
tree2aec7cde4d5f15f43732535964dc879fa747ef6f
parent386098336aa778f82d5a079b9371a1c63bd46d94
Disable DOM MutationEvents for platform apps

New apps should use MutationObservers instead, which provide
similar (or better) capabilities without the performance and
stability/security downsides of MutationEvents.

BUG=142648

Review URL: https://chromiumcodereview.appspot.com/10870013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152914 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/platform_app_browsertest.cc
chrome/renderer/chrome_render_view_observer.cc
chrome/renderer/chrome_render_view_observer.h
chrome/test/data/extensions/platform_apps/mutation_events/main.html [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/mutation_events/main.js [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/mutation_events/manifest.json [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/mutation_events/test.js [new file with mode: 0644]