<!DOCTYPE html> | |
<html> | |
<head> | |
<link id="styleLink" rel="stylesheet" type="text/css" title="Script Blocker" href="style-link-child.css"> | |
<script> | |
var theDocument = document.currentScript.ownerDocument; | |
childStyleLink = theDocument.getElementById("styleLink"); | |
shouldBeEqualToString("childStyleLink.sheet.title", "Script Blocker"); | |
</script> | |
</head> | |
</html> |