Index: Source/core/testing/Internals.js |
diff --git a/Source/core/testing/Internals.js b/Source/core/testing/Internals.js |
index a30335c74888ed9367e021155b1246dc56ad6e07..c6260b6e774eebe3c7e5cce1a3bb021f01a084a9 100644 |
--- a/Source/core/testing/Internals.js |
+++ b/Source/core/testing/Internals.js |
@@ -85,5 +85,33 @@ installClass("Internals", function(global) { |
node.dispatchEvent(event); |
} |
+ InternalsPrototype.readonlyShortAttributeGetter = function() { |
+ return 123; |
+ } |
+ |
+ InternalsPrototype.shortAttributeGetter = function() { |
+ return this.shortAttribute_; |
+ } |
+ |
+ InternalsPrototype.shortAttributeSetter = function(value) { |
+ this.shortAttribute_ = value; |
+ } |
+ |
+ InternalsPrototype.stringAttributeGetter = function() { |
+ return this.stringAttribute_; |
+ } |
+ |
+ InternalsPrototype.stringAttributeSetter = function(value) { |
+ this.stringAttribute_ = value; |
+ } |
+ |
+ InternalsPrototype.nodeAttributeGetter = function() { |
+ return this.nodeAttribute_; |
+ } |
+ |
+ InternalsPrototype.nodeAttributeSetter = function(value) { |
+ this.nodeAttribute_ = value; |
+ } |
abarth-chromium
2014/07/02 14:26:31
This is pretty ugly. It would be much nicer to be
haraken
2014/07/02 15:47:19
Yeah, I'm on the same page.
Even if it's hard to
|
+ |
return InternalsPrototype; |
}); |