Title: [208757] trunk/Source/WebCore
Revision
208757
Author
[email protected]
Date
2016-11-15 14:25:42 -0800 (Tue, 15 Nov 2016)

Log Message

Unreviewed, quick fix for r208751

* bindings/js/JSSubtleCryptoCustom.cpp:
(WebCore::jsSubtleCryptoFunctionExportKeyPromise):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208756 => 208757)


--- trunk/Source/WebCore/ChangeLog	2016-11-15 22:16:01 UTC (rev 208756)
+++ trunk/Source/WebCore/ChangeLog	2016-11-15 22:25:42 UTC (rev 208757)
@@ -1,3 +1,10 @@
+2016-11-15  Jiewen Tan  <[email protected]>
+
+        Unreviewed, quick fix for r208751
+
+        * bindings/js/JSSubtleCryptoCustom.cpp:
+        (WebCore::jsSubtleCryptoFunctionExportKeyPromise):
+
 2016-11-15  Chris Dumez  <[email protected]>
 
         Unreviewed, fix build after r208710.

Modified: trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp (208756 => 208757)


--- trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp	2016-11-15 22:16:01 UTC (rev 208756)
+++ trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp	2016-11-15 22:25:42 UTC (rev 208757)
@@ -490,7 +490,7 @@
     case CryptoAlgorithmIdentifier::HMAC:
         break;
     default:
-        promise->reject(TypeError, ASCIILiteral("The operation is not supported"));
+        promise->reject(NOT_SUPPORTED_ERR, ASCIILiteral("The operation is not supported"));
         return;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to