Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<script>
function tryLocationGet() {
var desc = Object.getOwnPropertyDescriptor(window, "location");
try {
desc.get.call(parent);
return "get succeeded";
} catch (e) {
return e.message;
}
}
</script>