Open Bug 1695899 Opened 4 years ago Updated 4 years ago

Don't link to the XHR spec in the console warning for sync XHR

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: andreu, Unassigned)

Details

The warning that appears on the console when you use synchronous XMLHttpRequest reads:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/

The link to the XHR spec is more confusing than explanatory to the typical web developer. Linking to https://xhr.spec.whatwg.org/#sync-warning might help, but it seems best to instead link to the MDN article: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests#synchronous_request

Severity: -- → N/A
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.