|
Lines 1-3
a/Source/JavaScriptCore/ChangeLog_sec1
|
|
|
1 |
2019-04-09 Robin Morisset <rmorisset@apple.com> |
| 2 |
|
| 3 |
All prototypes should call didBecomePrototype() |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=196315 |
| 5 |
|
| 6 |
Reviewed by Saam Barati. |
| 7 |
|
| 8 |
Otherwise we won't remember to run haveABadTime() when someone adds to them an indexed accessor. |
| 9 |
|
| 10 |
I added a check used in both Structure::finishCreation() and Structure::changePrototypeTransition to make sure we don't |
| 11 |
create structures with invalid prototypes. |
| 12 |
It found a lot of objects that are used as prototypes in JSGlobalObject and yet were missing didBecomePrototype() in their finishCreation(). |
| 13 |
Somewhat surprisingly, some of them have names like FunctionConstructor and not only FooPrototype. |
| 14 |
|
| 15 |
* runtime/BigIntPrototype.cpp: |
| 16 |
(JSC::BigIntPrototype::finishCreation): |
| 17 |
* runtime/BooleanPrototype.cpp: |
| 18 |
(JSC::BooleanPrototype::finishCreation): |
| 19 |
* runtime/DatePrototype.cpp: |
| 20 |
(JSC::DatePrototype::finishCreation): |
| 21 |
* runtime/ErrorConstructor.cpp: |
| 22 |
(JSC::ErrorConstructor::finishCreation): |
| 23 |
* runtime/ErrorPrototype.cpp: |
| 24 |
(JSC::ErrorPrototype::finishCreation): |
| 25 |
* runtime/FunctionConstructor.cpp: |
| 26 |
(JSC::FunctionConstructor::finishCreation): |
| 27 |
* runtime/FunctionPrototype.cpp: |
| 28 |
(JSC::FunctionPrototype::finishCreation): |
| 29 |
* runtime/IntlCollatorPrototype.cpp: |
| 30 |
(JSC::IntlCollatorPrototype::finishCreation): |
| 31 |
* runtime/IntlDateTimeFormatPrototype.cpp: |
| 32 |
(JSC::IntlDateTimeFormatPrototype::finishCreation): |
| 33 |
* runtime/IntlNumberFormatPrototype.cpp: |
| 34 |
(JSC::IntlNumberFormatPrototype::finishCreation): |
| 35 |
* runtime/IntlPluralRulesPrototype.cpp: |
| 36 |
(JSC::IntlPluralRulesPrototype::finishCreation): |
| 37 |
* runtime/JSArrayBufferPrototype.cpp: |
| 38 |
(JSC::JSArrayBufferPrototype::finishCreation): |
| 39 |
* runtime/JSDataViewPrototype.cpp: |
| 40 |
(JSC::JSDataViewPrototype::finishCreation): |
| 41 |
* runtime/JSGenericTypedArrayViewPrototypeInlines.h: |
| 42 |
(JSC::JSGenericTypedArrayViewPrototype<ViewClass>::finishCreation): |
| 43 |
* runtime/JSPromisePrototype.cpp: |
| 44 |
(JSC::JSPromisePrototype::finishCreation): |
| 45 |
* runtime/JSTypedArrayViewConstructor.cpp: |
| 46 |
(JSC::JSTypedArrayViewConstructor::finishCreation): |
| 47 |
* runtime/JSTypedArrayViewPrototype.cpp: |
| 48 |
(JSC::JSTypedArrayViewPrototype::finishCreation): |
| 49 |
* runtime/NumberPrototype.cpp: |
| 50 |
(JSC::NumberPrototype::finishCreation): |
| 51 |
* runtime/RegExpPrototype.cpp: |
| 52 |
(JSC::RegExpPrototype::finishCreation): |
| 53 |
* runtime/StringPrototype.cpp: |
| 54 |
(JSC::StringPrototype::finishCreation): |
| 55 |
* runtime/Structure.cpp: |
| 56 |
(JSC::Structure::isValidPrototype): |
| 57 |
(JSC::Structure::changePrototypeTransition): |
| 58 |
* runtime/Structure.h: |
| 59 |
* runtime/SymbolPrototype.cpp: |
| 60 |
(JSC::SymbolPrototype::finishCreation): |
| 61 |
* wasm/js/WebAssemblyCompileErrorPrototype.cpp: |
| 62 |
(JSC::WebAssemblyCompileErrorPrototype::finishCreation): |
| 63 |
* wasm/js/WebAssemblyInstancePrototype.cpp: |
| 64 |
(JSC::WebAssemblyInstancePrototype::finishCreation): |
| 65 |
* wasm/js/WebAssemblyLinkErrorPrototype.cpp: |
| 66 |
(JSC::WebAssemblyLinkErrorPrototype::finishCreation): |
| 67 |
* wasm/js/WebAssemblyMemoryPrototype.cpp: |
| 68 |
(JSC::WebAssemblyMemoryPrototype::finishCreation): |
| 69 |
* wasm/js/WebAssemblyModulePrototype.cpp: |
| 70 |
(JSC::WebAssemblyModulePrototype::finishCreation): |
| 71 |
* wasm/js/WebAssemblyPrototype.cpp: |
| 72 |
(JSC::WebAssemblyPrototype::finishCreation): |
| 73 |
* wasm/js/WebAssemblyRuntimeErrorPrototype.cpp: |
| 74 |
(JSC::WebAssemblyRuntimeErrorPrototype::finishCreation): |
| 75 |
* wasm/js/WebAssemblyTablePrototype.cpp: |
| 76 |
(JSC::WebAssemblyTablePrototype::finishCreation): |
| 77 |
|
| 1 |
2019-04-09 Don Olmstead <don.olmstead@sony.com> |
78 |
2019-04-09 Don Olmstead <don.olmstead@sony.com> |
| 2 |
|
79 |
|
| 3 |
[CMake] Apple builds should use ICU_INCLUDE_DIRS |
80 |
[CMake] Apple builds should use ICU_INCLUDE_DIRS |