Title: [270920] branches/safari-611.1.9-branch/Source/_javascript_Core
- Revision
- 270920
- Author
- [email protected]
- Date
- 2020-12-16 18:19:17 -0800 (Wed, 16 Dec 2020)
Log Message
Revert r270700. rdar://problem/72408033
Modified Paths
Diff
Modified: branches/safari-611.1.9-branch/Source/_javascript_Core/API/JSValueRef.cpp (270919 => 270920)
--- branches/safari-611.1.9-branch/Source/_javascript_Core/API/JSValueRef.cpp 2020-12-17 02:19:07 UTC (rev 270919)
+++ branches/safari-611.1.9-branch/Source/_javascript_Core/API/JSValueRef.cpp 2020-12-17 02:19:17 UTC (rev 270920)
@@ -64,7 +64,7 @@
if (jsValue.isUndefined())
return kJSTypeUndefined;
- if (!jsValue || jsValue.isNull())
+ if (jsValue.isNull())
return kJSTypeNull;
if (jsValue.isBoolean())
return kJSTypeBoolean;
@@ -105,7 +105,7 @@
JSLockHolder locker(globalObject);
return toJS(globalObject, value).isNull();
#else
- return !value || toJS(value).isNull();
+ return toJS(value).isNull();
#endif
}
Modified: branches/safari-611.1.9-branch/Source/_javascript_Core/ChangeLog (270919 => 270920)
--- branches/safari-611.1.9-branch/Source/_javascript_Core/ChangeLog 2020-12-17 02:19:07 UTC (rev 270919)
+++ branches/safari-611.1.9-branch/Source/_javascript_Core/ChangeLog 2020-12-17 02:19:17 UTC (rev 270920)
@@ -1,5 +1,9 @@
2020-12-16 Russell Epstein <[email protected]>
+ Revert r270700. rdar://problem/72408033
+
+2020-12-16 Russell Epstein <[email protected]>
+
Revert r270719. rdar://problem/72408033
2020-12-11 Tadeu Zagallo <[email protected]>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes