ProxyInProxy.baseline 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. ***Testing Object.getOwnPropertyNames()
  2. ownKeys for proxy2
  3. ownKeys for proxy
  4. getOwnPropertyDescriptor on proxy : prop0
  5. getOwnPropertyDescriptor on proxy : prop1
  6. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  7. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  8. prop2,prop3
  9. ***Testing Object.keys()
  10. ownKeys for proxy2
  11. ownKeys for proxy
  12. getOwnPropertyDescriptor on proxy : prop0
  13. getOwnPropertyDescriptor on proxy : prop1
  14. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  15. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  16. getOwnPropertyDescriptor on proxy2 : prop2
  17. getOwnPropertyDescriptor on proxy : prop2
  18. getOwnPropertyDescriptor on proxy2 : prop3
  19. getOwnPropertyDescriptor on proxy : prop3
  20. prop2,prop3
  21. ***Testing Object.getOwnPropertySymbols()
  22. ownKeys for proxy2
  23. ownKeys for proxy
  24. getOwnPropertyDescriptor on proxy : prop0
  25. getOwnPropertyDescriptor on proxy : prop1
  26. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  27. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  28. 2
  29. ***Testing Object.freeze()
  30. ownKeys for proxy2
  31. ownKeys for proxy
  32. ***Testing Object.keys()
  33. ownKeys for proxy2
  34. ownKeys for proxy
  35. getOwnPropertyDescriptor on proxy : a
  36. getOwnPropertyDescriptor on proxy : prop0
  37. getOwnPropertyDescriptor on proxy : prop1
  38. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  39. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  40. ***Testing Object.assign()
  41. ownKeys for proxy
  42. getOwnPropertyDescriptor on proxy : prop0
  43. get on proxy : prop0
  44. getOwnPropertyDescriptor on proxy : prop1
  45. get on proxy : prop1
  46. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  47. get on proxy : Symbol(prop2)
  48. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  49. get on proxy : Symbol(prop5)
  50. ownKeys for proxy2
  51. ownKeys for proxy
  52. getOwnPropertyDescriptor on proxy : prop0
  53. getOwnPropertyDescriptor on proxy : prop1
  54. getOwnPropertyDescriptor on proxy : Symbol(prop2)
  55. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  56. getOwnPropertyDescriptor on proxy2 : prop2
  57. getOwnPropertyDescriptor on proxy : prop2
  58. get on proxy2 : prop2
  59. get on proxy : prop2
  60. getOwnPropertyDescriptor on proxy : prop2
  61. getOwnPropertyDescriptor on proxy2 : prop3
  62. getOwnPropertyDescriptor on proxy : prop3
  63. get on proxy2 : prop3
  64. get on proxy : prop3
  65. getOwnPropertyDescriptor on proxy : prop3
  66. getOwnPropertyDescriptor on proxy2 : Symbol(prop4)
  67. getOwnPropertyDescriptor on proxy : Symbol(prop4)
  68. get on proxy2 : Symbol(prop4)
  69. get on proxy : Symbol(prop4)
  70. getOwnPropertyDescriptor on proxy : Symbol(prop4)
  71. getOwnPropertyDescriptor on proxy2 : Symbol(prop5)
  72. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  73. get on proxy2 : Symbol(prop5)
  74. get on proxy : Symbol(prop5)
  75. getOwnPropertyDescriptor on proxy : Symbol(prop5)
  76. PropertyNames returned :
  77. prop0
  78. prop1
  79. prop2
  80. prop3
  81. PropertySymbols returned :
  82. Symbol(prop2)
  83. Symbol(prop5)
  84. Symbol(prop4)
  85. Symbol(prop5)
  86. ***Traps whose value is null are ignored
  87. "getPrototypeOf" called
  88. "setPrototypeOf" called
  89. "isExtensible" called
  90. "preventExtensions" called
  91. "getOwnPropertyDescriptor" called
  92. "defineProperty" called
  93. "has" called
  94. "get" called
  95. "set" called
  96. "deleteProperty" called
  97. "ownKeys" called
  98. "apply" called
  99. "construct" called
  100. ***function wrapped in 2+ proxies
  101. function
  102. function
  103. function
  104. *** proxied function and Object.prototype.toString.call
  105. [object Function]
  106. [object Function]
  107. [object Array]
  108. [object Object]
  109. [object Object]
  110. [object Object]
  111. [object Object]
  112. *** proxied function and Function.prototype.toString.call
  113. function a() { }
  114. function a() { }
  115. *** deeply nested proxy and typeof
  116. pass