mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
20
dom/bindings/crashtests/862610.html
Normal file
20
dom/bindings/crashtests/862610.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
HTMLElement.prototype.__proto__ = new Proxy({}, {});
|
||||
try {
|
||||
window.Image;
|
||||
} finally {
|
||||
// Restore our prototype so the test harnesses can deal with us
|
||||
// We can't just assign to __proto__ because it lives on our proto chain
|
||||
// and we messed that up.
|
||||
var desc = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__");
|
||||
desc.set.call(HTMLElement.prototype, Element.prototype);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue