From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- layout/base/crashtests/325218.xhtml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 layout/base/crashtests/325218.xhtml (limited to 'layout/base/crashtests/325218.xhtml') diff --git a/layout/base/crashtests/325218.xhtml b/layout/base/crashtests/325218.xhtml new file mode 100644 index 0000000000..321b201088 --- /dev/null +++ b/layout/base/crashtests/325218.xhtml @@ -0,0 +1,25 @@ + + + + + + + This should not crash Mozilla + + + + + +function doe(){ + document.getElementsByTagName('html:object')[0].removeAttribute('style'); + document.getElementsByTagName('html:object')[0].offsetHeight; + document.getElementsByTagName('html:span')[1].removeAttribute('style'); + document.getElementsByTagName('html:object')[0].setAttribute('style', 'text-decoration: underline'); + document.documentElement.removeAttribute("class"); +} +setTimeout(doe,50); + + -- cgit v1.2.3