Skip to content
Firefox for iOS
Swift HTML JavaScript Python CSS Shell Other
Branch: master
Clone or download

Latest commit

SimonBasca Part 1 #5592 Enable testLongPressOnAddressBar (#6625)
Adding waitForExistence(app.textFields[address])
Latest commit 23c1426 May 29, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update release checklist template (#6570) May 8, 2020
Account Upgrade Application Services to v0.59.0 (#6578) May 11, 2020
AccountTests Cleanup old fxa code (#6388) Apr 14, 2020
Client.xcodeproj Glean delete user data (#6577) May 29, 2020
Client Glean delete user data (#6577) May 29, 2020
ClientTests Fix #5968: remove use of googlemapping.json and Disconnect cat., upda… May 21, 2020
Docs Glean delete user data (#6577) May 29, 2020
Extensions Fix #6647: Send to device extension needs to wait for FxA to initiali… May 21, 2020
FxA Remove Unused? ReadingList.xcscheme (#6200) Mar 3, 2020
L10nSnapshotTests Isabelrois/fix screenshots tests (#6704) May 28, 2020
MarketingUITests Update version number to 18.0 Jun 7, 2019
Providers Fix #6550: make RustFirefoxAccounts accountManager a Deferred (#6574) May 8, 2020
Push Fix #6460: reset push registration on not decrypted error. (#6511) Apr 30, 2020
PushTests Bug 1364309 - Upgrade ecec to 0.9.0. (#2721) r=jhugman Jun 20, 2017
RustFxA Isabelrois/fix screenshots tests (#6704) May 28, 2020
Shared Fix #6687: QR pairing in China uses different url (#6688) May 26, 2020
SharedTests Update version number to 18.0 Jun 7, 2019
Storage Fix #6480: generateDefaultFaviconImage make thread safe to fix crash (#… May 6, 2020
StoragePerfTests Update version number to 18.0 Jun 7, 2019
StorageTests Fix #5974: sql cipher plaintext header and salt (#5990) Jan 8, 2020
Sync Fix #6550: make RustFirefoxAccounts accountManager a Deferred (#6574) May 8, 2020
SyncIntegrationTests Bug 1638073 - Update api to be appropriate for firefoxci (#6610) May 25, 2020
SyncTelemetry Fix #5126 - missing resume() on URLSession (#5131) Jun 12, 2019
SyncTelemetryTests Update version number to 18.0 Jun 7, 2019
SyncTests Cleanup old fxa code (#6388) Apr 14, 2020
ThirdParty Revert "Remove deprecated spinlock API in Deferred (#4873)" (#4886) May 3, 2019
UITests Fix #6386: fix data URL test case to pass correctly (#6387) Apr 7, 2020
XCUITests Part 1 #5592 Enable testLongPressOnAddressBar (#6625) May 29, 2020
content-blocker-lib-ios Fix #5968: remove use of googlemapping.json and Disconnect cat., upda… May 21, 2020
fastlane Fix #6039 - XCUITests Fix and Update L10Snapshots tests (#6040) Jan 23, 2020
taskcluster Bug 1636842 - part 3: Error out if errors are found while looking at … May 29, 2020
test-fixtures Fix #5669 - XCUITests add test site for popup blocker test (#5670) Oct 29, 2019
.cron.yml Bug 1622800 - part 15: Add missing treeherder symbol (#6529) May 5, 2020
.gitattributes No Bug - Exclude Thirdparty files from github language stats. (#2132) Sep 29, 2016
.gitignore Glean delete user data (#6577) May 29, 2020
.swiftlint.yml No Bug - Update .swiftlint.yml (#4660) Mar 27, 2019
.taskcluster.yml Bug 1636849 - Add indexes to l10n jobs (#6605) May 15, 2020
AUTHORS Update AUTHORS Mar 22, 2017
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file (#4668) Apr 1, 2019
CONTRIBUTING.md Issue #5753: Separated contributing from readme (#5929) Dec 19, 2019
Cartfile Updated leanplum to v2.7.2 (#6665) May 21, 2020
Cartfile.resolved Fix #5968: remove use of googlemapping.json and Disconnect cat., upda… May 21, 2020
Dangerfile No Bug - Add a few linting rules via Danger. (#3369) Oct 27, 2017
Gemfile No Bug - Reenable swiftlint. Fix a small number of linting errors. (#… Oct 13, 2017
ISSUE_TEMPLATE.md Update the docs now that we use github issues. (#4762) Apr 16, 2019
Jenkinsfile No Bug - Issue when launching sync tests due to pipenv error (#6237) Mar 9, 2020
LICENSE Initial import Nov 4, 2014
Leanplum.json Create Leanplum.json Aug 25, 2017
PULL_REQUEST_TEMPLATE Update the docs now that we use github issues. (#4762) Apr 16, 2019
README.md Fix #6362 - update new joiner build docs in README to mention require… Apr 6, 2020
appservices_local_dev.sh Add appservices_local_dev.sh script (#6197) Mar 17, 2020
bootstrap.sh Fix #5559 - use special fingerprinting list / refactor python code to… Dec 20, 2019
buddybuild_carthage_command.sh Bug 1532676 - Update application-services dependency to v0.18.0 (#4586) Mar 7, 2019
buddybuild_postclone.sh Fix #5559 - use special fingerprinting list / refactor python code to… Dec 20, 2019
buddybuild_prebuild.sh [nobugg, build] remove sentry setups being different for release and … Apr 13, 2020
l10n-screenshots-config.yml Bug 1636842 - part 2: Make check-screenshots script smarter about the… May 27, 2020
l10n-screenshots.sh Bug 1636842 - part 2: Make check-screenshots script smarter about the… May 27, 2020
package-lock.json Fix #6245 - Update uglify to terser js plugin for the webpack step (#… Mar 10, 2020
package.json Fix #6245 - Update uglify to terser js plugin for the webpack step (#… Mar 10, 2020
setup_build_tools.sh Bug 1408127 - Integrate a pre-processor for user scripts (#3585) Jan 22, 2018
shipping_locales.txt Update shipping locales with latest locales (#5243) Jul 5, 2019
update_version.sh Fix #6398: master branch version number set to 0.0.1 Apr 27, 2020
webpack.config.js Fix #6245 - Update uglify to terser js plugin for the webpack step (#… Mar 10, 2020

README.md

Firefox for iOS codebeat badge BuddyBuild codecov

Download on the App Store.

This branch (master)

This branch only works with Xcode 11.4, Swift 5.2 and supports iOS 12.0 and above.

Please make sure you aim your pull requests in the right direction.

For bug fixes and features for a specific release use the version branch.

Getting involved

Want to contribute but don't know where to start? Here is a list of issues that are contributor friendly

Building the code

  1. Install the latest Xcode developer tools from Apple.
  2. Install Carthage and Node
    brew update
    brew install carthage
    brew install node
  3. Clone the repository:
    git clone https://github.com/mozilla-mobile/firefox-ios
  4. Pull in the project dependencies:
    cd firefox-ios
    sh ./bootstrap.sh
  5. Open Client.xcodeproj in Xcode.
  6. Build the Fennec scheme in Xcode.

Building User Scripts

User Scripts (JavaScript injected into the WKWebView) are compiled, concatenated and minified using webpack. User Scripts to be aggregated are placed in the following directories:

/Client
|-- /Frontend
    |-- /UserContent
        |-- /UserScripts
            |-- /AllFrames
            |   |-- /AtDocumentEnd
            |   |-- /AtDocumentStart
            |-- /MainFrame
                |-- /AtDocumentEnd
                |-- /AtDocumentStart

This reduces the total possible number of User Scripts down to four. The compiled output from concatenating and minifying the User Scripts placed in these folders resides in /Client/Assets and are named accordingly:

  • AllFramesAtDocumentEnd.js
  • AllFramesAtDocumentStart.js
  • MainFrameAtDocumentEnd.js
  • MainFrameAtDocumentStart.js

To simplify the build process, these compiled files are checked-in to this repository. When adding or editing User Scripts, these files can be re-compiled with webpack manually. This requires Node.js to be installed and all required npm packages can be installed by running npm install in the root directory of the project. User Scripts can be compiled by running the following npm command in the root directory of the project:

npm run build

Contributing

Want to contribute to this repository? Check out Contributing Guidelines

You can’t perform that action at this time.