Continue to dispatch CustomEvent instances in CommandRegistry
Continue to dispatch CustomEvent instances in CommandRegistry

This changes the approach used to synthesize an event to dispatch. Since
we can no longer point to the original event as our prototype, we build
a new CustomEvent instance and override select properties with
Object.defineProperty. This preserves the contract with event handlers
by giving them a true CustomEvent instance.

Rodjana/atom,bsmr-x-script/atom,fscherwi/atom,andrewleverette/atom,johnrizzo1/atom,Mokolea/atom,niklabh/atom,RobinTec/atom,gzzhanghao/atom,AlbertoBarrago/atom,pkdevbox/atom,scippio/atom,deoxilix/atom,elkingtonmcb/atom,Rychard/atom,constanzaurzua/atom,fscherwi/atom,decaffeinate-examples/atom,niklabh/atom,kaicataldo/atom,medovob/atom,svanharmelen/atom,yamhon/atom,brettle/atom,folpindo/atom,gisenberg/atom,ReddTea/atom,alexandergmann/atom,svanharmelen/atom,decaffeinate-examples/atom,alexandergmann/atom,Arcanemagus/atom,sotayamashita/atom,deoxilix/atom,Austen-G/BlockBuilder,CraZySacX/atom,hellendag/atom,jeremyramin/atom,ReddTea/atom,elkingtonmcb/atom,transcranial/atom,AlisaKiatkongkumthon/atom,alfredxing/atom,g2p/atom,gisenberg/atom,gisenberg/atom,xream/atom,Austen-G/BlockBuilder,AdrianVovk/substance-ide,brumm/atom,tmunro/atom,mdumrauf/atom,ralphtheninja/atom,kaicataldo/atom,PKRoma/atom,G-Baby/atom,Dennis1978/atom,BogusCurry/atom,Austen-G/BlockBuilder,atom/atom,palita01/atom,jeremyramin/atom,jordanbtucker/atom,xream/atom,decaffeinate-examples/atom,helber/atom,Mokolea/atom,florianb/atom,PKRoma/atom,gontadu/atom,niklabh/atom,burodepeper/atom,yamhon/atom,seedtigo/atom,phord/atom,harshdattani/atom,mrodalgaard/atom,beni55/atom,kevinrenaers/atom,Klozz/atom,efatsi/atom,AlbertoBarrago/atom,kevinrenaers/atom,gabrielPeart/atom,palita01/atom,woss/atom,champagnez/atom,chfritz/atom,bolinfest/atom,rookie125/atom,decaffeinate-examples/atom,gontadu/atom,ivoadf/atom,pengshp/atom,AlexxNica/atom,nrodriguez13/atom,andrewleverette/atom,vhutheesing/atom,lpommers/atom,mrodalgaard/atom,stinsonga/atom,RuiDGoncalves/atom,liuderchi/atom,ironbox360/atom,Rychard/atom,cyzn/atom,stinsonga/atom,Jonekee/atom,nucked/atom,jordanbtucker/atom,AlisaKiatkongkumthon/atom,champagnez/atom,deoxilix/atom,ykeisuke/atom,Ingramz/atom,panuchart/atom,yangchenghu/atom,rookie125/atom,anuwat121/atom,Rychard/atom,constanzaurzua/atom,bj7/atom,001szymon/atom,me-benni/atom,cyzn/atom,DiogoXRP/atom,florianb/atom,wiggzz/atom,daxlab/atom,nucked/atom,ardeshirj/atom,brettle/atom,constanzaurzua/atom,Arcanemagus/atom,rxkit/atom,dijs/atom,RobinTec/atom,stinsonga/atom,tanin47/atom,DiogoXRP/atom,tisu2tisu/atom,me-benni/atom,gisenberg/atom,Austen-G/BlockBuilder,liuderchi/atom,rlugojr/atom,G-Baby/atom,yangchenghu/atom,BogusCurry/atom,darwin/atom,transcranial/atom,gabrielPeart/atom,scippio/atom,panuchart/atom,bsmr-x-script/atom,originye/atom,pombredanne/atom,Huaraz2/atom,rlugojr/atom,pombredanne/atom,nucked/atom,RuiDGoncalves/atom,Mokolea/atom,phord/atom,Jonekee/atom,constanzaurzua/atom,pombredanne/atom,nrodriguez13/atom,ashneo76/atom,mrodalgaard/atom,woss/atom,phord/atom,johnhaley81/atom,RobinTec/atom,CraZySacX/atom,liuderchi/atom,Ingramz/atom,AlexxNica/atom,bj7/atom,bsmr-x-script/atom,kandros/atom,sotayamashita/atom,ObviouslyGreen/atom,t9md/atom,stuartquin/atom,stuartquin/atom,ykeisuke/atom,Sangaroonaom/atom,champagnez/atom,Arcanemagus/atom,vhutheesing/atom,lovesnow/atom,efatsi/atom,Locke23rus/atom,daxlab/atom,ivoadf/atom,xream/atom,originye/atom,boomwaiza/atom,woss/atom,gabrielPeart/atom,kaicataldo/atom,panuchart/atom,gzzhanghao/atom,PKRoma/atom,anuwat121/atom,001szymon/atom,dijs/atom,constanzaurzua/atom,florianb/atom,chfritz/atom,beni55/atom,tmunro/atom,woss/atom,FIT-CSE2410-A-Bombs/atom,alfredxing/atom,jeremyramin/atom,liuderchi/atom,AdrianVovk/substance-ide,tjkr/atom,hellendag/atom,kevinrenaers/atom,FIT-CSE2410-A-Bombs/atom,folpindo/atom,ashneo76/atom,lpommers/atom,lovesnow/atom,folpindo/atom,burodepeper/atom,originye/atom,stinsonga/atom,AlisaKiatkongkumthon/atom,tjkr/atom,jordanbtucker/atom,ReddTea/atom,kandros/atom,burodepeper/atom,BogusCurry/atom,mdumrauf/atom,bolinfest/atom,RuiDGoncalves/atom,tisu2tisu/atom,pengshp/atom,me-benni/atom,Locke23rus/atom,mdumrauf/atom,g2p/atom,dijs/atom,alfredxing/atom,chfritz/atom,001szymon/atom,florianb/atom,RobinTec/atom,helber/atom,yangchenghu/atom,nrodriguez13/atom,DiogoXRP/atom,brettle/atom,ironbox360/atom,AdrianVovk/substance-ide,atom/atom,florianb/atom,hellendag/atom,g2p/atom,daxlab/atom,AlexxNica/atom,brumm/atom,ardeshirj/atom,RobinTec/atom,G-Baby/atom,darwin/atom,andrewleverette/atom,tanin47/atom,tanin47/atom,svanharmelen/atom,CraZySacX/atom,Klozz/atom,medovob/atom,scippio/atom,gontadu/atom,Klozz/atom,t9md/atom,johnrizzo1/atom,bencolon/atom,Rodjana/atom,Sangaroonaom/atom,gisenberg/atom,transcranial/atom,ironbox360/atom,wiggzz/atom,bolinfest/atom,Sangaroonaom/atom,vhutheesing/atom,Jonekee/atom,rxkit/atom,ardeshirj/atom,darwin/atom,t9md/atom,palita01/atom,gzzhanghao/atom,ObviouslyGreen/atom,Rodjana/atom,seedtigo/atom,ashneo76/atom,bencolon/atom,rookie125/atom,lovesnow/atom,johnrizzo1/atom,johnhaley81/atom,bj7/atom,rlugojr/atom,beni55/atom,pkdevbox/atom,boomwaiza/atom,elkingtonmcb/atom,Austen-G/BlockBuilder,fscherwi/atom,Dennis1978/atom,ykeisuke/atom,ReddTea/atom,harshdattani/atom,efatsi/atom,boomwaiza/atom,ralphtheninja/atom,Austen-G/BlockBuilder,Huaraz2/atom,ivoadf/atom,woss/atom,FIT-CSE2410-A-Bombs/atom,atom/atom,pombredanne/atom,sotayamashita/atom,cyzn/atom,yamhon/atom,Huaraz2/atom,helber/atom,medovob/atom,anuwat121/atom,Dennis1978/atom,brumm/atom,stuartquin/atom,lovesnow/atom,ReddTea/atom,alexandergmann/atom,pengshp/atom,ralphtheninja/atom,lpommers/atom,tisu2tisu/atom,johnhaley81/atom,kandros/atom,lovesnow/atom,AlbertoBarrago/atom,bencolon/atom,wiggzz/atom,Ingramz/atom,pombredanne/atom,harshdattani/atom,rxkit/atom,tjkr/atom,ObviouslyGreen/atom,Locke23rus/atom,pkdevbox/atom,tmunro/atom,seedtigo/atom