Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #29451

Closed (moved)
Open
Opened Feb 10, 2019 by cypherpunks@cypherpunks

document.body must not return null at document_end state

Manifest: "content_scripts":[{ "all_frames": true, "matches": ["https:///"], "js": ["test.js"], "run_at": "document_end" }],

test.js: document.body.addEventListener(...)

And try to open this page: https://via.hypothes.is/https://lists.torproject.org/pipermail/tor-onions/2019-January/thread.html

Final Result: "TypeError: document.body is null" in Browser Console.

Expected result: No error, because the script run at document_end

Tested on: Tor Browser 8.0.5

May affect on: Firefox 60.5.0esr

The reason why I post this here is bugzilla.mozilla.org doesn't let me create an account. Go easy on me.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#29451