Commit Graph

559810 Commits

Author SHA1 Message Date
Mark Striemer
71ecf34866 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ

--HG--
extra : rebase_source : d57eaf96014b864f56649679d9bffdb4a05e9e5a
2017-09-15 21:07:24 -05:00
Jean-Yves Avenard
2cd8f30633 Bug 1401922 - P2. Only set error when non handled. r=alwu
MozReview-Commit-ID: CF2Iw0i0nD8

--HG--
extra : rebase_source : d95ae83f8e426593200cd15b3ea7d6fd19da3ec8
2017-09-21 13:29:54 +02:00
Jean-Yves Avenard
ac7ed4578a Bug 1401922 - P1. Ensure an error is returned when no decoder could be created. r=alwu
PDMFactory::CreateDecoder may not always modify CreateDecoderParams::mError as not all PDM handle this optional return value.

MozReview-Commit-ID: K8WFA0o778U

--HG--
extra : rebase_source : 55c35ab0cb5282d8dfbd1bbc1a2e6e22d97d3209
2017-09-21 13:25:05 +02:00
Michael Comella
8d66e7dcec Bug 1401743: Disable importance for accessibility of pocket MORE arrow. r=liuche
The proper solution here is to put MORE and the arrow in a single focusable
container but this needs to get uplifted so I went with the simpler change.

For non-visual users, there is no difference. For visual users, the only "more"
is focused, rather than "more" and the arrow in one container. The code as it
is slightly more complex because we have to hide and add click listeners to
multiple objects.

MozReview-Commit-ID: JZFLc8jvXII

--HG--
extra : rebase_source : e31aa207b204ace35871acbded1e753fdb636874
2017-09-21 13:20:18 -07:00
Jonathan Guillotte-Blouin
bb5119d167 Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj

--HG--
rename : toolkit/components/payments/content/paymentRequest.css => toolkit/components/payments/res/paymentRequest.css
rename : toolkit/components/payments/content/paymentRequest.js => toolkit/components/payments/res/paymentRequest.js
rename : toolkit/components/payments/content/paymentRequest.xhtml => toolkit/components/payments/res/paymentRequest.xhtml
extra : rebase_source : 6ebcb9811099cfdedb670e990451e8b844dd7d24
2017-09-21 13:49:41 -07:00
Matt Brubeck
c965d8f708 servo: Merge #18579 - Remove unused feature gates (from mbrubeck:features); r=KiChjang
CC #5286.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because no code changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 29517d553e6c2fddc7e3cf0c0abef58c6d0f34aa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2e8b88135a03d5d56b950e5ee25123e7403c31c
2017-09-21 15:08:04 -05:00
Jim Chen
9a9951f4be Bug 1396951 - 6. Remove setLayerView/getLayerView; r=snorp
Remove `GeckoAppShell.setLayerView()/getLayerView()` now that it's no
longer used anywhere.

MozReview-Commit-ID: 6URNFhSs01P

--HG--
extra : rebase_source : 202177e049d969efba04290b228dd67a15ebe3f4
2017-09-21 17:36:07 -04:00
Jim Chen
6e5b9382e4 Bug 1396951 - 5. Remove getLayerView usage from Robocop code; r=gbrown
Find the Fennec LayerView through `Solo.getView()` and the View id
instead of going through `GeckoAppShell.getLayerView()`.

MozReview-Commit-ID: FVcPM0fYorf

--HG--
extra : rebase_source : c446302e957c5c1136a6a670735ce9df2dc3f41a
2017-09-21 17:36:07 -04:00
Jim Chen
4440c1fbc9 Bug 1396951 - 4. Pass in GeckoView instance when sending a11y event; r=snorp
Pass in a `GeckoView` instance when sending a11y events so we're not
dependent on `GeckoAppShell.getLayerView()`. However, there's likely
more work to be done to make a11y work for any GeckoView.

MozReview-Commit-ID: DBeDOX5c3qY

--HG--
extra : rebase_source : 0c6c76d326b755671d2d29109823ceaf1aa627ba
2017-09-21 17:36:07 -04:00
Jim Chen
e552b01260 Bug 1396951 - 3. Move GeckoAppShell.viewSizeChanged() to GeckoLayerClient; r=rbarker
Let `GeckoLayerClient` directly deal with scroll-to-input on resize,
instead of going through `GeckoAppShell` and relying on
`getLayerView()`. This is a necessary fix to let us remove
`getLayerView()`, and in a follow-up bug we should actually fix
scroll-to-input to work on any GeckoView.

MozReview-Commit-ID: 1xsHh2vg08M

--HG--
extra : rebase_source : c09c906cbdaf2b3bea96ecfcec1f25bdef4fa31d
2017-09-21 17:36:07 -04:00
Jim Chen
59b8506da3 Bug 1396951 - 2. Don't use getLayerView() in GeckoInputConnection; r=esawin
In GeckoInputConnection, use the current view available through
`getView()`, instead of using `GeckoAppShell.getLayerView()`.

MozReview-Commit-ID: Hc9AUz5SNEs

--HG--
extra : rebase_source : 3e55c4ac8749b75e6f5bc50a2b706f7f4ad264e8
2017-09-21 17:36:02 -04:00
Jim Chen
d96a907c4c Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF

--HG--
extra : rebase_source : c9ac6e28584ca2b6c6fb707444cca8dc08abe649
2017-09-21 17:36:02 -04:00
Michael Kaply
20d1c205fc Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 93ab53e43be09b0b24bb7c7fcd73c0010fc912a2
2017-09-07 19:38:55 -05:00
Grigory Kruglov
2e039ddbf5 Bug 1351673 - Use a single-threaded work queue to process batching downloader work items r=rnewman
Before we'd recurse instead while fetching multiple batches, overflowing the stack on older devices.

MozReview-Commit-ID: 37BG6zGBdn0

--HG--
extra : rebase_source : 2e9d2eeeba247454051e9fe4ab875d9f9ca5e2d4
2017-09-21 16:53:03 -04:00
Axel Hecht
3dc36a71a4 bug 1382005, update compare-locales to 2.1, r=glandium
Vendor new dependency for compare-locales, python-fluent.
This is the 0.4.2 release of python-fluent.

Also, make mach command a bare minimum wrapper.

The compare-locales mach command used to own a couple of defaults
and opinions.
Now that those opinions and defaults are in the Makefiles, this
command can be much simpler. As a side effect, this should
make the thunderbird port easier, where none of the mach defaults
worked.

Update l10n.mk for compare-locales 2.x:

The command line interface is different now, with positional arguments.
Also, the l10n config file isn't a default anymore (that never worked
for thunderbird).
And the merge dir is now the parent of the locale dir, much like
we already anticipated in the code.

MozReview-Commit-ID: DxVVKyVSt5y

--HG--
extra : rebase_source : 7c591fea8c7d9ecef615fb56f9359d4f1bd4b340
2017-09-18 18:31:24 +02:00
Mike Hommey
00433d9cf4 Bug 1401099 - Move arena_ralloc_large_grow to a method of arena_t. r=njn
--HG--
extra : rebase_source : 0a1863785b2c3a22946ee735c73afa5ac764f076
2017-09-15 20:50:42 +09:00
Mike Hommey
3c2c85e407 Bug 1401099 - Move arena_ralloc_large_shrink to a method of arena_t. r=njn
--HG--
extra : rebase_source : 3b9aede58b3c9163b8a28a4371120d471533f8eb
2017-09-15 20:44:34 +09:00
Mike Hommey
24adb9a7a8 Bug 1401099 - Move arena_dalloc_large to a method of arena_t. r=njn
--HG--
extra : rebase_source : dbc79744f42ed99709ed9857ec5d91ceaea83b0d
2017-09-15 20:40:36 +09:00
Mike Hommey
eea012c8aa Bug 1401099 - Move arena_dalloc_small to a method of arena_t. r=njn
--HG--
extra : rebase_source : 9cc4efbbcd0da012be9fa4e5dd3262d89bdab161
2017-09-15 20:37:47 +09:00
Mike Hommey
05188caf59 Bug 1401099 - Move arena_palloc to a method of arena_t. r=njn
--HG--
extra : rebase_source : 0c64ea5c0681704a85e15977a8803403d06d0962
2017-09-15 20:28:23 +09:00
Mike Hommey
91f0d70f6f Bug 1401099 - Move arena_malloc to a method of arena_t. r=njn
--HG--
extra : rebase_source : c06e3c5a63a12ba48f7f4bc52390ba9c8670f722
2017-09-15 19:20:09 +09:00
Mike Hommey
cd573d5abc Bug 1401099 - Move arena_malloc_large to a method of arena_t. r=njn
--HG--
extra : rebase_source : 837d0d67556097140ff6141f2876fdbbb70d4e08
2017-09-15 19:14:00 +09:00
Mike Hommey
3576cd2578 Bug 1401099 - Move arena_malloc_small to a method of arena_t. r=njn
--HG--
extra : rebase_source : 7df0043060caf4cd14fc48428296428acf1771c7
2017-09-15 19:11:52 +09:00
Mike Hommey
2c4099f29f Bug 1401099 - Move arena_bin_nonfull_run_get to a method of arena_t. r=njn
--HG--
extra : rebase_source : 808f7ba52a4fc4f99a283ae894296cafac5166da
2017-09-15 18:23:33 +09:00
Mike Hommey
003004a71a Bug 1401099 - Move arena_bin_malloc_hard to a method of arena_t. r=njn
--HG--
extra : rebase_source : 2bed3221e38714d00ab95937d20ac5faafc89e9e
2017-09-15 18:20:11 +09:00
Mike Hommey
577b65d3c1 Bug 1401099 - Move arena_bin_malloc_easy to a method of arena_t. r=njn
--HG--
extra : rebase_source : 8675de21e7c79e3c458367f3f10b1331efe55094
2017-09-15 18:18:11 +09:00
Mike Hommey
0ec33d017f Bug 1401099 - Move arena_run_trim_tail to a method of arena_t. r=njn
--HG--
extra : rebase_source : e105fa4b8aae6b41c12e2f72293cdf68489a939d
2017-09-15 18:14:33 +09:00
Mike Hommey
3cc5f23c76 Bug 1401099 - Move arena_run_trim_head to a method of arena_t. r=njn
--HG--
extra : rebase_source : 2a2d2b9d454d69d0d1924f60d4771b39a1dddfb2
2017-09-15 18:11:12 +09:00
Mike Hommey
b6e66b7b02 Bug 1401099 - Move arena_run_split to a method of arena_t. r=njn
--HG--
extra : rebase_source : 919dc2b9980ae59340553bcbfa029ba9c1bf9479
2017-09-15 18:08:23 +09:00
Mike Hommey
99d28b4355 Bug 1401099 - Move arena_run_dalloc to a method of arena_t. r=njn
--HG--
extra : rebase_source : 5cf37d39b6d8bdb591352051b3f37a2e3982dc69
2017-09-15 18:01:27 +09:00
Mike Hommey
7cb9914a15 Bug 1401099 - Move arena_run_alloc to a method of arena_t. r=njn
--HG--
extra : rebase_source : 6a683f4d0cf5ad68c670dbe8ea9d3a34acf11549
2017-09-15 17:57:11 +09:00
Mike Hommey
d2ba03c881 Bug 1401099 - Move arena_chunk_dealloc to a method of arena_t. r=njn
--HG--
extra : rebase_source : 973b8764903f4e9c65aaaa053bb394a8a9ff2acb
2017-09-15 17:50:48 +09:00
Mike Hommey
d6d578553d Bug 1401099 - Move arena_chunk_init to a method of arena_t. r=njn
--HG--
extra : rebase_source : d30e062f7117743a0c88fdf0325b0a395bff5658
2017-09-15 17:43:36 +09:00
Mike Hommey
11cfd193d1 Bug 1401099 - Move arena_new to a method of arena_t. r=njn
--HG--
extra : rebase_source : d0a9a0cebb4e8a1a74c5a48e42fb952310798604
2017-09-15 17:38:58 +09:00
Mike Hommey
beb406f1a7 Bug 1401099 - Move hard_purge_arena to a method of arena_t. r=njn
--HG--
extra : rebase_source : af20d24ba0dd8ce6c9e42703688c1bca98594b4d
2017-09-15 17:34:53 +09:00
Mike Hommey
a980219f16 Bug 1401099 - Move arena_purge to a method of arena_t. r=njn
--HG--
extra : rebase_source : d48623ce7ea7be5489c89a575bc1409de34e834a
2017-09-15 17:32:21 +09:00
Mike Hommey
cb3efd88ef Bug 1401099 - Use Gecko style names for arena_t members. r=njn
--HG--
extra : rebase_source : cefcbc29323145557faed6c676867500c21c6ba4
2017-09-15 17:20:01 +09:00
Sebastian Hengst
117f151830 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Zibi Braniecki
3ca67e913e Bug 1347798 - Create a small per-document bindings for DOMLocalization. r=mossop
MozReview-Commit-ID: DfxIYVxyt9C

--HG--
extra : rebase_source : 8b7b31f268408dea46af6202c8943ff11a2c165e
2017-09-09 19:23:03 -07:00
Sebastian Hengst
6bba3e6d42 Backed out changeset e46cfa3b45ff (bug 1347798) because it will fail browser-chrome's browser_all_files_referenced.js. r=backout 2017-09-21 22:28:55 +02:00
Mike de Boer
f7dd6d2d6d Bug 1401383 - remove anchor state after transition even if the transition is canceled, and always set main view as current, r=Gijs
We weren't removing the 'open' attribute from the anchor if the transition didn't complete.
This patch fixes this by moving the addition of 'open' into _transitionViews, and its removal into
_cleanupTransitionPhase.

MozReview-Commit-ID: TS0CcwsHVN

--HG--
extra : rebase_source : 1bdace324f22ee95002024fe68b572a16dd25aac
2017-09-21 22:18:07 +02:00
Michael Kaply
9b7d4d878e Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 674a8e9e4e3e0769a58ed919f268678cb5af48c7
2017-09-07 19:38:55 -05:00
Tom Tromey
f993bb28d0 Bug 1401821 - nsTextFormatter "*" width argument comes before the actual argument; r=froydnj
Bug 1388789 introduced a bug breaking formats like "%*.f".  The problem
was that the next "natural" argument was taken before the "*" width
argument.

MozReview-Commit-ID: BZack9faY7a

--HG--
extra : rebase_source : a14485914ef9e29e38f29be6c1df1372ce5e722f
2017-09-21 09:43:28 -06:00
Dão Gottwald
1ba58bef05 Bug 1399647 - Stop scaling down the Go button's icon. r=daleharvey
MozReview-Commit-ID: JyICtB2Jmqu

--HG--
extra : rebase_source : 5fc4f7750848ec7d3ec4bd7829ba7ecb100b6ea8
2017-09-21 17:59:54 +02:00
sendilkumarn
27e6d68edf servo: Merge #18059 - Using OnceCell<T> from Mitochondria (from sendilkumarn:mito); r=nox
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13402  (github issue number if applicable).

<!-- 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: 5c797d194346d5be3c55da51d82bfcd1031a51f5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6936fce573771660b0e310ebccadd5c2fa542602
2017-09-21 13:20:29 -05:00
Tom Tromey
19c7bf1424 Bug 952127 - notify source map subscribers after pretty-printing; r=bgrins
Intercept the applySourceMap source map worker request, so that when a
source is pretty-printed, source map subscribers can be updated.

That this does not yet handle pretty-printing original sources.  This
isn't supported yet by the debugger, and since the plan is to handle it
by augmenting the existing source map, it should be easy to fix this
code when it is implemented.

The mochitest is included here for testing but I am going to land it
upstream as well.

MozReview-Commit-ID: 3Lp1ikO8IzZ

--HG--
extra : rebase_source : f2f02e9e963864567a9dbe3a7e050afcb5f4d3b6
2017-09-15 07:54:56 -06:00
Zibi Braniecki
f0b3f3cf16 Bug 1347798 - Create a small per-document bindings for DOMLocalization. r=mossop
MozReview-Commit-ID: DfxIYVxyt9C

--HG--
extra : rebase_source : 991b1603f3fc482ed385da0b68205566fa738c7b
2017-09-09 19:23:03 -07:00
Wes Kocher
4a0c680e2a Backed out changeset f1ae02c8d697 (bug 1347798) for eslint failures a=backout
MozReview-Commit-ID: FfrPYVOjyji
2017-09-21 12:07:00 -07:00
Christian Holler
5c886f1afd Bug 1395240 - Implement stackTest function for JS stack OOM testing. r=jandem
MozReview-Commit-ID: LRFb0adTFR8

--HG--
extra : rebase_source : f36fff24683195d4239b4ae29f3e0f0d8a0535c7
2017-09-20 14:19:21 +02:00
Ethan Lin
00d745a022 Bug 1401945 - Do not use the WebRenderUserData after it's removed. r=jrmuizel,kats
MozReview-Commit-ID: AL8tO0ZxVkF

--HG--
extra : rebase_source : afada5ee9d7b1b1f1dee649ad48db6c65d1e65c2
2017-09-21 23:15:55 +08:00