Skip to content

For...in iterating once more than requested in FireFox 78 #59566

Closed as not planned
@clemich

Description

@clemich

Link to the code that reproduces this issue

https://github.com/clemich/NextJSFirefoxIssue/tree/main/nextjs-blog

To Reproduce

  1. Download old Firefox version (https://ftp.mozilla.org/pub/firefox/releases/79.0/ or https://ftp.mozilla.org/pub/firefox/releases/79.0/win32/en-GB/ for FF 79 en-GB win32 PC)
  2. Install FF
  3. Start application
  4. Launch app in FF 79 (cannot reproduce in latest ones)
  5. Open FireFox JS console

Current vs. Expected behavior

Because the table wich is iterating have 3 items, the expected behaviour is to have 3 "console.log" output. Here there is 4 output and it is not a expected behaviour.

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
Binaries:
  Node: 20.10.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.0.5-canary.9
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: N/A
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

TypeScript (plugin, built-in types)

Additional context

Bug appears first in next 13.5.1. In the previous version (13.4.19) it's working well.
Bug appears on local devmachine and as a selfhosted app in windows enrivonment.
The browser I've tested is FireFox 17.11 Newest FireFow and Chrome are OK but documentation says nextjs support Firefox 67+.

Many thanks
Capture d'écran 2023-12-13 133932
Capture d'écran 2023-12-13 134025

Metadata

Metadata

Assignees

No one assigned

    Labels

    TypeScriptRelated to types with Next.js.bugIssue was opened via the bug report template.staleThe issue has not seen recent activity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions