object testing

Below this paragraph is an object element, which loads a PDF file which does not exists.

There should be PDF file here...

Browser should load the page, acknowledge the "404 file not found" error and execute Javascript alert.