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

Unified Diff: chrome/renderer/resources/extensions/automation/automation_event.js

Issue 2080573003: Track all changed nodes during an update (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make suggested change. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extensions/automation/automation_event.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_event.js b/chrome/renderer/resources/extensions/automation/automation_event.js
index bd5a3d209610c75e9dce1ad932b41b95d04ff193..88c94d15d948e4bb59a615df2081ad48871fe81a 100644
--- a/chrome/renderer/resources/extensions/automation/automation_event.js
+++ b/chrome/renderer/resources/extensions/automation/automation_event.js
@@ -4,13 +4,12 @@
var utils = require('utils');
-function AutomationEventImpl(type, target) {
+function AutomationEventImpl(type, target, eventFrom) {
this.propagationStopped = false;
-
- // TODO(aboxhall): make these read-only properties
this.type = type;
this.target = target;
this.eventPhase = Event.NONE;
+ this.eventFrom = eventFrom;
}
AutomationEventImpl.prototype = {
@@ -31,6 +30,7 @@ utils.expose(AutomationEvent, AutomationEventImpl, {
'type',
'target',
'eventPhase',
+ 'eventFrom',
],
});

Powered by Google App Engine
This is Rietveld 408576698