DescriptionMake instance checks understand remote contexts.
https://crrev.com/2500363002 updated FunctionTemplate::HasInstance to
follow the hidden prototype chain of a global proxy to the global
object. However, remote contexts don't have a global object to check;
instead, teach the instance check knows about the conventions of
global proxy setup and have it also check the constructor's prototype.
Similarly, also teach Object::FindInstanceInPrototypeChain about the
unusual conventions for remote contexts.
BUG=527190
Review-Url: https://codereview.chromium.org/2698683003
Cr-Commit-Position: refs/heads/master@{#43263}
Committed: https://chromium.googlesource.com/v8/v8/+/692cccce2695b900f181eb2fdfe83e4dec0d4bf1
Patch Set 1 #Patch Set 2 : Fix format. #
Total comments: 1
Patch Set 3 : Handle parent templates #
Total comments: 1
Patch Set 4 : FindInstanceInPrototypeChain #Patch Set 5 : Add comment #Patch Set 6 : Remove unnecessary v8 nested name specifier #Patch Set 7 : Break dependency on CreationContext patch #
Dependent Patchsets: Messages
Total messages: 20 (8 generated)
|