javascript bigint is all null in the console of version 67 after enabled
Categories
(DevTools :: Console, defect)
Tracking
(firefox67 wontfix, firefox68 fixed)
People
(Reporter: austin.shao, Unassigned)
Details
Attachments
(4 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- Open Firefox Developer Edition, Type "about:config" in browser URL
- Toggle "javascript.options.bigint" from false to true
- Exit firefox and relaunch the program
- Open Console, type "2n**2n"
Actual results:
It displayed null
Expected results:
It should display "4n"
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
bigint option has been enabled
| Reporter | ||
Comment 3•7 years ago
|
||
Impacted version: Firefox Developer Edition, Version 67b15
OS: macOS 10.13.6
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
I believe this is fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1527867, which is targetted to FF68. @austin.shao can you try with a nightly build?
Comment 5•7 years ago
|
||
I just built a nightly Firefox and indeed this is working as expected. It's just that the feature wasn't done in FF67.
Additionally in nightly (future FF68, becoming beta next week) bigint is finished (i.e. the implementation is all there), and on by default, so no need to muck with preferences.
Updated•7 years ago
|
| Reporter | ||
Comment 6•7 years ago
|
||
It is verified that this issue has been resolved in FF macos64 68.0a1 nightly build. Thanks for the great effort of developers!
| Reporter | ||
Comment 7•7 years ago
|
||
Additionally, is there anyone who can update the availablity status of bigint for this issue in MDN page? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt Many thanks!
| Reporter | ||
Comment 8•7 years ago
|
||
It would be much appreciated if anyone could fix incorrect version number in this page to avoid further ambiguous understanding against the availability of bigint in the firefox version. Thanks.
| Reporter | ||
Comment 9•7 years ago
|
||
A PR has been raised to MDN browser-compat-data repo to change Firefox 67 to Firefox 68.
| Reporter | ||
Comment 10•7 years ago
|
||
The PR has been merged and republish the MDN page. Now it displays the aligned values.
Comment 11•7 years ago
|
||
austin.shao great work! One thing, BigInt is unconditionally enabled in F68, so no need for the flag. Would you mind following up to remove the flag from the MDN page? Sorry for the confusion!
| Reporter | ||
Comment 12•7 years ago
|
||
Hi, Andy
I'd like to confirm if we are going to merely remove the flag due to the bigint would be enabled automatically in FF68. I'm not sure if it is still an experiment feature or a production-level feature able to be released?
Comment 13•7 years ago
|
||
I would say that it's a production feature. More precisely: the flag means that to enable the feature, a user has to go into about:config or something and turn on a flag. That is not the case for BigInt in FF68: the option is on already (https://bugzilla.mozilla.org/show_bug.cgi?id=1527902). So it's shipping!
| Reporter | ||
Comment 14•7 years ago
|
||
Thanks, mate. A PR is in-progress now.
Comment 15•7 years ago
|
||
Thanks for your work, austin.shao!
Is this also coming to FxAndroid?
(https://github.com/mdn/browser-compat-data/pull/4124)
| Reporter | ||
Comment 16•7 years ago
|
||
Hi Florian,
Thanks. I'm not sure the availability and not attested it by myself. However, if you know the detail you might confirm with the PR reporter. Perhaps they might have had a test.
Description
•