@@ -711,7 +711,7 @@ else {
711
711
'/components/thin-hook/demo/es6-module4.js,f' : '@import.meta_reader,f' ,
712
712
'/components/thin-hook/demo/es6-module4.js,f,*' : '@import.meta_reader,f' ,
713
713
'/components/polymer/lib/utils/async.html,script@566,timeOut,run' : '@setTimeout_reader' ,
714
- '/components/thin-hook/demo/,script@5966 ' : '@document_writer' ,
714
+ '/components/thin-hook/demo/,script@4751 ' : '@document_writer' ,
715
715
'/components/thin-hook/demo/,script@5963' : '@document_writer' ,
716
716
'/components/thin-hook/demo/,script@5964' : '@document_writer' ,
717
717
'/components/thin-hook/demo/sub-document.html,*' : '@document_writer' ,
@@ -4839,6 +4839,12 @@ else {
4839
4839
if ( _args [ 1 ] [ 1 ] instanceof Object ) {
4840
4840
rawProperty = [ ] ;
4841
4841
for ( let i = 1 ; i < _args [ 1 ] . length ; i ++ ) {
4842
+ let _obj = _args [ 1 ] [ i ] ;
4843
+ let _name = _globalObjects . get ( _obj ) ;
4844
+ if ( ! applyAcl ( _name , true , false , S_ALL , 'r' , context , _obj , _args , arguments ) ) {
4845
+ result = [ _name , true , false , S_ALL , 'r' , context , _obj , _args , arguments ] ;
4846
+ throw new Error ( 'Permission Denied: Cannot access ' + SetMap . getStringValues ( _name ) ) ;
4847
+ }
4842
4848
// TODO: Are inherited properties targeted?
4843
4849
rawProperty = rawProperty . concat ( Object . keys ( _args [ 1 ] [ i ] ) ) ;
4844
4850
}
@@ -6278,6 +6284,12 @@ else {
6278
6284
if ( _args [ 1 ] [ 1 ] instanceof Object ) {
6279
6285
rawProperty = [ ] ;
6280
6286
for ( let i = 1 ; i < _args [ 1 ] . length ; i ++ ) {
6287
+ let _obj = _args [ 1 ] [ i ] ;
6288
+ let _name = _globalObjects . get ( _obj ) ;
6289
+ if ( ! applyAcl ( _name , true , false , S_ALL , 'r' , context , _obj , _args , arguments ) ) {
6290
+ result = [ _name , true , false , S_ALL , 'r' , context , _obj , _args , arguments ] ;
6291
+ throw new Error ( 'Permission Denied: Cannot access ' + SetMap . getStringValues ( _name ) ) ;
6292
+ }
6281
6293
// TODO: Are inherited properties targeted?
6282
6294
rawProperty = rawProperty . concat ( Object . keys ( _args [ 1 ] [ i ] ) ) ;
6283
6295
}
0 commit comments