DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (c68fe15a81fc)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!doctype html>
<meta charset=utf-8>
<title>PaymentResponse.prototype.onpayerdetailschange attribute</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
test(() => {
  assert_equals(Object.getPrototypeOf(PaymentResponse), window.EventTarget);
}, "PaymentResponse inherits from EventTarget");

test(() => {
  assert_true("onpayerdetailchange" in PaymentResponse.prototype);
}, "PaymentResponse has an onpayerdetailchange in the prototype chain");
</script>