mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Don't expose XMLHttpRequest.responseXML in workers
This commit is contained in:
committed by
Jelle Raaijmakers
parent
07231e74c7
commit
7724a96efa
Notes:
github-actions[bot]
2025-06-30 23:05:26 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7724a96efa5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5254 Reviewed-by: https://github.com/gmta ✅
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
asyncTest(done => {
|
||||
let work = new Worker("XHttpRequest-responseXML-unavailable-in-worker.js");
|
||||
work.onmessage = (evt) => {
|
||||
println(evt.data);
|
||||
done();
|
||||
};
|
||||
work.postMessage("")
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user