Skip to content

Strange conflicts with JS timers #198

Open
@micahsaul

Description

@micahsaul

Discovered while working on https://github.com/18F/domain-scan and https://github.com/18F/pulse:

When running https://github.com/pa11y/pa11y against https://portal.hud.gov/hudportal/HUD, the scan locks up. I raised an issue there (pa11y/pa11y#274) and in further investigation they noticed two things: 1) The lock appears to happen when the page has a particular js method in the body onload, which involves a timer in the global scope; and 2) HTML_CodeSniffer is locking up on the same page, and they rely on HTML_CodeSniffer for their scans.

Let me know if you need any more information!

cc: @hollsk @rowanmanning

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions