Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2069a352b2036966def87266e6f2295b10ddd481
      
https://github.com/WebKit/WebKit/commit/2069a352b2036966def87266e6f2295b10ddd481
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    A JSTests/stress/cloning-check-prototype.js
    M Source/JavaScriptCore/runtime/ObjectConstructorInlines.h

  Log Message:
  -----------
  [Regression] Spread of class should not inherit instanceof
https://bugs.webkit.org/show_bug.cgi?id=275055
rdar://129168077

Reviewed by Yijia Huang.

We should check the structure's prototype is Object.prototype.

* JSTests/stress/cloning-check-prototype.js: Added.
(shouldBe):
(Test):
* Source/JavaScriptCore/runtime/ObjectConstructorInlines.h:
(JSC::tryCreateObjectViaCloning):

Canonical link: https://commits.webkit.org/279713@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

Reply via email to