security/generate_certdata.py
author Kevin Wern <kevin.m.wern@gmail.com>
Wed, 30 Nov 2016 19:48:02 -0500
changeset 325752 ea7338a0b3deb91d7e10008e3560ca8e8e3605b0
parent 323236 ee70776759bf296c951a9805d5b79169291be4d3
child 362428 952cf10f8d8afa91d5b4e86702febfb0f19aa91e
permissions -rw-r--r--
Bug 1304044 - implement auxclick r=smaug After click events with button 2 or 3 are fired, fire auxclick, a new event intended to represent a non-primary mouse click. Because this event, based on the design examples and blink's implementation, is intended to be used with content listeners, always dispatch on content listeners--not just those that force all events to be dispatched (i.e. document/window). This diverges from the behavior of our click events from non-primary buttons. Eventually, we hope this will replace click events for non-primary buttons. For now, leave those events for compatibility reasons. Additionally, add handling of this new event, where necessary. MozReview-Commit-ID: 8osozM4h6Ya

#!/usr/bin/env python
#
# This exists to paper over differences between gyp's `action` definitions
# and moz.build `GENERATED_FILES` semantics.

import buildconfig
import subprocess

def main(output, *inputs):
    output.write(subprocess.check_output([buildconfig.substs['PERL']] + list(inputs)))
    return None