Commit Graph

628807 Commits

Author SHA1 Message Date
Alexandre Poirot
21e7072949 Bug 1513565 - Convert the last manually instantiated fronts to target.getFront. r=yulia
Depends on D14279

Differential Revision: https://phabricator.services.mozilla.com/D14280

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:59 +00:00
Alexandre Poirot
ac13c87f42 Bug 1513565 - Get rid of all target.form usages. r=yulia,nchevobbe
Depends on D14278

Differential Revision: https://phabricator.services.mozilla.com/D14279

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:57 +00:00
Alexandre Poirot
bd9855b903 Bug 1513565 - Always use Target's WebConsoleClient instead of trying to instantiate it manually. r=yulia,nchevobbe
This will help getting rid of another usage of Target.form.
And also helps instantiating only one WebConsole client.
Once WebConsole becomes a front, we can replace all the target.activeTab
to target.getFront("console").

Differential Revision: https://phabricator.services.mozilla.com/D14278

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:55 +00:00
Alexandre Poirot
690a921d87 Bug 1514819 - Convert RootFront.getWindow to return a front instead of a form. r=yulia
This method is only used by target-from-url, it allows to return
a target got one precise top level window and instead of the whole main process.

It looks like it was the very last non-front/still-form target codepath.

Differential Revision: https://phabricator.services.mozilla.com/D14841

--HG--
extra : moz-landing-system : lando
2018-12-18 08:54:01 +00:00
Andreas Farre
67ea30c7d4 Bug 1505838 - Add BrowsingContextGroup. r=peterv
Add top-level and auxiliary browsing contexts to a group of
BrowsingContexts on creation and store a pointer to that group in all
children of the BrowsingContexts in the group. With this it is
possible to compute the transitive closure of related browsing
contexts.

Since we'll not be using linked lists of BrowsingContexts for neither
groups nor children we can move children to be an array of
BrowsingContexts and adjust to use a the more convenient HashMap for
roots.

Differential Revision: https://phabricator.services.mozilla.com/D13227

--HG--
extra : moz-landing-system : lando
2018-12-17 10:45:37 +00:00
Florin Strugariu
4508b0fd5b Bug 1513373 Add Twitter to tp6 r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D14542

--HG--
extra : moz-landing-system : lando
2018-12-18 17:02:55 +00:00
Ting-Yu Lin
6cf6eb81f5 Bug 1515192 - Replace handcrafted FrameChildListIDs class with EnumSet. r=mats
The following APIs are changed.
1. Contains() needs to become contains(). (EnumSet's methods have lowercase names.)
2. Use list constructor rather than "|" like a plain enum.
3. Use operator+= instead of operator|=.

Differential Revision: https://phabricator.services.mozilla.com/D14908

--HG--
extra : moz-landing-system : lando
2018-12-19 00:50:09 +00:00
Bogdan Tara
3fea89ee22 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 06:53:54 +02:00
Bogdan Tara
91d742d138 Merge inbound to mozilla-central. a=merge 2018-12-19 06:50:57 +02:00
Bogdan Tara
953eb3d0f8 Merge autoland to mozilla-central. a=merge 2018-12-19 06:46:17 +02:00
Bogdan Tara
4df8525ba0 Backed out changeset e52ecfe8a7b1 (bug 1513429) for toolchain failure CLOSED TREE 2018-12-19 06:06:30 +02:00
Andrew Swan
1520f7332f Bug 1508777 Skip updates for LWTs with no updateURL r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14931

--HG--
extra : moz-landing-system : lando
2018-12-19 03:58:49 +00:00
Coroiu Cristina
ac74e72736 Backed out changeset dcd8195681d7 (bug 1513542) for browser-chrome failures at build/src/xpcom/base/nsTraceRefcnt.cpp 2018-12-19 05:36:59 +02:00
WR Updater Bot
107d291d65 Bug 1515244 - Update webrender to commit 10cde544d9f7f83a31dbedf67db942f7845982d1 (WR PR #3435). r=kats
https://github.com/servo/webrender/pull/3435

Differential Revision: https://phabricator.services.mozilla.com/D14939

--HG--
extra : moz-landing-system : lando
2018-12-19 03:21:10 +00:00
WR Updater Bot
d26e940389 Bug 1515243 - Update webrender to commit 237346c5e38cf70749e86a7f402fd9f92b4b5226 (WR PR #3433). r=kats
https://github.com/servo/webrender/pull/3433

Differential Revision: https://phabricator.services.mozilla.com/D14938

--HG--
extra : moz-landing-system : lando
2018-12-19 03:19:18 +00:00
WR Updater Bot
7829b40662 Bug 1515242 - Update webrender to commit aa73c6a188d2885892b55903d126639f3d748c53 (WR PR #3432). r=kats
https://github.com/servo/webrender/pull/3432

Differential Revision: https://phabricator.services.mozilla.com/D14937

--HG--
extra : moz-landing-system : lando
2018-12-19 03:17:27 +00:00
Bogdan Tara
a5963704c0 Backed out changeset 134d6c86e984 (bug 1509442) for browser_webAudio_silentData.js failures CLOSED TREE 2018-12-19 03:03:42 +02:00
Coroiu Cristina
0e430197d3 Backed out changeset 7b8dad8341e4 (bug 1510225) for wpt failures at src/netwerk/protocol/http/nsHttpChannel.cpp 2018-12-19 02:23:36 +02:00
Gijs Kruitbosch
66556c1eac Bug 1515102 - remove support-files annotation for files that are no longer there or used, r=Standard8 a=Aryx
Differential Revision: https://phabricator.services.mozilla.com/D14873

--HG--
extra : source : f98b9ca9b29d2da3bf1bed1a37927bed21c4a278
2018-12-18 18:29:21 +00:00
Brindusan Cristian
df66fd18a1 Merge inbound to mozilla-central. a=merge 2018-12-18 19:34:11 +02:00
shindli
64b3a44ed2 Backed out 3 changesets (bug 1512428, bug 1513040) for causing raptor tp6-5 perma failures on Windows 7 opt/pgo
Backed out changeset bab13130b3f0 (bug 1513040)
Backed out changeset e69ec9477ef8 (bug 1513040)
Backed out changeset 5278b8d5dfe9 (bug 1512428)
2018-12-18 16:13:12 +02:00
Margareta Eliza Balazs
4d0c09ec59 Backed out changeset 3fcc7597cd8d (bug 1429198) for ES lint failure in builds/worker/checkouts/gecko/browser/components/payments/res/paymentRequest.js. CLOSED TREE
--HG--
extra : amend_source : cd939d4dce261184414b49626d0ca916ac6c8a99
2018-12-18 15:50:33 +02:00
Cristina Coroiu
3aeca11e88 Bug 1484442 - disable test_input_number_mouse_events.html on mac debug for frequent failures r=jmaher 2018-12-18 13:51:00 +02:00
Ted Campbell
457ff26c77 Bug 1502744 - Profiler should allow unsynced baseline addresses. r=jandem
The assert was overzealous and should just be removed. Other return
addresses reported by iterator are just sampled by stack and don't
indicate if stack is synced or not.

Also, fix up an out-of-date comment here.

Differential Revision: https://phabricator.services.mozilla.com/D14108

--HG--
extra : moz-landing-system : lando
2018-12-18 11:10:08 +00:00
shindli
1c998613b1 Backed out changeset 61de4550c887 (bug 1512416) for bustages in builds/worker/workspace/build/src/widget/gtk/mozcontainer.cpp:230:15 2018-12-18 15:53:38 +02:00
Alexandre Poirot
87bb1e2701 Bug 1513028 - Throw exception with stack and message when a module doesn't exists. r=jdescottes
loadSubScript throws a string, without any stack/location.
Consider all string exceptions as coming from loadSubScript and re-throw a real error
object, coming with the stack of the require call.
Also handle wrong require path with a more explicit error message.

Differential Revision: https://phabricator.services.mozilla.com/D14139

--HG--
extra : moz-landing-system : lando
2018-12-18 13:35:42 +00:00
Andrew Creskey
96ae71fa3f Bug 1514752 Define hero user timing before performance entry is created r=rwood
1-line fix to hero element timing: the performance entry would show up as 'undefined' in profiles because the variable was defined later.

Differential Revision: https://phabricator.services.mozilla.com/D14746

--HG--
extra : moz-landing-system : lando
2018-12-17 22:40:43 +00:00
Martin Stransky
4f8c2372b0 Bug 1512416 - [Wayland/OpenGL] Resize wl_elg_window when widget scale changes, r=jhorak"
Differential Revision: https://phabricator.services.mozilla.com/D14404

--HG--
extra : moz-landing-system : lando
2018-12-18 08:59:18 +00:00
shindli
3841c4f8cd Backed out 3 changesets (bug 1512655) for bustages in s/xpconnect/src/XPCComponents.cpp:2001 CLOSED TREE
Backed out changeset 2593c7d67f51 (bug 1512655)
Backed out changeset da21d7e91e19 (bug 1512655)
Backed out changeset ccb15a086148 (bug 1512655)
2018-12-18 14:55:53 +02:00
Masayuki Nakano
c8b0ce3150 Bug 1504963 - part 4: Make IMEHandler create native caret over our caret if it's necessary r=Jamie,m_kato
IMMHandler and TSFTextStore are good class to put native caret when they have
enough information.  However, for example, IMMHandler may not have its singleton
instance until first composition of IMM-IME starts.  Therefore, typically,
IMEHandler is a good class to put native caret without composition.

This patch adds IMEHandler::MaybeCreateNativeCaret(), and if it won't create
native caret because not yet received WM_GETOBJCT for OBJID_CARET, we should
fire window event for MSAA applications.  If there is new MSAA application
retrieves OBJID_CARET, we'll receive WM_GETOBJECT for OBJID_CARET
asynchronously.  Then, we should start to put native caret for such
applications.

Note that if we create native caret, some versions of ATOK refers the native
caret and the behavior becomes worse than usual.  Therefore, we need to
keep not using native caret as far as possible.

Differential Revision: https://phabricator.services.mozilla.com/D13962

--HG--
extra : moz-landing-system : lando
2018-12-18 08:38:23 +00:00
Masayuki Nakano
682a4d56d1 Bug 1504963 - part 3: Make TSFTextStore create native caret when it gets notified of content change r=Jamie,m_kato
If WM_GETOBJECT for OBJID_CARET is received but a11y module is not active,
IME module should create native caret over our caret because Windows will
handle the request with native caret automatically and we don't need to
enable a11y module only for it.

This patch makes IMEHandler store whether such message has been received and
makes TSFTextStore create native caret when composition, selection or layout
is changed because especially when there is composition, only TSFTextStore
knows correct position to put caret if there is composition or some dispatched
events have not been handled by content process yet.

Note that IMMHandler already does that since some legacy IMEs require native
caret to show its UI and we cannot check active IME strictly.  Therefore, this
patch does not touch IMMHandler.

Differential Revision: https://phabricator.services.mozilla.com/D13961

--HG--
extra : moz-landing-system : lando
2018-12-18 08:38:23 +00:00
Masayuki Nakano
55978ba309 Bug 1504963 - part 2: Make IMEHandler manage whether native caret is created by it r=m_kato
IMEHandler needs to create native caret later (when there is no composition).
Therefore, IMEHandler should manage whether it creates native caret or not
and IMMHandler and TSFTextStore should create/destroy native caret via
IMEHandler.

Note that this patch makes IMMHandler stops managing whether native caret
is created for plugin or not because native caret is created only one instance
and anyway IME handlers should stop managing native caret when they loses
focus.

Differential Revision: https://phabricator.services.mozilla.com/D13960

--HG--
extra : moz-landing-system : lando
2018-12-18 08:38:22 +00:00
Masayuki Nakano
fd2f9270a7 Bug 1504963 - part 1: Make IME modules not touch native caret if a11y module handles native caret r=Jamie,m_kato
If a11y module is active, it observers caret position and size, and when caret
position or size is changed, it creates/moves native caret to overlap with
our caret.

On the other hand, IME module also creates native caret if active IME requires
it.  Therefore, both of them conflicts each other.

This patch makes IME module stop touching native caret if a11y module is active.

Although, a11y module with Flush Player does not work well for IME.  Therefore,
this patch keeps the conflict between them as-is for now.

Differential Revision: https://phabricator.services.mozilla.com/D13959

--HG--
extra : moz-landing-system : lando
2018-12-18 10:40:50 +00:00
Diego Pino Garcia
9a04b4475e Bug 1429198 - Account for supportedNetworks in payment modifiers. r=MattN 2018-12-17 22:15:00 +02:00
Dão Gottwald
334555abe6 Bug 1514512 - Stop setting sizetopopup=pref on the urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14685

--HG--
extra : moz-landing-system : lando
2018-12-17 17:49:47 +00:00
Dão Gottwald
cefc261792 Bug 1514509 - Remove unused image, stack, deck include points from urlbar binding. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14684

--HG--
extra : moz-landing-system : lando
2018-12-17 18:19:48 +00:00
Dão Gottwald
75986fa000 Bug 1514505 - Remove unused urlbar-textbox-container. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14683

--HG--
extra : moz-landing-system : lando
2018-12-18 11:16:05 +00:00
Valentin Gosu
f9762144c9 Bug 1355207 - Wait for http server shutdown and disable test_host.js on OSX r=dragana
The test intermittently fails on OSX. For some reason start(PORT) doesn't always fail when PORT is in use, so we timeout because the handler is never called. I suspect it's because of how SO_REUSEADDR and SO_REUSEPORT are handled on sockets sever-side on OSX. Since httpd is used for unit tests, there is little risk in disabling the test on OSX.
The alternative is to check for a timeout, and in that case switch to another port - which is cumbersome, and not the purpose of the test.

Differential Revision: https://phabricator.services.mozilla.com/D14756

--HG--
extra : moz-landing-system : lando
2018-12-18 11:14:14 +00:00
Jan de Mooij
76238bc575 Bug 1512655 part 3 - Fix assertion in Cu.permitCPOWsInScope and ensure test globals that use it are in a separate compartment. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14780

--HG--
extra : moz-landing-system : lando
2018-12-18 00:31:08 +00:00
Jan de Mooij
a2a91d4831 Bug 1512655 part 2 - Assert Cu.setWantXrays is never called on system-principal scopes. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14695

--HG--
extra : moz-landing-system : lando
2018-12-17 20:38:59 +00:00
Jan de Mooij
111454f4a4 Bug 1512655 part 1 - Move forcePermissiveCOWs from CompartmentPrivate to RealmPrivate. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14694

--HG--
extra : moz-landing-system : lando
2018-12-17 20:38:11 +00:00
James Graham
42aff60af0 Bug 1514285 - Update mozleak version number to 0.2, r=ahal
Depends on D14586

Differential Revision: https://phabricator.services.mozilla.com/D14585

--HG--
extra : moz-landing-system : lando
2018-12-17 19:08:18 +00:00
James Graham
299fd88dd2 Bug 1514285 - Update mozlog version number to 3.10, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D14586

--HG--
extra : moz-landing-system : lando
2018-12-17 19:08:20 +00:00
Brindusan Cristian
228a150262 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-18 11:52:48 +02:00
Brindusan Cristian
13788edbab Merge inbound to mozilla-central. a=merge 2018-12-18 11:50:37 +02:00
Margareta Eliza Balazs
a5ee709df7 Backed out changeset 90db69624281 (bug 1495962) for reftest failures in reftests/position-sticky/nested-sticky-2.html DONTBUILD 2018-12-18 11:41:34 +02:00
Franziskus Kiefer
fcdcb9d6a7 Bug 1513839 - Make SSL_TIME_UNTIL_HANDSHAKE_FINISHED keyed by kea group r=keeler,jcj
This collects SSL_TIME_UNTIL_HANDSHAKE_FINISHED dependent on the key group used. This is nice to have in general and especially for the ecdhe-sidh thing.

Differential Revision: https://phabricator.services.mozilla.com/D13524

--HG--
extra : moz-landing-system : lando
2018-12-18 09:33:34 +00:00
Henri Sivonen
3c6115331f Bug 1513473 - Re-enable the Text Encoding menu telemetry probes on the release channel. datareview=chutten. r=janerik
* Make the probes available on the release channel.
* Migrate the probes to newer probe types.
* Rename the probes.
* Set email.
* Set expiry.

Differential Revision: https://phabricator.services.mozilla.com/D14237

--HG--
extra : moz-landing-system : lando
2018-12-18 09:06:55 +00:00
yulia
4b0a97499c Bug 1508660 - migrate getOrCreateHighlighterByType to inspectorFront; r=ochameau
Depends on D12439

Differential Revision: https://phabricator.services.mozilla.com/D12440

--HG--
extra : moz-landing-system : lando
2018-12-18 08:45:30 +00:00
yulia
edb57234af Bug 1508660 - make storage front and changes front async; r=ochameau
Depends on D13110

Differential Revision: https://phabricator.services.mozilla.com/D13336

--HG--
extra : moz-landing-system : lando
2018-12-18 08:33:11 +00:00