Skip to content

Instantly share code, notes, and snippets.

$ jar tvf fennec-40.0b8.en-US.android-arm.apk | fgrep omx
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m
7752 Mon Jul 27 21:32:00 PDT 2015 assets/armeabi-v7a/libomxplugin.so
7236 Mon Jul 27 21:32:00 PDT 2015 assets/armeabi-v7a/libomxplugingb.so
7241 Mon Jul 27 21:32:00 PDT 2015 assets/armeabi-v7a/libomxplugingb235.so
7030 Mon Jul 27 21:32:00 PDT 2015 assets/armeabi-v7a/libomxpluginhc.so
9479 Mon Jul 27 21:32:00 PDT 2015 assets/armeabi-v7a/libomxpluginkk.so
@rnewman
rnewman / crash
Created July 14, 2015 02:48
URL bar crash
{"app_name":"Client","app_cohort":"2|date=1436805000000&sf=143441&tid=a36a22a188ce5cc3adb70f186eb338cdd65cfec2d928ee91bdb79f26fe5031a5&ttype=e","app_version":"1.0","slice_uuid":"6504f5c7-a763-31bc-990d-6a7b7ae5789e","adam_id":989804926,"build_version":"24","bundleID":"org.mozilla.ios.Firefox","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 8.4 (12H143)","is_beta":true,"name":"Client"}
Incident Identifier: 9724E92E-4A2C-42A5-867B-C8EAD3F54808
Beta Identifier: C2F6A688-5A2D-4436-9E18-363ED2FFFBD1
Hardware Model: iPhone7,2
Process: Client [9471]
Path: /private/var/mobile/Containers/Bundle/Application/D1827542-0DFA-45B4-A744-96B2B1BB5505/Client.app/Client
Identifier: org.mozilla.ios.Firefox
Version: 24 (1.0)
Beta: YES
Code Type: ARM-64 (Native)
#ifndef OpenInFirefox_Bridging_Header_h
#define OpenInFirefox_Bridging_Header_h
#import <Foundation/Foundation.h>
#endif
import UIKit
class Foo {
let xx: Int
required init(x: Int) { // Remove 'required' to see the factory fail.
self.xx = x
}
}
class Bar: Foo {
$ ./mach gradle-install (06-04 18:06)
0:00.79 /Users/rnewman/moz/hg/fx-team/objdir-droid/_virtualenv/bin/python /Users/rnewman/moz/hg/fx-team/python/mozbuild/mozbuild/action/process_install_manifest.py --no-remove --no-remove-all-directory-symlinks --no-remove-empty-directories /Users/rnewman/moz/hg/fx-team/objdir-droid/mobile/android/gradle /Users/rnewman/moz/hg/fx-team/objdir-droid/mobile/android/gradle.manifest
Traceback (most recent call last):
File "/Users/rnewman/moz/hg/fx-team/python/mozbuild/mozbuild/action/process_install_manifest.py", line 60, in <module>
main(sys.argv[1:])
File "/Users/rnewman/moz/hg/fx-team/python/mozbuild/mozbuild/action/process_install_manifest.py", line 51, in main
remove_empty_directories=not args.no_remove_empty_directories)
File "/Users/rnewman/moz/hg/fx-team/python/mozbuild/mozbuild/action/process_install_manifest.py", line 30, in process_manifest
remove_empty_directories=remove_empty_directorie
diff --git a/mobile/android/base/background/common/GlobalConstants.java b/mobile/android/base/background/common/GlobalConstants.java
--- a/mobile/android/base/background/common/GlobalConstants.java
+++ b/mobile/android/base/background/common/GlobalConstants.java
@@ -42,16 +42,22 @@ public class GlobalConstants {
* no SSLv3 or TLSv1.0 (if we can), no DHE ciphers that might be vulnerable to Logjam
* (https://weakdh.org/), no RC4.
*
* Backstory: Bug 717691 (we no longer support Android 2.2, so the name
* workaround is unnecessary), Bug 1081953, Bug 1061273, Bug 1166839.
*
@rnewman
rnewman / gist:3cdc11a8f5dfd506664f
Last active August 29, 2015 14:21
History sync schema
Things we need to be able to do:
* Record visits for places that are already synced, distinguishing local and
remote visits for top sites, but able to merge them to upload a remote record.
* Record visits for new places that haven't been synced down.
* Merge locally created places with incoming places.
* View places that have only been visited remotely.
* Handle deletions of individual visits. (E.g., clear recent history.)
* Handle deletions of entire places.
- It's not clear exactly what this entails. If one deletes every visit
Visit on Mon Apr 27 02:08:20 PDT 2015
sqlite> select (3 * MAX(1, 100 * 225 / (((1431125701897 - 1430125700000) / 86400000) * ((1430125701897 - 1431125700000) / 86400000) + 225))) as bar from none;
bar
----------
648
sqlite> select (3 * MAX(1, 100 * 225 / (((1431125701897 - 1430125700000) / 86400000.0) * ((1430125701897 - 1431125700000) / 86400000.0) + 225))) as bar from none;
bar
----------------
741.425746299869
XXX init 0x00007f9fdcabebf0
XXX deinit 0x00007f9fdcabebf0
XXX init 0x00007f9fda4ef990
XXX deinit 0x00007f9fda4ef990
XXX init 0x00007f9fdc9bb330
XXX deinit 0x00007f9fdc9bb330
XXX init 0x00007f9fdca59890
XXX deinit 0x00007f9fdca59890
XXX init 0x00007f9fda6739e0
XXX deinit 0x00007f9fda6739e0
run(_:sql:): Error runningC oulSdn'Qt cLrea te ior nu pdaBtre BoRwOWsSeErR.Ta
bleA.tte mpOtpitngi too mnoavle browse(r".dbA tboo ranott hderu loecat iotno.