Closed Bug 1548460 Opened 7 years ago Closed 7 years ago

javascript bigint is all null in the console of version 67 after enabled

Categories

(DevTools :: Console, defect)

67 Branch
defect
Not set
normal

Tracking

(firefox67 wontfix, firefox68 fixed)

RESOLVED FIXED
Tracking Status
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: austin.shao, Unassigned)

Details

Attachments

(4 files, 1 obsolete file)

Attached image Screen Shot 2019-05-02 at 14.51.23.png (obsolete) —

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

  1. Open Firefox Developer Edition, Type "about:config" in browser URL
  2. Toggle "javascript.options.bigint" from false to true
  3. Exit firefox and relaunch the program
  4. Open Console, type "2n**2n"

Actual results:

It displayed null

Expected results:

It should display "4n"

Attachment #9062129 - Attachment is obsolete: true

bigint option has been enabled

Impacted version: Firefox Developer Edition, Version 67b15
OS: macOS 10.13.6

Summary: javascript bigint is all null in version 67 after enabled → javascript bigint is all null in the console of version 67 after enabled
Component: Untriaged → Console
Product: Firefox → DevTools

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?

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.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED

It is verified that this issue has been resolved in FF macos64 68.0a1 nightly build. Thanks for the great effort of developers!

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!

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.

A PR has been raised to MDN browser-compat-data repo to change Firefox 67 to Firefox 68.

The PR has been merged and republish the MDN page. Now it displays the aligned values.

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!

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?

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!

Thanks, mate. A PR is in-progress now.

Thanks for your work, austin.shao!

Is this also coming to FxAndroid?
(https://github.com/mdn/browser-compat-data/pull/4124)

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: