This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./mach build | |
0:00.72 Clobber not needed. | |
0:00.72 Adding make options from /Users/emilytoop/Development/FirefoxDeskop/gecko/mozconfig | |
MOZ_OBJDIR=/Users/emilytoop/Development/FirefoxDeskop/gecko/obj-i686-unknown-linux-android | |
OBJDIR=/Users/emilytoop/Development/FirefoxDeskop/gecko/obj-i686-unknown-linux-android | |
FOUND_MOZCONFIG=/Users/emilytoop/Development/FirefoxDeskop/gecko/mozconfig | |
export FOUND_MOZCONFIG | |
0:00.74 /usr/bin/make -f client.mk -s | |
0:01.06 Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. | |
0:01.06 Elapsed: 0.00s; From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void RecvScreenPixels(Shmem&& aMem, const ScreenIntSize& aSize) { | |
MOZ_ASSERT(AndroidBridge::IsJavaUiThread()); | |
const IntSize size(aSize.width, aSize.height); | |
RefPtr<DataSourceSurface> image = gfx::CreateDataSourceSurfaceFromData( | |
size, | |
SurfaceFormat::B8G8R8A8, | |
aMem.get<uint8_t>(), | |
StrideForFormatAndWidth(SurfaceFormat::B8G8R8A8, aSize.width)); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let geofireRef = FIRDatabase.database().reference() | |
guard let geofire = GeoFire(firebaseRef: geofireRef.child("venues/")) else { return } | |
geofire.getLocationForKey(placeKey) { (location, error) in | |
if let error = error { | |
print("An error occurred getting the location for \(placeKey): \(error.localizedDescription)") | |
} else if let location = location { | |
print("Location for \(placeKey) is [\(location.coordinate.latitude), \(location.coordinate.longitude)]") | |
} else { | |
print("GeoFire does not contain a location for \(placeKey)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.navigationController?.popViewControllerAnimated(true) | |
browserViewController?.urlBar.updateAlphaForSubviews(1) | |
[browserViewController?.header, | |
browserViewController?.footer, | |
browserViewController?.readerModeBar, | |
browserViewController?.footerBackdrop, | |
browserViewController?.headerBackdrop].forEach { view in | |
view?.transform = CGAffineTransformIdentity | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILURE: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=https://api.accounts.firefox.com/v1/account/login?keys=true, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=https://api.accounts.firefox.com/v1/account/login?keys=true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) { | |
let delegate = BrowserProfileSyncDelegate(app: UIApplication.sharedApplication()) | |
delegate.displaySentTabForURL(NSURL(string: "http://mozilla.com")!, title: "Mozilla") | |
completionHandler(.NewData) | |
} |