Commit Graph

576786 Commits

Author SHA1 Message Date
Masayuki Nakano
c1ed5bb499 Bug 1422230 - part 3: TSFTextStore should store composition string information until both TSF/TIP and our content finish handling composition r=m_kato
If remote process hasn't handled dispatched commit event yet, TSFTextStore
needs to dispatch query content event relative to latest composition string
information.  So, TSFTextStore::mContentForTSF should cache composition start
and composition string length until pending composition events are handled
by content actually.

MozReview-Commit-ID: ARM851nNZGz

--HG--
extra : rebase_source : d4f1ddb197d3168f2db52849b2982779c388e2e8
2018-01-12 15:23:43 +09:00
Masayuki Nakano
6e70ab6b93 Bug 1422230 - part 2: ContentCacheInParent should allow to query content relative to composition string even after sending eCompositionCommit(AsIs) event but not yet handled in the remote process r=m_kato
Currently, ContentCacheInParent uses selection when it handles query content
event whose input offset is relative one after sending eCompositionCommit(AsIs)
event but it's not yet handled by the remote process.  However, in this case,
selection may not be modified with committed string.

So, when mPendingCommitCount is not 0, ContentCacheInParent should compute
absolute offset with the latest composition string information.  For doing
this, it needs to keep storing mCompositionStart until eCompositionCommit(AsIs)
is handled in the remote process actually.

MozReview-Commit-ID: 2Dc69HNIbvh

--HG--
extra : rebase_source : 4be432ad363022e4b3f2e3c82c8d229dc9af889d
2018-01-12 15:05:24 +09:00
Masayuki Nakano
0674b4fc1f Bug 1422230 - part 1: TextEventDispatcher should manage if dispatched composition events have been handled by remote content and TSFTextStore refer the state r=m_kato
When composition events are handled by content actually, widget receives
NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED notification.  If focused content
is in a remote process, this is notified only when all sending composition
events are handled in the remote process.  So, when widget receives the
notification can there is no composition in IME, that means that nobody is
composing composition at that time.

This patch adds TextEventDispatcher::IsHandlingComposition() which returns
false only when nobody has composition and makes TSFTextStore refer this
method because TSFTextStore needs to know if focused content has composition
in any cases.

MozReview-Commit-ID: F1ZZgFJAArD

--HG--
extra : rebase_source : 65e7f592e0ffd1c516e4dab16ab4ca8d7171f954
2018-01-12 11:31:53 +09:00
KuoE0
25856340db Bug 1428297 - (Part 3) Disable the assertion that don't allow to call ShowDropDown() in the content process when content-select is enabled. r=mats
To prevent the crash when content-select is enabled, I disable this
assertion that don't allow to call ShowDropDown() in the content
process.

MozReview-Commit-ID: F3BelChp1AK

--HG--
extra : rebase_source : 2bbec4dceffb7698804609010127b37442a907a7
2018-01-10 11:52:37 +08:00
KuoE0
4bd2b6bbf0 Bug 1428297 - (Part 2) Ignore the widget/view usage that is used to show the dropdown menu when content-select is enabled. r=mats
MozReview-Commit-ID: 68HYWmniXwt

--HG--
extra : rebase_source : 4163e1ca016c818acc24ff27121c7e54b45e0aa8
2018-01-08 11:43:51 +08:00
KuoE0
ddd7e128f7 Bug 1428297 - (Part 1) Add an nsLayoutUtils function to check whether content-select is enabled r=mats
MozReview-Commit-ID: KVQ25Dhl9xl

--HG--
extra : rebase_source : 3f3186a7c73ff59f46566a5636d66d0684e3f0f4
2018-01-11 10:37:41 +08:00
Alastor Wu
da01d053cd Bug 1428722 - part3 : add tests. r=smaug
MozReview-Commit-ID: 4WfADcQinuQ

--HG--
extra : rebase_source : 9c67c4ef9f5888426527fe9c000470e81a0f3ba8
2018-01-11 17:27:08 +08:00
Alastor Wu
cb52b8db63 Bug 1428722 - part2 : move all user-activation implementation details to nsDocument. r=smaug
In order to write tests, I would like to create an method that allows chorome js can directly set the user-activation flag.

Therefore, I need to move all these details into nsDocument, then we could easily simulate the user activation.

MozReview-Commit-ID: 5JrCoQc0vF7

--HG--
extra : rebase_source : 256ff2993ef754dc51409e7e444b868a3302bd65
2018-01-11 17:26:30 +08:00
Alastor Wu
acecd71925 Bug 1428722 - part1 : always activate the top level frame. r=smaug
For top level frame, it should also be activated when user activate its child frame.

eg. A (youtube.com) -> B (ad.com), when user activate B frame, the A frame would also be activated.

MozReview-Commit-ID: BP7eGKiqYJe

--HG--
extra : rebase_source : 8a07e2a46d70957989168a9ee677e5241fee61fe
2018-01-08 16:44:28 +08:00
Makoto Kato
12f318b242 Bug 1415416 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: 5Bbh5ifPSs7

--HG--
extra : rebase_source : 07cabbc6f2ed00018c4b6a3ce8eebe121cb7998f
2018-01-11 18:39:40 +09:00
Makoto Kato
81d105c639 Bug 1415416 - Part 1. Collapse selection on focus when value is empty. r=masayuki
After landing bug 1375910, input.value = "" doesn't remove inter text node.
When value is empty, SelectAllOrCollapseToEndOfText will set selection to
end of text.  But since empty text node is still exist, it select all nodes,
instead of collapsed.  So if text node is empty, we should collapse selection.

MozReview-Commit-ID: Gm0AP6YSJIg

--HG--
extra : rebase_source : fa7ecda9761f1e202b0a4600968c2e1151220fc3
2018-01-11 18:39:12 +09:00
Munro Mengjue Chiang
6da9bf9b27 Bug 1420585 - refine logs. r=jib
MozReview-Commit-ID: KJlFTQALAb4

--HG--
extra : rebase_source : c33ea991c82090741c28d4b8dba092c5e1d7b51c
2018-01-05 15:51:48 +08:00
Munro Mengjue Chiang
3c82ef78a0 Bug 1420585 - remove unnecessary stopCapture which causes deadlock. r=jib
MozReview-Commit-ID: F8xcOSPihDN

--HG--
extra : rebase_source : 057b77496aa86f9e7f3b4ccd858ec74e8c8453a8
2018-01-05 15:50:23 +08:00
Glenn Watson
9b5b59b43a servo: Merge #19768 - Update WR (overlap radii fix, subpixel AA in fast text shadows) (from glennw:update-wr-fixes1); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: eb1634b56b27c163a3721f7416c5ade5fa4878a6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c590555734f612679aadf7ca51b6ec78c4ea7ba2
2018-01-14 20:00:59 -06:00
DimiL
0bea28a21f Bug 1422671 - Add telemetry for login reputation service. r=francois datareview?francois
MozReview-Commit-ID: LaWcGww6hJx

--HG--
extra : rebase_source : 50f741daec89f9d67d309eec218d1fd04ac140f3
2018-01-11 15:24:32 +08:00
Makoto Kato
8b76ad494e Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj
After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES.  So it is
unnecessary to check LC_MESSAGES.

MozReview-Commit-ID: IPgl3rQ2qrd

--HG--
extra : rebase_source : 542ada2cf9ac2775855bba29f39044b55fa93f20
2018-01-12 15:51:57 +09:00
Jim Chen
3757544495 Bug 1426244 - 5. Add geckoview-docs job; r=nalexander
Add a geckoview-docs job that executes "./mach android geckoview-docs",
which takes care of calling gradle to generate the javadoc archive, and
uploading it to Github using given parameters.

MozReview-Commit-ID: DTWh4XdFZEO

--HG--
extra : rebase_source : 9d75be24cb553b3a773d3d34a2bdbdf4d4c8cd34
2018-01-13 17:41:09 -05:00
Jim Chen
0fe980975c Bug 1426244 - 4. Add mach android geckoview-docs command; r=nalexander
Add a './mach android geckoview-docs' command that generates javadoc for
GeckoView using Gradle. Specifying the '--archive' option will generate
a geckoview-javadoc.jar archive. Specifying the '--upload' option,
intended primarily for Taskcluster, will upload the javadoc to Github
pages under the given user/repository.

MozReview-Commit-ID: HfwXlf8aFhw

--HG--
extra : rebase_source : 25ccbf3380ba2c8f391c48c882256f970be92c9f
2018-01-13 17:41:09 -05:00
Jim Chen
5f1d1d00db Bug 1426244 - 2. Fix javadoc comments; r=droeh,nalexander
Add some missing lines and fix some mistakes in our javadoc comments.

MozReview-Commit-ID: 9Q7qWJJ51Vo

--HG--
extra : rebase_source : afc70812b26de19e610412df014070b75c46017b
2018-01-13 17:41:08 -05:00
Jim Chen
d72cb2053e Bug 1426244 - 1. Fix some errors from javadoc generation; r=nalexander
Tweak the javadoc task arguments to not generate errors for a standard
GeckoView javadoc run.

MozReview-Commit-ID: 931xCtUcX6N

--HG--
extra : rebase_source : 51e13cd4ec4a0ad9ec91e3bf2b52768aa6ba5e16
2018-01-13 17:41:08 -05:00
Jon Leighton
be8afec803 servo: Merge #19766 - Move image-orientation property outside of mako (from jonleighton:issue-19765); r=emilio
Fixes https://github.com/servo/servo/issues/19765

r? emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: ec34023d7a1ba5d7cc882fbb66b880960ce79c43

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed8a3717f74ff576a51720cdd025561675963a86
2018-01-14 16:55:15 -06:00
Narcis Beleuzu
fb950960de Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-15 00:20:33 +02:00
Narcis Beleuzu
ff469bb84f Merge autoland to mozilla-central. a=merge 2018-01-15 00:15:51 +02:00
ffxbld
4579f798bf No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-01-14 11:03:43 -08:00
ffxbld
6f34584a20 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-01-14 11:03:40 -08:00
Noemi Erli
47d65eb2a5 Backed out changeset e8ae7190dd15 (bug 1430109) for Wr failures in /builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py on a CLOSED TREE 2018-01-14 18:28:42 +02:00
CYBAI
ca2729f9fa servo: Merge #19709 - style: Remove -servo-display-for-hypothetical-box from longhand (from CYBAI:servo-display-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

For the `fn set_original_display` inside `properties.mako.rs`, I removed `is_item_or_root` first to see how the tests result is. If it's needed, I'll add it back.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19697
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b46e2e7597e90a41c6bfb3bd7008bdd922c93c6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd06f9afbcc05acfe20eb48096e421d7dd5b3c2e
2018-01-14 08:27:14 -06:00
Andreas Tolfsen
cdce146d2e Bug 1430109 - Combine assert.window and assert.contentBrowser. r=maja_zf
The forthcoming window tracking refactoring introduces the new
abstractions ContentContext and ChromeContext that to a large extent
share the same interface.  They make it possible to interact with
both types of browsing context in a uniform manner.

Marionette currently has a lot of convoluted if-conditions to
paper over the differences between ChromeWindow, <xul:browser>,
and browser.Context.  Examples of this includes the assert.window
and assert.contentBrowser assertions: they essentially perform the
same job, but does not share the same API because the underlying
APIs they call are different.

In an effort to prepare Marionette for the window tracking refactoring,
this patch adds a bit of glue to combine them both into one assertion
called assert.open.  This checks that the browsing context has not
been discarded.

MozReview-Commit-ID: K5e7Sr1mq0

--HG--
extra : rebase_source : dcdb730515760da28acb6c8384ff45c202e0da08
2018-01-12 14:25:30 +00:00
Adrian Wielgosik
3c2cc07d2d Bug 1379891 - remove nsPIEditorTransaction interface, GetTxnDescription methods. r=m_kato,masayuki
MozReview-Commit-ID: 4NLeMrrqIv5
2018-01-14 16:01:41 +01:00
Dão Gottwald
cc32283cef Bug 1429929 - Remove tabbrowser-close-tab-button binding. r=Gijs
MozReview-Commit-ID: 3bIccSfVMuJ

--HG--
extra : rebase_source : ac26550607713effeb9b72a39986d4f2d3b95bf2
2018-01-14 13:12:05 +01:00
Simon Sapin
0ec8be6cd9 servo: Merge #19764 - Upgrade to rustc 1.25.0-nightly (e6072a7b3 2018-01-13) (from servo:rustup); r=SimonSapin
CC #19762

Source-Repo: https://github.com/servo/servo
Source-Revision: 73cb6d415e026cb06f0dc2df1f9f4c803cdf6020

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 22dcbf8c8ba2734363bcbc41f293b3b13570dd96
2018-01-14 03:10:13 -06:00
Mike Hommey
59ba584f2d Bug 1430005 - Refactor spidermonkey tc configurations. r=dustin
With the use of job-defaults, we can avoid a lot of repetition from
those definitions.

--HG--
extra : rebase_source : 932c2ed530aa8aec9a33da60cf652535fa0bd303
2018-01-12 16:40:29 +09:00
Mike Hommey
e44def0a59 Bug 1430005 - For mozharness jobs, rely on the default being set by the mozharness transform. r=dustin
The mozharness transform is supposed to set the docker image to
desktop-build when not already set, but was not doing it properly.

I guess this is why some jobs were setting the image themselves, despite
using the mozharness transform.

Consequently, don't manually set the image to desktop-build when it's
the default.

--HG--
extra : rebase_source : 024bd10960bedaee3416785348a5c12498c5286f
2018-01-12 16:01:38 +09:00
Steve Pfister
137f1b2f43 Bug 1374811: Added title tag and changed the title of the page to URL Classifier Information; r=dimi,flod
MozReview-Commit-ID: 1DDAHi5cWRe

--HG--
extra : rebase_source : 0273128df7a9751f77e5d322aca84fe0ce777b56
2017-12-30 19:02:39 -05:00
Andreea Pavel
f0510bdee1 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-14 07:36:11 +02:00
Ed Lee
9712b719c4 Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5

--HG--
extra : rebase_source : 8229ec0f7934a2d36dae2a8c1f986b1b408e1786
2018-01-12 14:12:57 -08:00
Andreea Pavel
9116e9252d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-13 23:51:25 +02:00
Andreea Pavel
e32752514d Merge mozilla-inbound to mozilla-central. a=merge 2018-01-13 23:49:24 +02:00
Andreea Pavel
7514909539 Merge autoland to mozilla-central. r=merge a=merge 2018-01-13 23:47:39 +02:00
Emilio Cobos Álvarez
2690891ba1 servo: Merge #19760 - style: Ruby style adjustments shouldn't reset mOriginalDisplay (from emilio:ruby-display-adjust); r=upsuper
This matches what Gecko does:

  https://searchfox.org/mozilla-central/rev/7476b71e0010ab3277b77cc0ae4d998c4b1d2b64/layout/style/GeckoStyleContext.cpp#992

And it's conceptually more right, since we ideally shouldn't mutate
mOriginalDisplay from StyleAdjuster.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b92eb932b34ce1a4b823b2571a50a928491b4b2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b4bf984062c0deb84afa0c2e00deadbb64253f6c
2018-01-13 13:16:06 -06:00
ffxbld
9781fa968b No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-01-13 11:04:33 -08:00
ffxbld
e2ae589f60 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-01-13 11:04:29 -08:00
EKR
ede3b33617 Bug 1430268 - Unconditionally enable compat mode. r=keeler
Summary: Needed for real TLS 1.3 deployment

Reviewers: mt

Differential Revision: https://phabricator.services.mozilla.com/D342
2018-01-13 10:18:53 -08:00
Bobby Holley
39aaa2d873 servo: Merge #19756 - Avoid entraining various Debug impls in release builds (from bholley:avoid_debug_impls_in_release); r=emilio
See https://bugzilla.mozilla.org/show_bug.cgi?id=1351737#c29

This patch saves more than 80k of code size.

Source-Repo: https://github.com/servo/servo
Source-Revision: 08fc9f190d7e1eaa11560b5924e243ba686c3d79

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5c71e5e84415f8934a4e72b75e357d1962f82def
2018-01-13 11:52:15 -06:00
Dorel Luca
ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Dorel Luca
cad7f53be6 Backed out changeset 113f1c4b9564 (bug 1411654) for android nightly bustages a=backout 2018-01-13 14:07:31 +02:00
Dorel Luca
afcfda9f8c Backed out changeset abb5be3dbdc7 (bug 1374811) for changing existing strings without new IDs a=backout 2018-01-13 13:55:13 +02:00
Coroiu Cristina
c6a942e1bf Merge inbound to mozilla-central r=merge a=merge 2018-01-13 11:55:23 +02:00
Aki Sasaki
b926a4ca04 bug 1328719 - task.extra.cron + task.payload.env.ACTION_TASK_GROUP_ID. r=bstack r=dustin 2018-01-12 22:17:39 -08:00
Kris Maglione
bb6c923a51 Bug 1323845: Follow-up: Fix more debug bustage in browserSettings normalization. r=bustage
MozReview-Commit-ID: 3UpDXtvOXey

--HG--
extra : rebase_source : 5588872b1388460eca64e9b80a110c2b0944de6d
2018-01-12 20:22:57 -08:00