You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[demo][acl] Exclude multiple ACLs for global object properties
Changes
ACL
// 'window' in the main document, 'self' in workersconstmainGlobalObjectName=typeofwindow==='object' ? 'window' : 'self';constacl={
...
// ACLs for these global object properties are NOT applied for property access `window.property`// They are applied only for property access `window.top`, `window.parent`, ..., `window._global`top: 'r--',parent: 'r--',frames: 'r--',global: 'r--',self: 'r--',_global: 'r--',// Main global object ACL, actually window or self[mainGlobalObjectName]: {// overwrite self: in worker threads
...
},};
Performance Optimization
_globalObjects.get(window) returns a Set object containing only 'window'
The text was updated successfully, but these errors were encountered:
[demo][acl] Exclude multiple ACLs for global object properties
Changes
_globalObjects.get(window)
returns a Set object containing only'window'
The text was updated successfully, but these errors were encountered: