Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Browser Tor Browser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 862
    • Issues 862
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Applications
  • Tor BrowserTor Browser
  • Issues
  • #31955
Closed
Open
Issue created Oct 03, 2019 by Mark Smith@mcs

macOS: avoid throwing inside nonBrowserWindowStartup()

On macOS, opening the Page Info window and other "non browser windows" causes a message like this to appear on the Browser Console:

TypeError: document.getElementById(...) is null nonbrowser-mac.js:105:14

This happens because the code inside the nonBrowserWindowStartup() function (in browser/base/content/nonbrowser-mac.js) is blindly looking for a DOM element that is only present in the Mac hidden window. Kathy and I have a patch for this which we should try to upstream to Firefox as well.

Assignee
Assign to
Time tracking