<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Test SetDir() for documents</title> </head> <body> <div>getDir on document after setDir returns ""</div> </body> </html>