Commit 7cfe84a
committed
[MERGE chakra-core#914] Function.name on the getter/setter on defineProperty.
Merge pull request chakra-core#914 from akroshg:name
For getter/setter function in the object literal we were initially giving them get/set name respectively. However if they appear in the defineProperty we were changing them for diagnostics purpose. In the diagnostics side we were expected to give <propname>.get but due to function.name we have changed it to "get <propname>"., which is not needed and not consistent.
This change is removing that and putting the <propname>.get as full name for the current function. The short name will now automatically be given as get/set correctly.4 files changed
Lines changed: 23 additions & 55 deletions
File tree
- lib/Runtime/Library
- test
- StackTrace
- es6
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2046 | 2046 | | |
2047 | 2047 | | |
2048 | 2048 | | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
2053 | | - | |
2054 | | - | |
2055 | | - | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | 2049 | | |
2079 | 2050 | | |
2080 | 2051 | | |
2081 | 2052 | | |
2082 | 2053 | | |
2083 | 2054 | | |
2084 | 2055 | | |
| 2056 | + | |
| 2057 | + | |
2085 | 2058 | | |
2086 | 2059 | | |
2087 | 2060 | | |
2088 | 2061 | | |
2089 | 2062 | | |
2090 | | - | |
2091 | | - | |
2092 | | - | |
2093 | | - | |
2094 | | - | |
2095 | | - | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
| 2063 | + | |
2099 | 2064 | | |
2100 | 2065 | | |
2101 | 2066 | | |
2102 | 2067 | | |
2103 | | - | |
| 2068 | + | |
| 2069 | + | |
2104 | 2070 | | |
2105 | 2071 | | |
2106 | 2072 | | |
| |||
2109 | 2075 | | |
2110 | 2076 | | |
2111 | 2077 | | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
| 2078 | + | |
2122 | 2079 | | |
2123 | 2080 | | |
2124 | 2081 | | |
2125 | 2082 | | |
2126 | | - | |
| 2083 | + | |
| 2084 | + | |
2127 | 2085 | | |
2128 | 2086 | | |
2129 | 2087 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
753 | 764 | | |
754 | 765 | | |
755 | 766 | | |
| |||
0 commit comments