Bug 258680 - Provide signature files with ECMA 6 Script runtime
Provide signature files with ECMA 6 Script runtime
Status: RESOLVED FIXED
Product: javascript
Classification: Unclassified
Component: Editor
8.2
PC Linux
: P1 with 1 vote (vote)
: TBD
Assigned To: Milutin Kristofic
issues@javascript
ecma6
:
Depends on:
Blocks: 242387
  Show dependency treegraph
 
Reported: 2016-04-06 11:09 UTC by Petr Pisl
Modified: 2016-05-30 11:51 UTC (History)
0 users

See Also:
Issue Type: TASK
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2016-04-06 11:09:22 UTC
The runtime signature files has to be updated to cover new things from ECMA 6 Script. The documentation should contain since tag to be able to distinquesh between different versions of language. 

Some signature files has to be extended/altered some has to be created from scratch, like for Symbol type.
Comment 2 Petr Pisl 2016-04-13 14:11:07 UTC
Signature file for String and RegExp updated to fit ECMAScript 6 specification.
Comment 3 Milutin Kristofic 2016-05-30 10:04:01 UTC
Finally Updated in http://hg.netbeans.org/web-main/rev/c0dafc88f74a

1, updated stub_CORE with new methods, properties
2, added @since ECMAScript6 for new methods
3, added @deprecated tag
4, Added new stubs:
stub_CORE_ArrayBuffer.js o
stub_CORE_DataView.js o
stub_CORE_Infinity.js o
stub_CORE_Map.js o 
stub_CORE_NaN.js o
stub_CORE_Promise.js o
stub_CORE_Proxy.js o
stub_CORE_Reflect.js o
stub_CORE_Set.js o
stub_CORE_Symbol.js o
stub_CORE_WeakMap.js o
stub_CORE_WeakSet.js
stub_CORE_Float32Array.js
stub_CORE_Float64Array.js
stub_CORE_Int8Array.js
stub_CORE_Int16Array.js
stub_CORE_Int32Array.js
stub_CORE_Uint8Array.js
stub_CORE_Uint16Array.js
stub_CORE_Uint32Array.js
stub_CORE_Uint8ClampedArray.js
stub_CORE_undefined.js o
Comment 4 Petr Pisl 2016-05-30 11:12:43 UTC
Thanks. 

Do we have signature files for all the objects specified in chapter 18 ... 25 in the specification? Could you check that it covers all of them?
Comment 5 Milutin Kristofic 2016-05-30 11:51:54 UTC
Yes, it was cross-checked with Language-specification.

They are some that are missing like 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl +3 more 
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray - defined by Float, IntArrays
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/uneval - nonstandard

NativeError - not in mozzilla.org 
stub_CORE_uneval.js - nonstandard
stub_CORE_StopIteration.js  - nowhere
stub_CORE_Iterator.js - nonstandard
stub_CORE_InternalError.js - nonstandard


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo