Skip to content

Firefox shows forward-logs-shared.ts as source in console for all next logs #87822

@kriskratz

Description

@kriskratz

Link to the code that reproduces this issue

https://github.com/kriskratz/nextjs-console-log

To Reproduce

  1. Start the application (next dev), note: code is a fresh install of Next v16.1.1
  2. Open application in Firefox
  3. Click anywhere on page to generate log
  4. View logs in DevTools > Console

Current vs. Expected behavior

Firefox console logs all show "forward-logs-shared.ts" as source, but it should show "page.tsx" as the source.

Started with Next v16.

Chrome logs correctly show "page.tsx" as the source.

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.6.0: Wed Oct 15 21:12:15 PDT 2025; root:xnu-11417.140.69.703.14~1/RELEASE_ARM64_T6041
  Available memory (MB): 65536
  Available CPU cores: 16
Binaries:
  Node: 24.11.0
  npm: 11.6.2
  Yarn: 1.22.22
  pnpm: 9.9.0
Relevant Packages:
  next: 16.1.1 // Latest available version is detected (16.1.1).
  eslint-config-next: N/A
  react: 19.2.3
  react-dom: 19.2.3
  typescript: 5.9.3
Next.js Config:
  output: N/A

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

Not sure

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

next dev (local)

Additional context

I tested the code on a fresh install of Next with a clean install of Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions