mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class.
This commit is contained in:
parent
3b9fbdc71d
commit
ca9e376e55
25 changed files with 65 additions and 677 deletions
|
|
@ -158,11 +158,11 @@ NativeObject::extendDenseElements(ExclusiveContext* cx,
|
|||
MOZ_ASSERT(!denseElementsAreFrozen());
|
||||
|
||||
/*
|
||||
* Don't grow elements for non-extensible objects or watched objects. Dense
|
||||
* elements can be added/written with no extensible or watchpoint checks as
|
||||
* long as there is capacity for them.
|
||||
* Don't grow elements for non-extensible objects. Dense elements can be
|
||||
* added/written with no extensible checks as long as there is capacity
|
||||
* for them.
|
||||
*/
|
||||
if (!nonProxyIsExtensible() || watched()) {
|
||||
if (!nonProxyIsExtensible()) {
|
||||
MOZ_ASSERT(getDenseCapacity() == 0);
|
||||
return DenseElementResult::Incomplete;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue