Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Consider shutting off DOMAgent #2599

@njx

Description

@njx

While investigating #2154, we discovered that DOMAgent can cause a couple of issues in Live Development when trying to load files. _onFinishedLoadingDOM() appears to try to load files via XHR rather than just getting them from the local disk, and in various edge cases this can fail, causing the agent to load incompletely or fail to load, even though none of our current features rely on the results of this load as far as I can tell.

From what I can tell, DOMAgent's main functionality is the experimental DOM highlighting that @jdiehl had written originally, but we're not using that functionality right now. However, simply commenting out the loading of the DOMAgent seems to cause other parts of Live Development to fail, so there are some other dependencies on it. We should consider shutting it off for now, or at least shutting off the parts that aren't being used.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions