Commit Graph

18223 Commits

Author SHA1 Message Date
Zibi Braniecki
86a7d9a632 Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr
2017-03-13 08:31:43 -07:00
Michael Layzell
4f1d511383 Bug 1346866 - Make the IPC serialization/deserialization time probes main-thread-only, r=billm
MozReview-Commit-ID: 5Sc820Jh494
2017-03-13 19:25:48 -04:00
sole
d9482d496c Bug 1343501 - Log telemetry for devtools DOM panel. r=Honza 2017-03-03 14:49:25 +00:00
Carsten "Tomcat" Book
811b1bab9a merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Kan-Ru Chen
51360ecea9 Bug 1346161 - Remove HANDLE_UNLOAD_MS and HANDLE_BEFOREUNLOAD_MS telemetry probes. r=smaug
MozReview-Commit-ID: 91WAGDKAAMu
2017-03-13 14:47:29 +08:00
Matthew Wein
93a16b0494 Bug 1275287 - Use the same browser_style styling for options that we use for popups r=mixedpuppy
MozReview-Commit-ID: HtbkC9Nf6S8
2017-02-02 15:32:02 -08:00
Tomislav Jovanovic
07708471f8 Bug 1313648 - Add previousVersion to onInstalled details r=aswan
MozReview-Commit-ID: Cmw7zp8CV7e
2017-03-13 05:55:52 +01:00
David Major
7c0497b430 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo
2017-03-14 15:26:27 +13:00
Iris Hsiao
22d2818760 Backed out 12 changesets (bug 1344629) for stylo build bustage
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
a660713d2b Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo
2017-03-14 15:26:27 +13:00
Henry Chang
b1b06f3fe9 Bug 1346757 - Change the downloadError callback timing. r=francois
MozReview-Commit-ID: JleLPltEBOw
2017-03-13 21:16:07 +08:00
Iris Hsiao
2af0d05963 Backed out changeset eead99c3e41a (bug 1275287) for mochitest failures in browser_ext_optionsPage_browser_style.js 2017-03-14 10:38:11 +08:00
Kris Maglione
25679f1c39 Bug 1346667: Fix error on extension shutdown when no local storage has been created. r=mixedpuppy
MozReview-Commit-ID: 899tYLjZSAq
2017-03-12 17:07:05 -07:00
Matthew Wein
6f7c8d7825 Bug 1275287 - Use the same browser_style styling for options that we use for popups r=mixedpuppy
MozReview-Commit-ID: HtbkC9Nf6S8
2017-02-02 15:32:02 -08:00
Jonathan Kingston
8072620c9f Bug 1345546 - Add telemetry for feed protocols pcast and feed. r=Gijs
MozReview-Commit-ID: FPw18txy6gE
2017-03-08 17:32:52 +00:00
Panos Astithas
771975bb0e Make the URL bar selected result telemetry probes opt-out (bug 1334617). r=bsmedberg
MozReview-Commit-ID: Izf0Lq9Cu4v
2017-03-01 14:33:04 +02:00
Kris Maglione
2aa5ab63cc Backed out changeset 2ad68bdfb2ed (bug 1344590) for mochitest bustage
MozReview-Commit-ID: 7lUtSXTsmnT
2017-03-12 19:20:10 -07:00
Kris Maglione
ec5fb4a3c6 Bug 1344590: Follow-up: Fix changes that got lost in rebase.
MozReview-Commit-ID: 7V9FoZXaizK
2017-03-12 16:54:03 -07:00
Kris Maglione
115e1d5fce Bug 1344590: Part 4 - Store parsed and normalized extension data in indexedDB. r=aswan
MozReview-Commit-ID: HA0PJfbGa9w
2017-03-08 09:16:01 -08:00
Kris Maglione
eac9f51bfd Bug 1344590: Part 3 - Handle schema default values for object properties. r=aswan
MozReview-Commit-ID: 6rzMwvRl4ho
2017-03-07 23:04:36 -08:00
Kris Maglione
10effa3b58 Bug 1344590: Part 1 - Handle extension reloads, upgrades, and manager restarts in xpcshell helpers. r=rhelmer
MozReview-Commit-ID: FJLeYCz26PX
2017-03-07 23:41:57 -08:00
Kris Maglione
9ac789da88 Bug 1333477: Part 3 - Support dynamically injecting and revoking schema properties based on permissions. r=aswan
MozReview-Commit-ID: C2pQpsD18W0
2017-03-04 16:43:21 -08:00
Kris Maglione
50f77bbcb4 Bug 1333477: Part 2 - Remove "browser" environment from ESLint settings. r=aswan
MozReview-Commit-ID: LCxI6JVp7Xo
2017-03-12 14:16:13 -07:00
Kris Maglione
adec8be422 Bug 1333477: Part 1 - Bail out earlier for unsupported schema entries. r=aswan
MozReview-Commit-ID: KLxBj1my5bT
2017-03-04 16:47:49 -08:00
Florian Quèze
299937df66 Bug 1345513 - Stop shipping unreferenced printing files on Mac, r=mconley. 2017-03-11 12:51:21 +01:00
Boris Zbarsky
986efeafa7 Bug 1345996 followup. Update some tests for the new event behavior.
MozReview-Commit-ID: 1OAR6YcoiF3
2017-03-11 02:33:58 -05:00
Kit Cambridge
88293a6eb2 Bug 1345001 - Bump expiration for valuable Push telemetry probes. r=liuche
MozReview-Commit-ID: G3sngmISblf
2017-03-06 19:08:02 -08:00
Kit Cambridge
a57142aeb8 Bug 1345001 - Remove expiring Push telemetry probes. r=liuche
We haven't found these probes useful for understanding the value of
Push, and many can be better determined from server metrics.

MozReview-Commit-ID: GM9K59OAbMT
2017-03-06 19:06:32 -08:00
Wes Kocher
c394e9d793 Merge m-c to inbound, a=merge
MozReview-Commit-ID: JXQqoTEXxwz
2017-03-10 17:22:54 -08:00
Kate Uistiuzhanina
0460a89753 Bug 1252066 - Make UIMeasurements explicitly Android-only; r=gfritzsche
MozReview-Commit-ID: DIWOsNsaM4A
2017-03-08 22:40:19 +03:00
Kris Maglione
3fd12535c9 Bug 1345620: Disable global history in test browsers. r=trivial
MozReview-Commit-ID: F4frNK6qq8j
2017-03-10 10:39:41 -08:00
Michael Layzell
996d6e5d28 Bug 1342635 - Part 3: Update descrption of probes to mention meaning of key, r=bsmedberg
MozReview-Commit-ID: DaeS4NxJyUW
2017-03-10 12:37:36 -05:00
Michael Layzell
ea8d99bcb9 Bug 1342635 - Part 2: Add a telemetry probe for IPDL IPC serialzation time, r=billm
MozReview-Commit-ID: Gyx4QO8f5yx
2017-03-10 09:15:26 -05:00
Michael Layzell
996b198853 Bug 1342635 - Part 1: Add a telemetry probe for IPDL IPC deserialization time, r=billm
MozReview-Commit-ID: 8XWFWoRECrC
2017-03-10 09:15:26 -05:00
Michael Layzell
2a520f65ea Bug 1337073 - Improve the precision of the IPC_SYNC_LATENCY_MS probe and rename it to IPC_SYNC_MAIN_LATENCY_MS, r=billm
MozReview-Commit-ID: 7JB7h06wCzu
2017-03-10 09:15:26 -05:00
Vedant Sareen
386a7693fa Bug 1344744 - Update Telemetry unit tests to async function & await. r=dexter
Replaced |Task.async(function*(...))| with a corresponding form of |async function(...)| and |yield| with |await| in the changed functions.
2017-03-10 00:36:23 +05:30
Vedant Sareen
3b4b1c972a Bug 1344855 - Enable flake8 rule F401: "XXX imported but unused". r=dexter
Enabled rule F401, "XXX imported but unused" for the directory |toolkit/components/telemetry| and fixed the problems reported on running |./mach lint -l flake8 toolkit/components/telemetry|.
2017-03-09 23:17:54 +05:30
djmdev
b2b3c07918 Bug 1344846 - Enable flake8 rule E203: "whitespace before ':'". r=dexter
Removed whitespace present before : .
2017-03-10 04:16:14 +05:30
djmdev
d657ec5e92 Bug 1344831 - Enable flake8 rule E703: "statement ends with a semicolon". r=dexter
Removed ending semicolons.
2017-03-09 22:37:32 +05:30
Carsten "Tomcat" Book
4d844ed8a1 Merge mozilla-central to mozilla-inbound 2017-03-10 11:42:15 +01:00
Matthew Noorenberghe
aca0812357 Bug 1344589 - Wait for the httpServer to shutdown in head_search.js to avoid reported leaks. r=adw
The test slow_timeout in test_searchSuggest.js was keeping a request open for 10s so the server wouldn't stop immediately.

MozReview-Commit-ID: EGFPRKMNa51
2017-03-09 00:18:35 -05:00
Bob Silverberg
2a3140feb8 Bug 1345583 - Move code for startup and shutdown handling of preferences to ExtensionPreferencesManager, r=aswan
MozReview-Commit-ID: 8EILFeFjvnd
2017-03-08 14:47:26 -05:00
Wes Kocher
a563b1dc88 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Wes Kocher
ce03404f25 Backed out 19 changesets (bug 1343037) for OSX failures in test_form_autocomplete.html a=backout CLOSED TREE
Backed out changeset 45f9d9f47222 (bug 1343037)
Backed out changeset 77c26865ce8e (bug 1343037)
Backed out changeset 4c4ec6e6b168 (bug 1343037)
Backed out changeset 1d0da4f3c82b (bug 1343037)
Backed out changeset 67d29abbbd53 (bug 1343037)
Backed out changeset a6833ad9712f (bug 1343037)
Backed out changeset 202a7b464808 (bug 1343037)
Backed out changeset 271e63cd7bfa (bug 1343037)
Backed out changeset 77c3b36269a4 (bug 1343037)
Backed out changeset 73198c9c3975 (bug 1343037)
Backed out changeset 5fc2e304113b (bug 1343037)
Backed out changeset b7de9c9c1c31 (bug 1343037)
Backed out changeset 08b01e3c03f8 (bug 1343037)
Backed out changeset de068e5a963b (bug 1343037)
Backed out changeset 23164576aaf5 (bug 1343037)
Backed out changeset 1034463cb379 (bug 1343037)
Backed out changeset 7fb2aacfc644 (bug 1343037)
Backed out changeset 6dcb7090fd33 (bug 1343037)
Backed out changeset cad4522cee16 (bug 1343037)

MozReview-Commit-ID: I37k9bJBwsw
2017-03-09 15:29:05 -08:00
Joel Maher
58814936e9 Bug 1337772 - Intermittent browser_context_menu_autocomplete_interaction.js. disable on linux. r=gbrown
MozReview-Commit-ID: 5OC5E22GBJV
2017-03-09 15:06:30 -05:00
djmdev
5b5d785a17 Bug 1329116 - Update TelemetryEnvironment.jsm to async function & await. r=gfritzsche
Used async and await instead of Task.async and yield.
2017-03-08 22:56:34 +05:30
djmdev
2410c58bae Bug 1344718 - Enable flake8 rule E302: "expected 2 blank lines, found 1" for Telemetry code. r=Dexter 2017-03-08 22:41:00 +05:30
Boris Zbarsky
39ecc61ae2 Bug 1343037 part 16. Implement a version of nsTextEditorState::SetSelectionRange that takes a string for the direction. r=ehsan
MozReview-Commit-ID: E8zYAWolg94
2017-03-09 14:44:06 -05:00
Boris Zbarsky
a1c244c3dc Bug 1343037 part 13. Implement nsTextEditorState::SetSelectionEnd. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionEnd changes.
3)  Changes the IDL type of HTMLInputElement's selectionEnd attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: J3Gkhr8VnbS
2017-03-09 14:44:05 -05:00
Boris Zbarsky
15753d8c04 Bug 1343037 part 12. Implement nsTextEditorState::SetSelectionStart. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionStart changes.
3)  Changes the IDL type of HTMLInputElement's selectionStart attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: JM9XXMMPUHM
2017-03-09 14:44:05 -05:00