diff --git a/.eslintignore b/.eslintignore index 8741bb97838e..7920ee7f9a77 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1545,15 +1545,6 @@ android / app / -mobile -. -js -mobile -/ -android -/ -app -/ geckoview - prefs diff --git a/.prettierignore b/.prettierignore index fa8eb392982a..bfa0760e7199 100644 --- a/.prettierignore +++ b/.prettierignore @@ -11857,15 +11857,6 @@ android / app / -mobile -. -js -mobile -/ -android -/ -app -/ geckoview - prefs diff --git a/mobile/android/app/geckoview-prefs.js b/mobile/android/app/geckoview-prefs.js index 4627bbf6c7f4..f0c2d1d88673 100644 --- a/mobile/android/app/geckoview-prefs.js +++ b/mobile/android/app/geckoview-prefs.js @@ -3,19 +3,12 @@ filter dumbComments emptyLines substitution -# -include -mobile -. -js pref ( " -privacy +accessibility . -trackingprotection -. -pbmode +browsewithcaret_shortcut . enabled " @@ -25,27 +18,21 @@ false pref ( " -browser +accessibility . -tabs -. -remote -. -autostart +typeaheadfind " -true +false ) ; pref ( " -dom +accessibility . -ipc -. -keepProcessesAlive +typeaheadfind . -web +flashBar " 1 ) @@ -53,217 +40,279 @@ web pref ( " -dom -. -ipc +accessibility . -keepProcessesAlive +typeaheadfind . -extension +linksonly " -1 +false ) ; pref ( " -dom +accessibility . -ipc -. -processPrelaunch +typeaheadfind . -enabled +timeout " -false +5000 ) ; pref ( " -geckoview +app . -console +support . -enabled +baseURL +" +" +https +: +/ +/ +support +. +mozilla +. +org +/ +1 +/ +mobile +/ +% +VERSION +% +/ +% +OS +% +/ +% +LOCALE +% +/ " -false ) ; # ifdef -RELEASE_OR_BETA +MOZ_UPDATER pref ( " -geckoview +app . -logging +update +. +channel " " -Warn +MOZ_UPDATE_CHANNEL " ) ; # -else +endif pref ( " -geckoview +app . -logging -" -" -Debug +update +. +timerFirstInterval " +30000 ) ; -# -endif pref ( " -dom +app . -webshare +update . -enabled +timerMinimumDelay " -true +30 ) ; pref ( " -dom +apz . -capture +axis_lock . -enabled +breakout_angle +" +" +0 +. +7853982 " -true ) ; pref ( " -intl +apz . -locale +axis_lock . -requested +mode " +1 +) +; +pref +( " +apz +. +content_response_timeout " +600 ) ; pref ( " -browser -. -safebrowsing +apz . -features -. -phishing +drag . -update +enabled " -true +false ) ; pref ( " -browser +apz . -safebrowsing -. -features -. -malware +fling_curve_function_x1 +" +" +0 . -update +59 " -true ) ; pref ( " -browser -. -safebrowsing +apz . -features -. -trackingAnnotation +fling_curve_function_x2 +" +" +0 . -update +05 " -true ) ; pref ( " -browser +apz . -safebrowsing +fling_curve_function_y1 +" +" +0 . -features +46 +" +) +; +pref +( +" +apz . -trackingProtection +fling_curve_function_y2 +" +" +1 . -update +00 " -true ) ; pref ( " -browser +apz . -safebrowsing +fling_curve_threshold_inches_per_ms +" +" +0 . -features +01 +" +) +; +pref +( +" +apz . -cryptomining +fling_friction +" +" +0 . -update +004 " -true ) ; pref ( " -browser +apz . -safebrowsing +fling_stopped_threshold +" +" +0 . -features +0 +" +) +; +pref +( +" +apz . -fingerprinting +max_velocity_inches_per_ms +" +" +0 . -update +07 " -true ) ; pref ( " -media -. -geckoview +apz . -autoplay +overscroll . -request +enabled " true ) @@ -271,81 +320,94 @@ true pref ( " -media +apz . -eme +second_tap_tolerance +" +" +0 . -require -- -app -- -approval +3 " -true ) ; pref ( " -signon +apz . -showAutoCompleteFooter +touch_move_tolerance +" +" +0 +. +03 " -true ) ; pref ( " -toolkit +apz . -autocomplete +touch_start_tolerance +" +" +0 . -delegate +06 " -true ) ; pref ( " -webextensions +breakpad . -storage +reportURL +" +" +https +: +/ +/ +crash +- +stats . -sync +mozilla . -kinto +org +/ +report +/ +index +/ " -true ) ; pref ( " -dom -. -ipc +browser . -processCount +chrome . -webCOOP -+ -COEP +toolbar_tips " -38 +false ) ; pref ( " -extensions +browser . -formautofill +dom . -addresses +window . -capture +dump . enabled " @@ -355,9 +417,25 @@ true pref ( " -pdfjs +browser . -handleOctetStream +download +. +folderList +" +1 +) +; +pref +( +" +browser +. +download +. +manager +. +addToRecentDocs " true ) @@ -377,38 +455,2071 @@ true pref ( " -pdfjs +browser . -annotationEditorMode +download +. +useDownloadDir " -- -1 +true ) ; pref ( " -pdfjs +browser . -enableFloatingToolbar +fixup +. +domainwhitelist +. +localhost " true ) ; -# -ifdef -NIGHTLY_BUILD pref ( " browser . -translations +link . -enable +open_newwindow " -true +3 +) +; +pref +( +" +browser +. +link +. +open_newwindow +. +restriction +" +0 +) +; +pref +( +" +browser +. +meta_refresh_when_inactive +. +disabled +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +downloads +. +enabled +" +false +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +cryptomining +. +update +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +fingerprinting +. +update +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +malware +. +update +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +phishing +. +update +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +trackingAnnotation +. +update +" +true +) +; +pref +( +" +browser +. +safebrowsing +. +features +. +trackingProtection +. +update +" +true +) +; +pref +( +" +browser +. +search +. +suggest +. +enabled +" +false +) +; +pref +( +" +browser +. +search +. +update +" +false +) +; +pref +( +" +browser +. +sessionhistory +. +contentViewerTimeout +" +360 +) +; +pref +( +" +browser +. +sessionhistory +. +max_entries +" +50 +) +; +pref +( +" +browser +. +sessionstore +. +interval +" +10000 +) +; +pref +( +" +browser +. +sessionstore +. +max_resumed_crashes +" +2 +) +; +pref +( +" +browser +. +sessionstore +. +max_tabs_undo +" +10 +) +; +pref +( +" +browser +. +sessionstore +. +privacy_level +" +0 +) +; +pref +( +" +browser +. +sessionstore +. +resume_from_crash +" +true +) +; +pref +( +" +browser +. +tabs +. +remote +. +autostart +" +true +) +; +# +ifdef +NIGHTLY_BUILD +pref +( +" +browser +. +translations +. +enable +" +true +) +; +# +endif +pref +( +" +browser +. +xul +. +error_pages +. +expert_bad_cert +" +false +) +; +pref +( +" +chrome +. +override_package +. +global +" +" +browser +" +) +; +pref +( +" +chrome +. +override_package +. +mozapps +" +" +browser +" +) +; +pref +( +" +chrome +. +override_package +. +passwordmgr +" +" +browser +" +) +; +pref +( +" +devtools +. +console +. +stdout +. +chrome +" +true +) +; +pref +( +" +devtools +. +debugger +. +unix +- +domain +- +socket +" +" +ANDROID_PACKAGE_NAME +/ +firefox +- +debugger +- +socket +" +) +; +pref +( +" +dom +. +capture +. +enabled +" +true +) +; +pref +( +" +dom +. +disable_open_during_load +" +true +) +; +pref +( +" +dom +. +disable_window_move_resize +" +true +) +; +pref +( +" +dom +. +disable_window_open_dialog_feature +" +true +) +; +pref +( +" +dom +. +ipc +. +keepProcessesAlive +. +extension +" +1 +) +; +pref +( +" +dom +. +ipc +. +keepProcessesAlive +. +web +" +1 +) +; +pref +( +" +dom +. +ipc +. +processCount +. +webCOOP ++ +COEP +" +38 +) +; +pref +( +" +dom +. +ipc +. +processPrelaunch +. +enabled +" +false +) +; +pref +( +" +dom +. +max_script_run_time +" +20 +) +; +pref +( +" +dom +. +meta +- +viewport +. +enabled +" +true +) +; +pref +( +" +dom +. +push +. +maxRecentMessageIDsPerSubscription +" +0 +) +; +pref +( +" +dom +. +serviceWorkers +. +disable_open_click_delay +" +5000 +) +; +pref +( +" +dom +. +webshare +. +enabled +" +true +) +; +pref +( +" +extensions +. +abuseReport +. +amWebAPI +. +enabled +" +false +) +; +pref +( +" +extensions +. +autoDisableScopes +" +15 +) +; +pref +( +" +extensions +. +enabledScopes +" +5 +) +; +pref +( +" +extensions +. +experiments +. +enabled +" +false +) +; +pref +( +" +extensions +. +formautofill +. +addresses +. +capture +. +enabled +" +true +) +; +pref +( +" +extensions +. +getAddons +. +browseAddons +" +" +https +: +/ +/ +addons +. +mozilla +. +org +/ +% +LOCALE +% +/ +android +/ +collections +/ +4757633 +/ +mob +/ +? +page += +1 +& +collection_sort += +- +popularity +" +) +; +pref +( +" +extensions +. +getAddons +. +cache +. +enabled +" +true +) +; +pref +( +" +extensions +. +getAddons +. +get +. +url +" +" +https +: +/ +/ +services +. +addons +. +mozilla +. +org +/ +api +/ +v4 +/ +addons +/ +search +/ +? +guid += +% +IDS +% +& +lang += +% +LOCALE +% +" +) +; +pref +( +" +extensions +. +getAddons +. +langpacks +. +url +" +" +https +: +/ +/ +services +. +addons +. +mozilla +. +org +/ +api +/ +v4 +/ +addons +/ +language +- +tools +/ +? +app += +android +& +type += +language +& +appversion += +% +VERSION +% +" +) +; +pref +( +" +extensions +. +getAddons +. +search +. +browseURL +" +" +https +: +/ +/ +addons +. +mozilla +. +org +/ +% +LOCALE +% +/ +android +/ +search +? +q += +% +TERMS +% +& +platform += +% +OS +% +& +appver += +% +VERSION +% +" +) +; +pref +( +" +extensions +. +installDistroAddons +" +false +) +; +pref +( +" +extensions +. +langpacks +. +signatures +. +required +" +true +) +; +pref +( +" +extensions +. +logging +. +enabled +" +false +) +; +pref +( +" +extensions +. +manifestV2 +. +actionsPopupURLRestricted +" +true +) +; +pref +( +" +extensions +. +strictCompatibility +" +false +) +; +pref +( +" +extensions +. +systemAddon +. +update +. +enabled +" +true +) +; +pref +( +" +extensions +. +systemAddon +. +update +. +url +" +" +https +: +/ +/ +aus5 +. +mozilla +. +org +/ +update +/ +3 +/ +SystemAddons +/ +% +VERSION +% +/ +% +BUILD_ID +% +/ +% +BUILD_TARGET +% +/ +% +LOCALE +% +/ +% +CHANNEL +% +/ +% +OS_VERSION +% +/ +% +DISTRIBUTION +% +/ +% +DISTRIBUTION_VERSION +% +/ +update +. +xml +" +) +; +pref +( +" +extensions +. +update +. +background +. +url +" +" +https +: +/ +/ +versioncheck +- +bg +. +addons +. +mozilla +. +org +/ +update +/ +VersionCheck +. +php +? +reqVersion += +% +REQ_VERSION +% +& +id += +% +ITEM_ID +% +& +version += +% +ITEM_VERSION +% +& +maxAppVersion += +% +ITEM_MAXAPPVERSION +% +& +status += +% +ITEM_STATUS +% +& +appID += +% +APP_ID +% +& +appVersion += +% +APP_VERSION +% +& +appOS += +% +APP_OS +% +& +appABI += +% +APP_ABI +% +& +locale += +% +APP_LOCALE +% +& +currentAppVersion += +% +CURRENT_APP_VERSION +% +& +updateType += +% +UPDATE_TYPE +% +& +compatMode += +% +COMPATIBILITY_MODE +% +" +) +; +pref +( +" +extensions +. +update +. +enabled +" +true +) +; +pref +( +" +extensions +. +update +. +interval +" +86400 +) +; +pref +( +" +extensions +. +update +. +url +" +" +https +: +/ +/ +versioncheck +. +addons +. +mozilla +. +org +/ +update +/ +VersionCheck +. +php +? +reqVersion += +% +REQ_VERSION +% +& +id += +% +ITEM_ID +% +& +version += +% +ITEM_VERSION +% +& +maxAppVersion += +% +ITEM_MAXAPPVERSION +% +& +status += +% +ITEM_STATUS +% +& +appID += +% +APP_ID +% +& +appVersion += +% +APP_VERSION +% +& +appOS += +% +APP_OS +% +& +appABI += +% +APP_ABI +% +& +locale += +% +APP_LOCALE +% +& +currentAppVersion += +% +CURRENT_APP_VERSION +% +& +updateType += +% +UPDATE_TYPE +% +& +compatMode += +% +COMPATIBILITY_MODE +% +" +) +; +pref +( +" +extensions +. +webextOptionalPermissionPrompts +" +true +) +; +pref +( +" +formhelper +. +autozoom +" +true +) +; +pref +( +" +geckoview +. +console +. +enabled +" +false +) +; +# +ifdef +RELEASE_OR_BETA +pref +( +" +geckoview +. +logging +" +" +Warn +" +) +; +# +else +pref +( +" +geckoview +. +logging +" +" +Debug +" +) +; +# +endif +pref +( +" +image +. +cache +. +size +" +1048576 +) +; +pref +( +" +intl +. +locale +. +requested +" +" +" +) +; +pref +( +" +keyword +. +enabled +" +true +) +; +pref +( +" +layout +. +accessiblecaret +. +always_tilt +" +true +) +; +pref +( +" +layout +. +accessiblecaret +. +caret_shown_when_long_tapping_on_empty_content +" +true +) +; +pref +( +" +layout +. +accessiblecaret +. +extend_selection_for_phone_number +" +true +) +; +pref +( +" +layout +. +accessiblecaret +. +hapticfeedback +" +true +) +; +pref +( +" +layout +. +accessiblecaret +. +height +" +" +22 +. +0 +" +) +; +pref +( +" +layout +. +accessiblecaret +. +margin +- +left +" +" +- +11 +. +5 +" +) +; +pref +( +" +layout +. +accessiblecaret +. +width +" +" +22 +. +0 +" +) +; +pref +( +" +layout +. +accessiblecaret +. +script_change_update_mode +" +1 +) +; +pref +( +" +layout +. +css +. +report_errors +" +false +) +; +pref +( +" +layout +. +spellcheckDefault +" +0 +) +; +pref +( +" +media +. +eme +. +require +- +app +- +approval +" +true +) +; +pref +( +" +media +. +geckoview +. +autoplay +. +request +" +true +) +; +pref +( +" +media +. +gmp +- +gmpopenh264 +. +autoupdate +" +false +) +; +pref +( +" +media +. +gmp +- +gmpopenh264 +. +enabled +" +true +) +; +pref +( +" +media +. +gmp +- +gmpopenh264 +. +visible +" +true +) +; +pref +( +" +media +. +gmp +- +provider +. +enabled +" +true +) +; +pref +( +" +media +. +mediadrm +- +widevinecdm +. +visible +" +true +) +; +pref +( +" +media +. +navigator +. +permission +. +device +" +true +) +; +pref +( +" +media +. +throttle +- +cellular +- +regardless +- +of +- +download +- +rate +" +true +) +; +pref +( +" +media +. +video +- +queue +. +default +- +size +" +3 +) +; +pref +( +" +media +. +video +- +queue +. +send +- +to +- +compositor +- +size +" +1 +) +; +pref +( +" +network +. +buffer +. +cache +. +size +" +16384 +) +; +pref +( +" +network +. +cookie +. +cookieBehavior +. +pbmode +" +4 +) +; +pref +( +" +network +. +http +. +http2 +. +default +- +hpack +- +buffer +" +4096 +) +; +pref +( +" +network +. +http +. +http2 +. +push +- +allowance +" +32768 +) +; +pref +( +" +network +. +http +. +keep +- +alive +. +timeout +" +109 +) +; +pref +( +" +network +. +http +. +max +- +persistent +- +connections +- +per +- +proxy +" +20 +) +; +pref +( +" +network +. +protocol +- +handler +. +warn +- +external +. +mailto +" +false +) +; +pref +( +" +network +. +protocol +- +handler +. +warn +- +external +. +tel +" +false +) +; +pref +( +" +network +. +protocol +- +handler +. +warn +- +external +. +sms +" +false +) +; +pref +( +" +network +. +protocol +- +handler +. +warn +- +external +. +vnd +. +youtube +" +false +) +; +pref +( +" +network +. +tickle +- +wifi +. +enabled +" +true +) +; +pref +( +" +pdfjs +. +annotationEditorMode +" +- +1 +) +; +pref +( +" +pdfjs +. +enableFloatingToolbar +" +true +) +; +pref +( +" +pdfjs +. +handleOctetStream +" +true +) +; +pref +( +" +privacy +. +trackingprotection +. +pbmode +. +enabled +" +false +) +; +pref +( +" +signon +. +firefoxRelay +. +feature +" +" +not +available +" +) +; +pref +( +" +signon +. +showAutoCompleteFooter +" +true +) +; +pref +( +" +toolkit +. +autocomplete +. +delegate +" +true +) +; +pref +( +" +toolkit +. +defaultChromeURI +" +" +chrome +: +/ +/ +geckoview +/ +content +/ +geckoview +. +xhtml +" +locked +) +; +pref +( +" +toolkit +. +telemetry +. +unified +" +false +) +; +pref +( +" +ui +. +scrollbarFadeBeginDelay +" +450 +) +; +pref +( +" +ui +. +scrollbarFadeDuration +" +0 +) +; +pref +( +" +ui +. +useOverlayScrollbars +" +1 +) +; +pref +( +" +urlclassifier +. +downloadAllowTable +" +" +" +) +; +pref +( +" +urlclassifier +. +downloadBlockTable +" +" +" +) +; +pref +( +" +urlclassifier +. +malwareTable +" +" +goog +- +harmful +- +proto +goog +- +unwanted +- +proto +moztest +- +harmful +- +simple +moztest +- +malware +- +simple +moztest +- +unwanted +- +simple +" +) +; +pref +( +" +webextensions +. +storage +. +sync +. +kinto +" +true +) +; +pref +( +" +xpinstall +. +signatures +. +required +" +true +) +; +pref +( +" +xpinstall +. +whitelist +. +add +" +" +https +: +/ +/ +addons +. +mozilla +. +org +" +) +; +pref +( +" +xpinstall +. +whitelist +. +fileRequest +" +false ) ; -# -endif diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js deleted file mode 100644 index 85fc0ffdae17..000000000000 --- a/mobile/android/app/mobile.js +++ /dev/null @@ -1,2121 +0,0 @@ -# -filter -dumbComments -emptyLines -substitution -pref -( -" -toolkit -. -defaultChromeURI -" -" -chrome -: -/ -/ -geckoview -/ -content -/ -geckoview -. -xhtml -" -locked -) -; -pref -( -" -ui -. -useOverlayScrollbars -" -1 -) -; -pref -( -" -ui -. -scrollbarFadeBeginDelay -" -450 -) -; -pref -( -" -ui -. -scrollbarFadeDuration -" -0 -) -; -pref -( -" -image -. -cache -. -size -" -1048576 -) -; -pref -( -" -network -. -protocol -- -handler -. -warn -- -external -. -tel -" -false -) -; -pref -( -" -network -. -protocol -- -handler -. -warn -- -external -. -sms -" -false -) -; -pref -( -" -network -. -protocol -- -handler -. -warn -- -external -. -mailto -" -false -) -; -pref -( -" -network -. -protocol -- -handler -. -warn -- -external -. -vnd -. -youtube -" -false -) -; -pref -( -" -network -. -http -. -keep -- -alive -. -timeout -" -109 -) -; -pref -( -" -network -. -http -. -max -- -persistent -- -connections -- -per -- -proxy -" -20 -) -; -pref -( -" -network -. -http -. -http2 -. -push -- -allowance -" -32768 -) -; -pref -( -" -network -. -http -. -http2 -. -default -- -hpack -- -buffer -" -4096 -) -; -pref -( -" -network -. -buffer -. -cache -. -size -" -16384 -) -; -pref -( -" -network -. -cookie -. -cookieBehavior -. -pbmode -" -4 -) -; -pref -( -" -browser -. -sessionhistory -. -max_entries -" -50 -) -; -pref -( -" -browser -. -sessionhistory -. -contentViewerTimeout -" -360 -) -; -pref -( -" -browser -. -sessionstore -. -resume_from_crash -" -true -) -; -pref -( -" -browser -. -sessionstore -. -interval -" -10000 -) -; -pref -( -" -browser -. -sessionstore -. -max_tabs_undo -" -10 -) -; -pref -( -" -browser -. -sessionstore -. -max_resumed_crashes -" -2 -) -; -pref -( -" -browser -. -sessionstore -. -privacy_level -" -0 -) -; -pref -( -" -urlclassifier -. -downloadAllowTable -" -" -" -) -; -pref -( -" -urlclassifier -. -downloadBlockTable -" -" -" -) -; -pref -( -" -layout -. -css -. -report_errors -" -false -) -; -pref -( -" -browser -. -download -. -useDownloadDir -" -true -) -; -pref -( -" -browser -. -download -. -folderList -" -1 -) -; -pref -( -" -browser -. -download -. -manager -. -addToRecentDocs -" -true -) -; -pref -( -" -signon -. -firefoxRelay -. -feature -" -" -not -available -" -) -; -pref -( -" -formhelper -. -autozoom -" -true -) -; -pref -( -" -layout -. -spellcheckDefault -" -0 -) -; -pref -( -" -xpinstall -. -whitelist -. -fileRequest -" -false -) -; -pref -( -" -xpinstall -. -whitelist -. -add -" -" -https -: -/ -/ -addons -. -mozilla -. -org -" -) -; -pref -( -" -extensions -. -langpacks -. -signatures -. -required -" -true -) -; -pref -( -" -xpinstall -. -signatures -. -required -" -true -) -; -pref -( -" -extensions -. -manifestV2 -. -actionsPopupURLRestricted -" -true -) -; -pref -( -" -extensions -. -autoDisableScopes -" -15 -) -; -pref -( -" -extensions -. -enabledScopes -" -5 -) -; -pref -( -" -extensions -. -update -. -enabled -" -true -) -; -pref -( -" -extensions -. -update -. -interval -" -86400 -) -; -pref -( -" -extensions -. -logging -. -enabled -" -false -) -; -pref -( -" -extensions -. -strictCompatibility -" -false -) -; -pref -( -" -extensions -. -update -. -url -" -" -https -: -/ -/ -versioncheck -. -addons -. -mozilla -. -org -/ -update -/ -VersionCheck -. -php -? -reqVersion -= -% -REQ_VERSION -% -& -id -= -% -ITEM_ID -% -& -version -= -% -ITEM_VERSION -% -& -maxAppVersion -= -% -ITEM_MAXAPPVERSION -% -& -status -= -% -ITEM_STATUS -% -& -appID -= -% -APP_ID -% -& -appVersion -= -% -APP_VERSION -% -& -appOS -= -% -APP_OS -% -& -appABI -= -% -APP_ABI -% -& -locale -= -% -APP_LOCALE -% -& -currentAppVersion -= -% -CURRENT_APP_VERSION -% -& -updateType -= -% -UPDATE_TYPE -% -& -compatMode -= -% -COMPATIBILITY_MODE -% -" -) -; -pref -( -" -extensions -. -update -. -background -. -url -" -" -https -: -/ -/ -versioncheck -- -bg -. -addons -. -mozilla -. -org -/ -update -/ -VersionCheck -. -php -? -reqVersion -= -% -REQ_VERSION -% -& -id -= -% -ITEM_ID -% -& -version -= -% -ITEM_VERSION -% -& -maxAppVersion -= -% -ITEM_MAXAPPVERSION -% -& -status -= -% -ITEM_STATUS -% -& -appID -= -% -APP_ID -% -& -appVersion -= -% -APP_VERSION -% -& -appOS -= -% -APP_OS -% -& -appABI -= -% -APP_ABI -% -& -locale -= -% -APP_LOCALE -% -& -currentAppVersion -= -% -CURRENT_APP_VERSION -% -& -updateType -= -% -UPDATE_TYPE -% -& -compatMode -= -% -COMPATIBILITY_MODE -% -" -) -; -pref -( -" -extensions -. -getAddons -. -cache -. -enabled -" -true -) -; -pref -( -" -extensions -. -getAddons -. -search -. -browseURL -" -" -https -: -/ -/ -addons -. -mozilla -. -org -/ -% -LOCALE -% -/ -android -/ -search -? -q -= -% -TERMS -% -& -platform -= -% -OS -% -& -appver -= -% -VERSION -% -" -) -; -pref -( -" -extensions -. -getAddons -. -browseAddons -" -" -https -: -/ -/ -addons -. -mozilla -. -org -/ -% -LOCALE -% -/ -android -/ -collections -/ -4757633 -/ -mob -/ -? -page -= -1 -& -collection_sort -= -- -popularity -" -) -; -pref -( -" -extensions -. -getAddons -. -get -. -url -" -" -https -: -/ -/ -services -. -addons -. -mozilla -. -org -/ -api -/ -v4 -/ -addons -/ -search -/ -? -guid -= -% -IDS -% -& -lang -= -% -LOCALE -% -" -) -; -pref -( -" -extensions -. -getAddons -. -langpacks -. -url -" -" -https -: -/ -/ -services -. -addons -. -mozilla -. -org -/ -api -/ -v4 -/ -addons -/ -language -- -tools -/ -? -app -= -android -& -type -= -language -& -appversion -= -% -VERSION -% -" -) -; -pref -( -" -extensions -. -installDistroAddons -" -false -) -; -pref -( -" -extensions -. -webextOptionalPermissionPrompts -" -true -) -; -pref -( -" -extensions -. -experiments -. -enabled -" -false -) -; -pref -( -" -extensions -. -abuseReport -. -amWebAPI -. -enabled -" -false -) -; -pref -( -" -dom -. -disable_open_during_load -" -true -) -; -pref -( -" -dom -. -disable_window_open_dialog_feature -" -true -) -; -pref -( -" -keyword -. -enabled -" -true -) -; -pref -( -" -browser -. -fixup -. -domainwhitelist -. -localhost -" -true -) -; -pref -( -" -accessibility -. -typeaheadfind -" -false -) -; -pref -( -" -accessibility -. -typeaheadfind -. -timeout -" -5000 -) -; -pref -( -" -accessibility -. -typeaheadfind -. -flashBar -" -1 -) -; -pref -( -" -accessibility -. -typeaheadfind -. -linksonly -" -false -) -; -pref -( -" -accessibility -. -browsewithcaret_shortcut -. -enabled -" -false -) -; -pref -( -" -browser -. -xul -. -error_pages -. -expert_bad_cert -" -false -) -; -pref -( -" -browser -. -search -. -update -" -false -) -; -pref -( -" -browser -. -search -. -suggest -. -enabled -" -false -) -; -pref -( -" -chrome -. -override_package -. -global -" -" -browser -" -) -; -pref -( -" -chrome -. -override_package -. -mozapps -" -" -browser -" -) -; -pref -( -" -chrome -. -override_package -. -passwordmgr -" -" -browser -" -) -; -pref -( -" -dom -. -disable_window_move_resize -" -true -) -; -pref -( -" -browser -. -link -. -open_newwindow -" -3 -) -; -pref -( -" -browser -. -link -. -open_newwindow -. -restriction -" -0 -) -; -pref -( -" -dom -. -max_script_run_time -" -20 -) -; -pref -( -" -devtools -. -debugger -. -unix -- -domain -- -socket -" -" -ANDROID_PACKAGE_NAME -/ -firefox -- -debugger -- -socket -" -) -; -pref -( -" -breakpad -. -reportURL -" -" -https -: -/ -/ -crash -- -stats -. -mozilla -. -org -/ -report -/ -index -/ -" -) -; -pref -( -" -app -. -support -. -baseURL -" -" -https -: -/ -/ -support -. -mozilla -. -org -/ -1 -/ -mobile -/ -% -VERSION -% -/ -% -OS -% -/ -% -LOCALE -% -/ -" -) -; -pref -( -" -app -. -update -. -timerFirstInterval -" -30000 -) -; -pref -( -" -app -. -update -. -timerMinimumDelay -" -30 -) -; -# -ifdef -MOZ_UPDATER -pref -( -" -app -. -update -. -channel -" -" -MOZ_UPDATE_CHANNEL -" -) -; -# -endif -pref -( -" -apz -. -axis_lock -. -breakout_angle -" -" -0 -. -7853982 -" -) -; -pref -( -" -apz -. -axis_lock -. -mode -" -1 -) -; -pref -( -" -apz -. -content_response_timeout -" -600 -) -; -pref -( -" -apz -. -drag -. -enabled -" -false -) -; -pref -( -" -apz -. -fling_curve_function_x1 -" -" -0 -. -59 -" -) -; -pref -( -" -apz -. -fling_curve_function_y1 -" -" -0 -. -46 -" -) -; -pref -( -" -apz -. -fling_curve_function_x2 -" -" -0 -. -05 -" -) -; -pref -( -" -apz -. -fling_curve_function_y2 -" -" -1 -. -00 -" -) -; -pref -( -" -apz -. -fling_curve_threshold_inches_per_ms -" -" -0 -. -01 -" -) -; -pref -( -" -apz -. -fling_friction -" -" -0 -. -004 -" -) -; -pref -( -" -apz -. -fling_stopped_threshold -" -" -0 -. -0 -" -) -; -pref -( -" -apz -. -max_velocity_inches_per_ms -" -" -0 -. -07 -" -) -; -pref -( -" -apz -. -overscroll -. -enabled -" -true -) -; -pref -( -" -apz -. -second_tap_tolerance -" -" -0 -. -3 -" -) -; -pref -( -" -apz -. -touch_move_tolerance -" -" -0 -. -03 -" -) -; -pref -( -" -apz -. -touch_start_tolerance -" -" -0 -. -06 -" -) -; -pref -( -" -browser -. -chrome -. -toolbar_tips -" -false -) -; -pref -( -" -browser -. -meta_refresh_when_inactive -. -disabled -" -true -) -; -pref -( -" -media -. -throttle -- -cellular -- -regardless -- -of -- -download -- -rate -" -true -) -; -pref -( -" -media -. -video -- -queue -. -default -- -size -" -3 -) -; -pref -( -" -media -. -video -- -queue -. -send -- -to -- -compositor -- -size -" -1 -) -; -pref -( -" -media -. -mediadrm -- -widevinecdm -. -visible -" -true -) -; -pref -( -" -media -. -gmp -- -gmpopenh264 -. -visible -" -true -) -; -pref -( -" -media -. -gmp -- -gmpopenh264 -. -enabled -" -true -) -; -pref -( -" -media -. -gmp -- -gmpopenh264 -. -autoupdate -" -false -) -; -pref -( -" -browser -. -safebrowsing -. -downloads -. -enabled -" -false -) -; -pref -( -" -urlclassifier -. -malwareTable -" -" -goog -- -harmful -- -proto -goog -- -unwanted -- -proto -moztest -- -harmful -- -simple -moztest -- -malware -- -simple -moztest -- -unwanted -- -simple -" -) -; -pref -( -" -browser -. -dom -. -window -. -dump -. -enabled -" -true -) -; -pref -( -" -devtools -. -console -. -stdout -. -chrome -" -true -) -; -pref -( -" -network -. -tickle -- -wifi -. -enabled -" -true -) -; -pref -( -" -dom -. -meta -- -viewport -. -enabled -" -true -) -; -pref -( -" -media -. -gmp -- -provider -. -enabled -" -true -) -; -pref -( -" -toolkit -. -telemetry -. -unified -" -false -) -; -pref -( -" -layout -. -accessiblecaret -. -width -" -" -22 -. -0 -" -) -; -pref -( -" -layout -. -accessiblecaret -. -height -" -" -22 -. -0 -" -) -; -pref -( -" -layout -. -accessiblecaret -. -margin -- -left -" -" -- -11 -. -5 -" -) -; -pref -( -" -layout -. -accessiblecaret -. -caret_shown_when_long_tapping_on_empty_content -" -true -) -; -pref -( -" -layout -. -accessiblecaret -. -always_tilt -" -true -) -; -pref -( -" -layout -. -accessiblecaret -. -script_change_update_mode -" -1 -) -; -pref -( -" -layout -. -accessiblecaret -. -hapticfeedback -" -true -) -; -pref -( -" -layout -. -accessiblecaret -. -extend_selection_for_phone_number -" -true -) -; -pref -( -" -dom -. -serviceWorkers -. -disable_open_click_delay -" -5000 -) -; -pref -( -" -dom -. -push -. -maxRecentMessageIDsPerSubscription -" -0 -) -; -pref -( -" -media -. -navigator -. -permission -. -device -" -true -) -; -pref -( -" -extensions -. -systemAddon -. -update -. -url -" -" -https -: -/ -/ -aus5 -. -mozilla -. -org -/ -update -/ -3 -/ -SystemAddons -/ -% -VERSION -% -/ -% -BUILD_ID -% -/ -% -BUILD_TARGET -% -/ -% -LOCALE -% -/ -% -CHANNEL -% -/ -% -OS_VERSION -% -/ -% -DISTRIBUTION -% -/ -% -DISTRIBUTION_VERSION -% -/ -update -. -xml -" -) -; -pref -( -" -extensions -. -systemAddon -. -update -. -enabled -" -true -) -; diff --git a/mobile/android/app/moz.build b/mobile/android/app/moz.build index 4dabcf3b0ee2..13a815f03932 100644 --- a/mobile/android/app/moz.build +++ b/mobile/android/app/moz.build @@ -92,16 +92,6 @@ CONFIG MOZ_PKG_SPECIAL " ] -JS_PREFERENCE_PP_FILES -+ -= -[ -" -mobile -. -js -" -] if not CONFIG diff --git a/modules/libpref/docs/index.md b/modules/libpref/docs/index.md index f258fe194502..59c7491ad714 100644 --- a/modules/libpref/docs/index.md +++ b/modules/libpref/docs/index.md @@ -1813,13 +1813,14 @@ android / app / -mobile +geckoview +- +prefs . js used by -Firefox -mobile +GeckoView ; - mail diff --git a/taskcluster/ci/source-test/mozlint.yml b/taskcluster/ci/source-test/mozlint.yml index 32ea08fc5518..0039cbadedda 100644 --- a/taskcluster/ci/source-test/mozlint.yml +++ b/taskcluster/ci/source-test/mozlint.yml @@ -1713,18 +1713,6 @@ js ' - ' -mobile -/ -android -/ -app -/ -mobile -. -js -' -- -' devtools / client diff --git a/tools/esmify/mach_commands.py b/tools/esmify/mach_commands.py index 40f45d81fc5b..8843aeeff5a1 100644 --- a/tools/esmify/mach_commands.py +++ b/tools/esmify/mach_commands.py @@ -1228,18 +1228,6 @@ js " -" -mobile -/ -android -/ -app -/ -mobile -. -js -" - " mobile / diff --git a/tools/lint/rejected-words.yml b/tools/lint/rejected-words.yml index d53edfdbc187..13d0f5a87f18 100644 --- a/tools/lint/rejected-words.yml +++ b/tools/lint/rejected-words.yml @@ -1570,7 +1570,9 @@ android / app / -mobile +geckoview +- +prefs . js -