diff --git a/test/js/event-onloadfrombody.html b/test/js/event-onloadfrombody.html
new file mode 100644
index 000000000..be491e6dd
--- /dev/null
+++ b/test/js/event-onloadfrombody.html
@@ -0,0 +1,10 @@
+
+
+alert based onload (from body) example
+
+
+
+
+Just look at the log
+
+
diff --git a/test/js/event-onloadfrombody2.html b/test/js/event-onloadfrombody2.html
new file mode 100644
index 000000000..542e5ec23
--- /dev/null
+++ b/test/js/event-onloadfrombody2.html
@@ -0,0 +1,13 @@
+
+
+alert based onload (from body IDL attribute) example
+
+
+
+
+ Just look at the log
+
+
+
diff --git a/test/js/index.html b/test/js/index.html
index a1bc4c4de..f5420ed3c 100644
--- a/test/js/index.html
+++ b/test/js/index.html
@@ -80,6 +80,7 @@
Dom events