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

Unified Diff: third_party/WebKit/Source/core/testing/DictionaryTest.cpp

Issue 2587383002: Add [PrefixGet] extended attribute (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/core/testing/DictionaryTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
index 7ae0c0e9c6a254dbe29ebd235f3149aaa05a7879..353559639b5d1f2323daa0e0e85124e208cc9ce7 100644
--- a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
+++ b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp
@@ -73,6 +73,7 @@ void DictionaryTest::set(const InternalDictionary& testingDictionary) {
testingDictionary.dictionaryMember().getOwnPropertiesAsStringHashMap(
exceptionState);
}
+ m_prefixGetMember = testingDictionary.getPrefixGetMember();
}
void DictionaryTest::get(InternalDictionary& result) {
@@ -119,6 +120,7 @@ void DictionaryTest::get(InternalDictionary& result) {
result.setDoubleOrStringSequenceMember(
m_doubleOrStringSequenceMember.get());
result.setEventTargetOrNullMember(m_eventTargetOrNullMember);
+ result.setPrefixGetMember(m_prefixGetMember);
}
ScriptValue DictionaryTest::getDictionaryMemberProperties(
@@ -218,6 +220,7 @@ void DictionaryTest::reset() {
m_derivedStringMemberWithDefault = String();
m_requiredBooleanMember = false;
m_dictionaryMemberProperties = nullptr;
+ m_prefixGetMember = ScriptValue();
}
DEFINE_TRACE(DictionaryTest) {
« no previous file with comments | « third_party/WebKit/Source/core/testing/DictionaryTest.h ('k') | third_party/WebKit/Source/core/testing/InternalDictionary.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698