brave-browser: YouTube: XMLHttpRequest `send()` method freezes tab/page
Description
Related to issue: https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass/issues/236
Calling the XMLHttpRequest send() method after calling open() with this specific URL /youtubei/v1/player freezes the tab.
Repro:
const xmlhttp = new XMLHttpRequest();
xmlhttp.open('POST', '/youtubei/v1/player', false);
xmlhttp.send();
Steps to Reproduce
- Run JS repro provided above.
- Observe tab freezing after
send()call.
Actual result:
Tab freezes after XMLHttpRequest send() method call
Expected result:
Tab should not freeze.
Reproduces how often:
Every time consistently. (Not in a private window)
Brave version (brave://version info)
1.64.116
Version/Channel Information:
Only tested this in stable, but reportedly this is also reproducible in beta, as well as canary. (https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass/issues/236)
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? No.
- Does the issue resolve itself when disabling Brave Rewards? No.
- Is the issue reproducible on the latest version of Chrome? No.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 15
Disabling brave://flags/#brave-ai-chat fixes this. cc @rebron