Skip to content

Instantly share code, notes, and snippets.

async function z() {
return 1;
}
async function dostuff() {
let p = z();
doOtherStuff();
await p;
}
async function x() {
await otherAsyncFunc();
}
x().catch(err => {
console.error("X failed");
console.error(JSON.stringify(err));
});
https://tbpl.mozilla.org/php/getParsedLog.php?id=43410659&tree=Gaia-Try&full=1
{
"build_id": 46279347,
"buildnumber": 984,
"status": 0,
"starttime": 1404889011,
"branch": "integration/gaia-try",
"buildername": "b2g_ubuntu64_vm gaia-try debug test gaia-ui-test",
"requests": [
diff --git a/mozharness/mozilla/gaia.py b/mozharness/mozilla/gaia.py
--- a/mozharness/mozilla/gaia.py
+++ b/mozharness/mozilla/gaia.py
@@ -88,6 +88,12 @@ class GaiaMixin(object):
output_timeout=1760,
halt_on_failure=True,
fatal_exit_code=3)
+ # Ideally, we'd just use the merge_sha from the github api
+ # but the PR object that gets sent with the hook call is
+ # either an empty string for new PRs or an outdated value
@jhford
jhford / gaiatry.sh
Last active August 29, 2015 14:01
Manually push to try
#!/bin/bash
set -e
if [ x"$1" == x ] ; then echo "Missing remote" ; exit 1 ; fi
if [ x"$2" == x ] ; then echo "Missing commitish" ; exit 1 ; fi
echo "Pushing to try"
echo "Remote: $1"
echo "Commitish: $2"
$ prebuilts/misc/darwin-x86/ccache/ccache prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin10-gcc -I out/host/darwin-x86/obj/EXECUTABLES/emulator-arm_intermediates -I out/host/darwin-x86/obj/EXECUTABLES/emulator-arm_intermediates -I out/host/darwin-x86/obj/SHARED_LIBRARIES/emulator_hw_config_defs_intermediates -I external/qemu -I out/host/darwin-x86/obj/EXECUTABLES/emulator-arm_intermediates -I libnativehelper/include/nativehelper -c -Iexternal/qemu/android/config/darwin-x86 -O2 -g -fno-PIC -falign-functions=0 -fomit-frame-pointer -mdynamic-no-pic -D_DARWIN_C_SOURCE=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -DMACOSX_DEPLOYMENT_TARGET=10.6 -m32 -Wall -Wno-missing-field-initializers -D_GNU_SOURCE=1 -Iexternal/qemu/android/config/darwin-x86 -Iexternal/qemu/android/config/target-arm -Iexternal/qemu/target-arm -Iexternal/qemu/fpu -DNEED_CPU_H -Iexternal/qemu/tcg -Iexternal/qemu/tcg/i386 -DT
Running chef-solo...
[2014-01-08T17:59:54+00:00] INFO: *** Chef 10.14.2 ***
[2014-01-08T17:59:55+00:00] INFO: Setting the run_list to ["recipe[mongodb::10gen_repo]", "recipe[mongodb::default]", "recipe[nodejs]", "recipe[git]", "recipe[rabbitmq]", "recipe[rabbitmq::mgmt_console]"] from JSON
[2014-01-08T17:59:55+00:00] INFO: Run List is [recipe[mongodb::10gen_repo], recipe[mongodb::default], recipe[nodejs], recipe[git], recipe[rabbitmq], recipe[rabbitmq::mgmt_console]]
[2014-01-08T17:59:55+00:00] INFO: Run List expands to [mongodb::10gen_repo, mongodb::default, nodejs, git, rabbitmq, rabbitmq::mgmt_console]
[2014-01-08T17:59:55+00:00] INFO: Starting Chef Run for shepherd-event-server-berkshelf
[2014-01-08T17:59:55+00:00] INFO: Running start handlers
[2014-01-08T17:59:55+00:00] INFO: Start handlers complete.
================================================================================
+--------+---------------+-------------+-------------+--------------------------------------------------------------------------------------------+
| Bug | master commit | v1.3 commit | v1.2 commit | Summary |
+--------+---------------+-------------+-------------+--------------------------------------------------------------------------------------------+
| 905889 | skipped | --- | --- | [Buri][PLMN]Network name will be shown twice. |
| 913326 | 8759f99 | e9ddebe | --- | [wasabi] Changes of voice privacy setting won't be saved if reboot right after enable... |
| 914913 | skipped | --- | --- | Contacts App First Time Launch Latency |
| 915023 | skipped | --- | --- | clock launch time regression in datazilla
Uplift requirements:
+--------+-------------+-------------+--------------------------------------------------------------------------------------------+
| Bug | v1.3 status | v1.2 status | Summary |
+--------+-------------+-------------+--------------------------------------------------------------------------------------------+
| 905889 | needed | needed | [Buri][PLMN]Network name will be shown twice. |
| 913326 | needed | --- | [wasabi] Changes of voice privacy setting won't be saved if reboot right after enable... |
| 914913 | needed | needed | Contacts App First Time Launch Latency |
| 915023 | needed | needed | clock launch time regression in datazilla |
| 915120 | needed | needed | [1.2] Regression in Settings Scroll FPS
$ for i in $(git rev-list ^cf3b5ae42a851d266752b4d82ca2d08a8eb0c459 c62dde2a6aa03a815757d256567ac08abff5cfb9) ; do echo '======='; git log -n1 --pretty=%cn $i ; git show $i | lsdiff; done
=======
Ben Francis
=======
Ben Francis
a/apps/browser/index.html
a/apps/browser/js/browser.js
a/apps/browser/js/modal_dialog.js
a/apps/gallery/test/unit/lazy_loader_test.js
a/shared/js/lazy_loader.js