Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4b16138ae6dd3449c3b7b5a7c17f67a69b40d340 https://github.com/WebKit/WebKit/commit/4b16138ae6dd3449c3b7b5a7c17f67a69b40d340 Author: Sosuke Suzuki <sosuke.suz...@dr-ubie.com> Date: 2024-04-15 (Mon, 15 Apr 2024)
Changed paths: A JSTests/stress/set-prototype-symmetricDifference-mutate-this.js M JSTests/test262/expectations.yaml M Source/JavaScriptCore/builtins/SetPrototype.js Log Message: ----------- [JSC] `Set#symmetricDifference` should call `this.has` in each iteration https://bugs.webkit.org/show_bug.cgi?id=272679 Reviewed by Yusuke Suzuki. According to the spec[1](7.b.iv), `SetDataHas` in each iteration of `Set#symmetricDifference` should be called on `O`, not on `resultSetData`. [1]: https://tc39.es/proposal-set-methods/#sec-set.prototype.symmetricdifference * JSTests/stress/set-prototype-symmetricDifference-mutate-this.js: Added. (shouldBe): (const.setB.has): (const.setB.keys): * JSTests/test262/expectations.yaml: * Source/JavaScriptCore/builtins/SetPrototype.js: (symmetricDifference): Canonical link: https://commits.webkit.org/277526@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes