Title: [272674] branches/safari-611-branch/Source/_javascript_Core
Revision
272674
Author
alanc...@apple.com
Date
2021-02-10 12:25:42 -0800 (Wed, 10 Feb 2021)

Log Message

Revert r272539. rdar://problem/74183111

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/_javascript_Core/API/JSValue.mm (272673 => 272674)


--- branches/safari-611-branch/Source/_javascript_Core/API/JSValue.mm	2021-02-10 20:16:11 UTC (rev 272673)
+++ branches/safari-611-branch/Source/_javascript_Core/API/JSValue.mm	2021-02-10 20:25:42 UTC (rev 272674)
@@ -408,7 +408,7 @@
 - (BOOL)isNull
 {
 #if !CPU(ADDRESS64)
-    return JSValueIsNull([_context JSGlobalContextRef], m_value);
+    return JSValueIsUndefined([_context JSGlobalContextRef], m_value);
 #else
     return toJS(m_value).isNull();
 #endif
@@ -417,7 +417,7 @@
 - (BOOL)isBoolean
 {
 #if !CPU(ADDRESS64)
-    return JSValueIsBoolean([_context JSGlobalContextRef], m_value);
+    return JSValueIsUndefined([_context JSGlobalContextRef], m_value);
 #else
     return toJS(m_value).isBoolean();
 #endif
@@ -426,7 +426,7 @@
 - (BOOL)isNumber
 {
 #if !CPU(ADDRESS64)
-    return JSValueIsNumber([_context JSGlobalContextRef], m_value);
+    return JSValueIsUndefined([_context JSGlobalContextRef], m_value);
 #else
     return toJS(m_value).isNumber();
 #endif
@@ -435,7 +435,7 @@
 - (BOOL)isString
 {
 #if !CPU(ADDRESS64)
-    return JSValueIsString([_context JSGlobalContextRef], m_value);
+    return JSValueIsUndefined([_context JSGlobalContextRef], m_value);
 #else
     return toJS(m_value).isString();
 #endif

Modified: branches/safari-611-branch/Source/_javascript_Core/ChangeLog (272673 => 272674)


--- branches/safari-611-branch/Source/_javascript_Core/ChangeLog	2021-02-10 20:16:11 UTC (rev 272673)
+++ branches/safari-611-branch/Source/_javascript_Core/ChangeLog	2021-02-10 20:25:42 UTC (rev 272674)
@@ -1,3 +1,7 @@
+2021-02-10  Alan Coon  <alanc...@apple.com>
+
+        Revert r272539. rdar://problem/74183111
+
 2021-02-08  Russell Epstein  <repst...@apple.com>
 
         Cherry-pick r271570. rdar://problem/74105714
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to