CustomEvent detail test for CustomElements and HTMLImports