Commit Graph

577995 Commits

Author SHA1 Message Date
Doug Thayer
efdd84d094 Bug 862127 - Make migration interfaces more async r=Gijs
In order to clean up sync IO within our profile migrators, we
need to have async interfaces for those parts which are currently
doing sync IO. This converts the sync interfaces and adjusts most
of the call sites (migration.js call site changes are addressed
in a separate patch to break it out a bit).


MozReview-Commit-ID: 2Kcrxco4iYr

--HG--
extra : rebase_source : 53d123c435e43622a999a7e849dddbe1919061e0
2018-01-12 09:06:21 -08:00
Andrew McCreight
9ae6a7f57d Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : 000e544a4486fc96b8467be6adc0c22833a14eab
2018-01-23 10:38:40 -08:00
Tom Prince
642b5fb351 Bug 1429819: Allow using tooltool macOS SDK on all automation builds and all cross-builds. r=dminor
The original logic I wrote had the condition backwards.

MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 8504e1834e39f2a244abe0a89f2235bca8cae640
2018-01-23 11:56:50 -07:00
Kartikaya Gupta
a48a892756 Bug 1432635 - When advancing the test time, trigger a rendering flush to WR. r=sotaro
MozReview-Commit-ID: UtqGoOnobm

--HG--
extra : rebase_source : e3f3f135138014a4ed8c4bed23cca18c146995c1
2018-01-23 17:20:23 -05:00
Francesco Lodolo (:flod)
6a6eaef3d0 Bug 1432555 - Restore and use existing string extensionControlled.enable for instruction on how to enable extensions r=Gijs
MozReview-Commit-ID: 4nGtBhWzakN

--HG--
extra : rebase_source : aabca46e1d06c84cc55f33335dd13cb1ab7dc0a4
2018-01-23 19:25:59 +01:00
Andreea Pavel
d4ee1cf494 Backed out changeset 0569381b5e5f (bug 1422635) for failing ESlint at /builds/worker/checkouts/gecko/devtools/client/shared/test/browser_inplace-editor_autocomplete_css_variable.js on a CLOSED TREE 2018-01-24 00:34:34 +02:00
Andreea Pavel
41add5ae12 Backed out changeset 5bd1a3505e22 (bug 1432578) for failing ESlint at /builds/worker/checkouts/gecko/testing/xpcshell/dbg-actors.js on a CLOSED TREE 2018-01-24 00:33:07 +02:00
Rajdeep Nanua
5d6360507a Bug 1422635: Implement CSS variable autocompletion. r=jdescottes
Initial support for CSS variable autocompletion in ruleview.

MozReview-Commit-ID: AlblDmyW4Iq

--HG--
extra : rebase_source : f19ea980e0d6f141ac5f0c766e37b04c92559e05
2017-12-12 01:47:59 -05:00
Andrew McCreight
0c8b131e24 Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : e9160920f965c6e37157e99a021f25662f68ec75
2018-01-23 10:38:40 -08:00
Gregory Terzian
bef52e8357 servo: Merge #19350 - Ignore aborted responses in caching (from gterzian:ignore_aborted_responses_in_caching); r=jdm
<!-- Please describe your changes on the following line: -->
@jdm @KiChjang @Manishearth Follow up on https://github.com/servo/servo/pull/18676 and https://github.com/servo/servo/pull/19274 to ignore aborted responses in caching.

I also found out the cache shouldn't return any response whose body is still in `ResponseBody::Receiving` mode, because that fails the assertion at https://github.com/servo/servo/blob/master/components/net/fetch/methods.rs#L438(we might want to add a channel as pat of the cached response later on to deal with this case). I only found out now because I needed the response from the server to trickle in so that it could be cached and aborted.

I copied the `http-cache.py` server from the wpt folder, and added a 'trickle' option, which is necessary to actually have a failing test with a cached but aborted request, it's now passing.

I also remove one unused import that slippled through previously.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4307b6e67b0cb35e2afc46ba0b64e7bc5bde1bdf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4631dd57c5f691119b287f2aa04ee97fedfdf406
2018-01-23 14:47:16 -06:00
Andrew McCreight
54616962d6 Bug 1432576 - Remove B2G shared global isms from Promise.jsm. r=Gijs
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: DKnNYW5XP1N

--HG--
extra : rebase_source : 499dcc0d141daf72320176fa0115073c9ed08686
2018-01-23 10:14:24 -08:00
Kartikaya Gupta
e76849eb54 Bug 1432463 - Fix clang-tidy warnings by replacing some 0 with nullptr. r=botond
MozReview-Commit-ID: B8YguXD5Ybu

--HG--
extra : rebase_source : 6b4e54c9a8104cbf3c09bac348cb04ff2b468577
2018-01-23 08:33:52 -05:00
Thom Chiovoloni
a1373c066f Bug 1408361 - Add ellipsis when truncating received tab URI for display. r=eoger
MozReview-Commit-ID: 4PVX5J59kpM

--HG--
extra : rebase_source : 335cceb4a659e06365339a69a965782bfeaf3be5
2018-01-16 12:57:36 -05:00
Timur Borkhodoev
4a22513f27 servo: Merge #19843 - Added default fall-back when CARGO_HOME is not set for clean-cargo-cache (from terracotaPie:master); r=jdm
Added default fall-back when CARGO_HOME is not set.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19823 (github issue number if applicable).

Source-Repo: https://github.com/servo/servo
Source-Revision: 06aa339a1bf578d90f4c5a88877b579b67f33a56

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3c3f389c420043db190cb94624b2cea9973f52f0
2018-01-23 13:28:35 -06:00
Simon Fraser
7ab95eccbd Bug 1432517 Add shellcheck support for mach lint r=ahal
MozReview-Commit-ID: 1Mzg6y3JKbn

--HG--
extra : rebase_source : ceb32257265952e173ff83434395acfabb001cb4
2018-01-23 16:32:04 +00:00
Andreea Pavel
7d8cbb2869 Backed out changeset b764ca8d82da (bug 1429824) for failing browser chrome devtools at devtools/client/netmonitor/test/browser_net_autoscroll.js on a CLOSED TREE 2018-01-23 22:34:51 +02:00
Nick Alexander
5fbb927713 Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 3b15d8f9fa95769caa06be9aad145becd9729694
extra : intermediate-source : 4ead5bb6937c1396d41a859d65184a60f28f6e93
extra : source : bd1e3857b5bac3dc710521a5eb7377a1168b56ac
2018-01-04 15:45:56 -08:00
Nick Alexander
847818a3e1 Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : f599de01c63b873a95252d6b01128a6f069ff105
extra : intermediate-source : 060290b66b370137cfd3dbbac7c442ef107aaa68
extra : source : be888fa125dc1948fc073ed69aa8116f47e22877
2018-01-04 15:37:15 -08:00
Nick Alexander
b43c5179f1 Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : 77470c2043598175c427a137b54f56263f6dc499
extra : intermediate-source : df53850e90878d703a2bd867dfbc13295aec998d
extra : source : 44bcb609e721598135a19bf41ba7ff94f3051553
2017-11-22 09:48:02 -08:00
Nick Alexander
5f1e6bc10e Bug 1419581 - Part 3: Guard PresentationMediaPlayer windows with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3ZlVUMufn2g

--HG--
extra : rebase_source : e88c8b84c990574cb6b6f78ed629e7050f3807e9
extra : intermediate-source : c71bc2d65fac7df474a08e9f2c0dc7ad4e3b0bc4
extra : source : a7d75667c58ba0069bbb40ad688884a856660a60
2018-01-05 11:35:00 -08:00
Nick Alexander
d9a68adc61 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 73927253fe9f8a70c2546eaf884631e456ce8b02
extra : intermediate-source : c21fcbad5a29b5259d4be71b6f2ed466b514eacb
extra : source : 2ea82ff4a757a0aeb7bdd8cff611d5b92dec14eb
2017-12-06 20:28:04 -08:00
Tad
ac439ae1ba Bug 1419581 - Part 1: Simplify MMA GCM sender IDs logic. r=nechen
Right now, the MMA glue is built into constants.jar.  constants.jar is
the home of preprocessed Java code; it's built very early in the build
process and intended to be a tiny kernel of shared definitions.  The
fact that the MMA glue has to live there is just a sad consequence of
the non-Gradle build system, which makes dependency injection
difficult.  Unfortunately, another consequence is that it's not
possible to move reference org.mozilla.gecko.{gcm,push} in the MMA
glue, because those packages are built after constants.jar.

Instead, this patch lifts some of the logic into AppConstants, which
is part of constants.jar.  We had grown a twisty maze of indirection
around the GCM sender IDs and it just wasn't necessary; this just
lifts the static pieces up a level and removes a bunch of interface
indirection.

What surprises me is that asking Google's InstanceId.getToken for a
GCM token with a "comma,separated,list" of GCM sender IDs works -- and
indeed, has worked since we added the second MMA sender ID.  I didn't
expect that and can't explain it, but this doesn't change that logic
and local testing (both of the existing APKs, and APKs with this
modification) looks good.


MozReview-Commit-ID: 3hObfAwNlPH
***
a0c07e53 o draft Bug 1419581 - Part 1: Move MMA setGcmSenderID from MmaDelegate to MmaLeanplumImp. r=nechen

MozReview-Commit-ID: A4hrk6pVqGW

--HG--
extra : rebase_source : 9de77b6278bae76df3597bc2580bcedbf6d33075
extra : intermediate-source : c6e6fe49ecd2dd422878d80f57f1c89bf69eebff
extra : source : 8f1655752d43af33356d497d559888a967bbf6a0
2018-01-12 15:03:37 -08:00
Nick Alexander
712d05c0af Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander
MozReview-Commit-ID: BXNFBEs2017

--HG--
extra : rebase_source : b1b5a191f6022f817ffefe4111041a9460841060
extra : intermediate-source : ef692850802df9bf97bf82bfa3faadb7ff018130
extra : source : 65195aae48d88edc3c23f88083cf77251d9556fe
2018-01-04 14:49:58 -08:00
Jan Henning
1664a019f4 Bug 1389829 - Part 4 - Add simple Robocop test for View Page Source. r=nechen
MozReview-Commit-ID: DFC17YSSinx

--HG--
extra : rebase_source : fb77bb098e086ee9aa99d5bab50e8cbc4345f332
2018-01-13 21:10:45 +01:00
Jan Henning
80158f4f3a Bug 1389829 - Part 3 - Handle "View Page Source" on the JS side. r=esawin
MozReview-Commit-ID: AOmTcNQ7qlj

--HG--
extra : rebase_source : 24dcc129fa666980cc360afa2acd761768133171
2017-08-13 18:28:50 +02:00
Jan Henning
91e8259ff4 Bug 1389829 - Part 2 - Make files needed for View Source available for Fennec. r=esawin
viewPartialSource.js/xul and viewSource.css/js/xul are only required for opening
the source in a new, special window. On Android we'll always use a new tab
instead, so we don't have to include them there.

MozReview-Commit-ID: LjX1WKELjqz

--HG--
extra : rebase_source : e1fefc10bb11c933f4d8dff7a74c2c516933534d
2018-01-13 17:46:29 +01:00
Jan Henning
1f2597dca1 Bug 1389829 - Part 1 - Add "View Page Source" to the Page menu in the UI. r=nechen
The Page menu is disabled when no tab is open, so not doing a null-check on the
currently selected tab in the menu click handler is safe.

MozReview-Commit-ID: CYKHJ5N1q8I

--HG--
extra : rebase_source : 3ec7b1a9708a905785850feb44b48723c24f1363
2017-08-13 16:15:26 +02:00
Anthony Ramine
49a11036dc servo: Merge #19838 - Make ToCss' SequenceWriter not monomorphise like a maniac anymore (from servo:rm-sequence-writer-as-it-was); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b2e5283c9e810ac316c203849b6ea25544a62c7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : be769cfabdde7902aa33f0b06ebb47c1823353e7
2018-01-23 12:03:41 -06:00
Andreea Pavel
9c23902d5f Backed out changeset 994e33a96d17 (bug 1428530) for build bustage at z:\build\build\src\intl\locale\locale.h on a CLOSED TREE 2018-01-23 20:43:43 +02:00
Brad Werth
f64622d129 Bug 1430187 Part 2: Add a test of find-in-page with overflowed textareas. r=mikedeboer
MozReview-Commit-ID: dKXyp826Y5

--HG--
extra : rebase_source : 56801b078992413ac54208b62230d32fa62ce7a9
2018-01-22 13:16:51 -08:00
Brad Werth
fc1561531d Bug 1430187 Part 1: Allow find-in-page to unilaterally find text that's out of view in a scrollable container. r=mikedeboer
MozReview-Commit-ID: KBh9PxuUWhT

--HG--
extra : rebase_source : 7b7dfa628bdee936a8f7df30e61ea4a1e3a77789
2018-01-19 15:58:03 -08:00
Chris H-C
700a8e1658 bug 1426150 - Augment in-tree docs for health ping sendFailure keys. r=Dexter
The codes by themselves are rather opaque. Adding a short descriptor ought to
help with comprehension.

MozReview-Commit-ID: El3gDbENs9h

--HG--
extra : rebase_source : c9485b728ea34a7b257cf501d3e6114da17bc0e4
2018-01-19 09:27:03 -05:00
Zibi Braniecki
9ca3cdc5a5 Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
MozReview-Commit-ID: IELFjNCoJEo

--HG--
extra : rebase_source : a735a893e93669af5b91951519ea9dadeb8123ad
2018-01-06 00:23:09 -08:00
Emilio Cobos Álvarez
aab6457784 servo: Merge #19845 - style: Disable rustfmt on the bindings for now (from emilio:not-fmt-yet); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 108cb0e539d00e057d0b283bfd743520e25ab397

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 84663b37520952c021f9cfc9a1aef9bb09b9acbb
2018-01-23 10:42:31 -06:00
Dorel Luca
bad2421650 Merge mozilla-central to autoland r=merge 2018-01-23 19:54:54 +02:00
Dorel Luca
e3cba77cee Backed out changeset 5eba8dcac2bb (bug 1373055) for causing bug 1430466 2018-01-23 19:49:57 +02:00
Dorel Luca
30b5be6d16 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 19:46:03 +02:00
Ryan VanderMeulen
b76790c074 Bug 1432174 - Allow ASAN fuzzing builds to use legacy and unsigned addons. r=froydnj 2018-01-23 10:19:23 -05:00
Ben Kelly
1a6be56766 Bug 1432272 Make Fetch API use the global's base URL instead of the entry document's base URL. r=bz
The fetch spec used to use the entry settings as the base for parsing relative
Request/Response URL's, but this is no longer the case.  This was changed in:

https://github.com/whatwg/fetch/issues/367

Update our code to match this behavior.  We basically convert GetEntryDocument()
to QI the global to nsGlobalWindowInner and use its ExtantDoc instead.

No changes are needed for workers since its not possible to perform cross-global
javascript access in worker threads.
2018-01-23 09:38:21 -05:00
Andrea Marchesini
fadb18e7bb Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=me CLOSED TREE 2018-01-23 14:54:36 +01:00
Andrea Marchesini
85b163bc38 Bug 1430998 - Rename nsINode::InsertChildAt to InsertChildAt_Deprecated, r=catalinb 2018-01-23 14:30:18 +01:00
Andrea Marchesini
b8bb98af8c Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb 2018-01-23 14:30:18 +01:00
Franziskus Kiefer
28c48ed8b7 Bug 1432177 - bump NSS version in old-configure.in
--HG--
extra : rebase_source : b206a2ce5351c46419807a8167a07b5311cb3647
2018-01-23 11:52:03 +01:00
Franziskus Kiefer
cdd881cf58 Bug 1432177 - land NSS 10f7e0179b18 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 73060b7dd79b86f22b4f53d2d3491266b1968904
2018-01-23 11:48:27 +01:00
Jon Coppeard
3bdf7ef24a Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen 2018-01-23 13:07:37 +00:00
Christoph Kerschbaumer
16dba8baf1 Bug 1432137 - Add test to verify insecure redirects to data: URIs are blocked for script modules. r=jonco 2018-01-23 14:04:21 +01:00
Benjamin Bouvier
f0075796d0 Bug 1431669: Follow up to fix build bustage on a CLOSED TREE; r=me
NoTypePolicy actually can't be used in a MixPolicy; revert this change.

MozReview-Commit-ID: 2BgZ3yNh8CP

--HG--
extra : rebase_source : 32615ccdc3181d60ff345e308ef63fa17362d043
2018-01-23 12:24:15 +01:00
Drew Willcoxon
86cfc3f0ce Bug 1432263 - Make matchBuckets string parsing the same everywhere it's done. r=mak
MozReview-Commit-ID: GmGCHl4RtWB

--HG--
extra : rebase_source : 97f8b643be9431b994fc4dca03b243a664ed56ba
2018-01-22 11:21:55 -08:00
Zibi Braniecki
c8137ec252 Bug 1422658 - Extend mozIntl to handle NumberFormat, PluralRules and Collator. r=jfkthame
MozReview-Commit-ID: Gtnvch5Ict6

--HG--
extra : rebase_source : 4e0e65d7581e67ce5dc3aea8c88fb7297eeb020e
2018-01-18 15:37:48 -08:00
Nicolas Chevobbe
e850518bea Bug 1404884 - Enable browser_webconsole_insecure_passwords_about_blank_web_console_warning.js in new console frontend; r=jdescottes.
MozReview-Commit-ID: 7fQc3hOp8hT

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-762593-insecure-passwords-about-blank-web-console-warning.html => devtools/client/webconsole/new-console-output/test/mochitest/test-insecure-passwords-about-blank-web-console-warning.html
extra : rebase_source : 965de788e3f222560427ee682a33ccc5a48ea383
2018-01-23 09:50:56 +01:00