Title: [207154] trunk/Source/WebCore
Revision
207154
Author
[email protected]
Date
2016-10-11 12:14:07 -0700 (Tue, 11 Oct 2016)

Log Message

Fix bindings tests after r207150.

* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::convertDictionary<TestObj::Dictionary>):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (207153 => 207154)


--- trunk/Source/WebCore/ChangeLog	2016-10-11 18:38:49 UTC (rev 207153)
+++ trunk/Source/WebCore/ChangeLog	2016-10-11 19:14:07 UTC (rev 207154)
@@ -1,5 +1,12 @@
 2016-10-11  Alex Christensen  <[email protected]>
 
+        Fix bindings tests after r207150.
+
+        * bindings/scripts/test/JS/JSTestObj.cpp:
+        (WebCore::convertDictionary<TestObj::Dictionary>):
+
+2016-10-11  Alex Christensen  <[email protected]>
+
         URLParser should percent-encode non-ASCII and non-printable characters in fragment
         https://bugs.webkit.org/show_bug.cgi?id=163287
 

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (207153 => 207154)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp	2016-10-11 18:38:49 UTC (rev 207153)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp	2016-10-11 19:14:07 UTC (rev 207154)
@@ -552,7 +552,7 @@
         result.largeIntegerWithDefault = 0;
     JSValue nullableIntegerWithDefaultValue = isNullOrUndefined ? jsUndefined() : object->get(&state, Identifier::fromString(&state, "nullableIntegerWithDefault"));
     if (!nullableIntegerWithDefaultValue.isUndefined()) {
-        result.nullableIntegerWithDefault = convertNullable<int32_t>(state, nullableIntegerWithDefaultValue, NormalConversion);
+        result.nullableIntegerWithDefault = convert<IDLNullable<IDLLong>>(state, nullableIntegerWithDefaultValue);
         RETURN_IF_EXCEPTION(throwScope, Nullopt);
     } else
         result.nullableIntegerWithDefault = Nullopt;
@@ -564,7 +564,7 @@
         result.nullableNode = nullptr;
     JSValue nullableStringWithDefaultValue = isNullOrUndefined ? jsUndefined() : object->get(&state, Identifier::fromString(&state, "nullableStringWithDefault"));
     if (!nullableStringWithDefaultValue.isUndefined()) {
-        result.nullableStringWithDefault = convertNullable<String>(state, nullableStringWithDefaultValue);
+        result.nullableStringWithDefault = convert<IDLNullable<IDLDOMString>>(state, nullableStringWithDefaultValue);
         RETURN_IF_EXCEPTION(throwScope, Nullopt);
     } else
         result.nullableStringWithDefault = String();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to