[webkit-changes] [WebKit/WebKit] f7e6c1: Fix value == undefined and propertyValue != undefi...
Frances Cornwall
noreply at github.com
Thu May 16 13:39:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f7e6c1a5fe40cf9aa797560702f82307c7816837
https://github.com/WebKit/WebKit/commit/f7e6c1a5fe40cf9aa797560702f82307c7816837
Author: Frances Cornwall <frances_c at cox.net>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M LayoutTests/http/tests/cookies/resources/cookie-utilities.js
Log Message:
-----------
Fix value == undefined and propertyValue != undefined in cookie-utilities.js
https://bugs.webkit.org/show_bug.cgi?id=274109
Reviewed by Tim Nguyen.
Check if propertyValue is undefined and null and the value is undefined or null.
Replace != and !== with === and !== to be more specific, there is no such thing as almost undefined or almost null.
Properties are either null or not null and defined or undefined.
* LayoutTests/http/tests/cookies/resources/cookie-utilities.js:
(createCookie):
Canonical link: https://commits.webkit.org/278889@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list