Closed Bug 1429607 Opened 6 years ago Closed 6 years ago

Log settings during GeckoView example app startup

Categories

(GeckoView :: General, enhancement)

51 Branch
All
Android
enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: esawin, Assigned: esawin)

Details

Attachments

(1 file, 1 obsolete file)

Log settings during startup of the example app to help tracking configuration issues with Autophone.
Log some settings when starting up the example app.
Attachment #8941645 - Flags: review?(snorp)
Comment on attachment 8941645 [details] [diff] [review]
0001-Bug-1429607-1.0-Log-some-relevant-settings-during-ge.patch

Review of attachment 8941645 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java
@@ +128,5 @@
>              GeckoSessionSettings.USE_REMOTE_DEBUGGER,
>              intent.getBooleanExtra(USE_REMOTE_DEBUGGER_EXTRA, false));
> +
> +        Log.i(LOGTAG, "Load with settings (" +
> +              "multiprocess: " + settings.getBoolean(GeckoSessionSettings.USE_MULTIPROCESS) + ", " +

I think you should just implement toString() on GeckoViewSettings and dump the key/value pairs in the bundle. The key names should be sufficient for identifying the settings.
Attachment #8941645 - Flags: review?(snorp) → review+
Comment on attachment 8941645 [details] [diff] [review]
0001-Bug-1429607-1.0-Log-some-relevant-settings-during-ge.patch

Review of attachment 8941645 [details] [diff] [review]:
-----------------------------------------------------------------

Err..meant to r- sorry!
Attachment #8941645 - Flags: review+ → review-
I wasn't sure if we want to dump all the settings, but for the example app this can be convenient.
Attachment #8941645 - Attachment is obsolete: true
Attachment #8941822 - Flags: review?(snorp)
Attachment #8941822 - Flags: review?(snorp) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Pushed by esawin@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ed6a8d139a3
[1.1] Log some relevant settings during geckoview_example startup. r=snorp
https://hg.mozilla.org/mozilla-central/rev/2ed6a8d139a3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 59 → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: