зеркало из https://github.com/mozilla/eideticker.git
A few updates to the bootstrap script + the firefox extension
Keep extension unpacked, simplify its name, better symbolic linking to mobile profile.
This commit is contained in:
Родитель
233cad73f1
Коммит
0ed97c9647
13
bootstrap.sh
13
bootstrap.sh
|
@ -41,6 +41,8 @@ PYPI_DEPS=" \
|
|||
pyyaml \
|
||||
"
|
||||
|
||||
BASEDIR=$PWD
|
||||
|
||||
# Check out git submodules
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
@ -65,9 +67,12 @@ hg clone http://hg.mozilla.org/users/tglek_mozilla.com/fennecmark \
|
|||
$TALOS_EXTENSION_DIR/bench@taras.glek
|
||||
|
||||
# Link to local extensions required by talos videocapture
|
||||
ln -sf src/ffx-extension $TALOS_EXTENSION_DIR/eideticker-controller@mozilla.com/
|
||||
ln -sf src/mozmill/jsbridge/jsbridge/extension $TALOS_EXTENSION_DIR/jsbridge@mozilla.com/
|
||||
rm $TALOS_EXTENSION_DIR/eideticker@mozilla.com $TALOS_EXTENSION_DIR/jsbridge@mozilla.com
|
||||
ln -sf $BASEDIR/src/ffx-extension $TALOS_EXTENSION_DIR/eideticker@mozilla.com
|
||||
ln -sf $BASEDIR/src/mozmill/jsbridge/jsbridge/extension $TALOS_EXTENSION_DIR/jsbridge@mozilla.com
|
||||
|
||||
# Install mobile tp4 pageset
|
||||
wget http://people.mozilla.org/~jmaher/mobile_tp4.zip -O downloads/mobile_tp4.zip
|
||||
unzip -o downloads/mobile_tp4.zip -d src/talos/page_load_test
|
||||
if [ ! -e src/talos/page_load_test/mobile_tp4.manifest ]; then
|
||||
wget http://people.mozilla.org/~jmaher/mobile_tp4.zip -O downloads/mobile_tp4.zip
|
||||
unzip -o downloads/mobile_tp4.zip -d src/talos/page_load_test
|
||||
fi
|
||||
|
|
|
@ -53,7 +53,7 @@ EidetickerObserver.prototype = {
|
|||
},
|
||||
|
||||
receiveMessage: function(aMessage) {
|
||||
myDump("Proxing message");
|
||||
myDump("Proxying message: " + aMessage.name);
|
||||
jsbridge.fireEvent(aMessage.name, {});
|
||||
}
|
||||
};
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>eideticker-controller@mozilla.org</em:id>
|
||||
<em:id>eideticker@mozilla.com</em:id>
|
||||
<em:version>1.0</em:version>
|
||||
<em:type>2</em:type>
|
||||
<em:unpack>true</em:unpack>
|
||||
|
||||
<!-- Target Application this extension can install into,
|
||||
with minimum and maximum supported versions. -->
|
||||
|
|
Загрузка…
Ссылка в новой задаче