Commit Graph

608302 Commits

Author SHA1 Message Date
Marco Bonardo
40e5e32240 Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=adw
On window resize we should format the urlbar again, to ensure the host stays visible.
Also fixes bug 1192501, that requires the same resize handler.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 13:30:40 +00:00
Edouard Oger
0a3f522668 Bug 1480815 - Define fxa autoconfig pref by default. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D2727

--HG--
extra : moz-landing-system : lando
2018-08-07 01:44:35 +00:00
Dave Townsend
606d7bff5c Bug 1478823: Start loading the default favicon as soon as the head element is complete. r=mak
We have to potentially add the root favicon both after the head element completes and when the page finishes loading in the case that there was no head element.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 12:42:15 +00:00
Nicolas Chevobbe
ddc7aad4e0 Bug 1480709 - Fix autocomplete popup misplacement; r=Honza.
The JsTerm relies on the codeMirror "change" event to
display the autocomplete popup, and then queries the
DOM to get the cursor element which will serve as an
anchor to the autocomplete popup.
Unfortunately, the "change" event is fired by the editor
__before__ the end of an operation (i.e. the actual DOM
update). Which means that if we are fast enough to get
the autocomplete items from the server, the cursor element
was not changed in the dom, and the computation of the anchor
is erroneous.
We fix this by listening to the "changes" event, which
is fired after the actual DOM changes.
In order to do that, we pipe down the event from the code
mirror instance to the source editor.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 14:01:55 +00:00
Rob Wu
fe2be1dd11 Bug 1320462 - Support access keys in extension menus. r=mixedpuppy
MozReview-Commit-ID: GsLE3PwNeiC

--HG--
extra : rebase_source : d34b20a2e6ef81623564fd1774a034ab8af9063e
2018-08-06 16:58:21 +02:00
James Teh
46ba6df249 Bug 1480058 part 2: Add nsAccUtils::IsARIAMultiSelectable and make nsAccUtils::ISARIASelected const. r=surkov
We need to be able to call these methods from const methods, so they must take a const Accessible*.

MozReview-Commit-ID: CDsWZG1ik31

--HG--
extra : rebase_source : 4721669afcd9101cb017361bd8f87fb8a860664a
2018-08-02 16:27:18 +10:00
James Teh
6647aa6cc0 Bug 1480058 part 1: Expose states for aria-selected/aria-multiselectable on XUL tab/tabs. r=surkov
MozReview-Commit-ID: JeV5vBffQIq

--HG--
extra : rebase_source : 3e6979e1e1995e62951250937d0c28f1128dcbac
2018-08-02 16:25:09 +10:00
Nicolas Chevobbe
e3cf7e35dd Bug 1478252 - Enable client/shared/test/browser_outputparser.js in e10s; r=jdescottes.
The test was disabled for intermittent failure, but I did
not managed to make it fail with --verify.
There was a fixed needed in the test for the angle since
the property used there was deprecated.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 05:07:31 +00:00
Julian Descottes
d1f26ef91d Bug 1480789 - Add Connect page to new aboutdebugging;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D2724

--HG--
extra : moz-landing-system : lando
2018-08-07 04:56:56 +00:00
Julian Descottes
809d66a558 Bug 1480743 - Update styles in aboutdebugging-new to match other about:pages;r=daisuke
This duplicates some of the styles from other about:pages, reusing existing
variables when possible.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 04:47:56 +00:00
Jan-Ivar Bruaroey
f3ef96fcc0 Bug 1480306: Fix unused variable variable 'hasLineOfContext' in TokenStream.cpp. r=Waldo
MozReview-Commit-ID: EK1IAvCZFwv

--HG--
extra : rebase_source : 8ed430ca01927142f77814a81364c6645c3a2581
2018-08-01 22:46:17 -04:00
Kyle Machulis
04b50a312d Bug 1480607 - Remove nsCWebBrowser and nsCWebBrowserPersist; r=nika
It doesn't appear these IDL files have had interfaces in them since
before the Netscape import, and were mostly just hanging around
because they contained some IDs needed elsewhere. Move the IDs
somewhere more appropriate and remove files.

MozReview-Commit-ID: AINtTerqHu1

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

--HG--
extra : moz-landing-system : lando
2018-08-07 01:10:31 +00:00
Tiberius Oros
a6e0ebd8ef Backed out changeset 502893089232 (bug 1475571) for browser_preferences_usage.js on a CLOSED TREE 2018-08-07 04:46:22 +03:00
alwu
c9a517ec96 Bug 1480738 - part2 : add test. r=cpearce
MozReview-Commit-ID: 8GwifOpAQNf

--HG--
extra : rebase_source : 8f21f469894deb5ae815582dcb7c50625c7b50b8
2018-08-03 12:57:38 -07:00
alwu
7a58a577d5 Bug 1480738 - part1 : only allow top-level video document to autoplay. r=cpearce
Only allow top-level video document to autoplay in order to avoid autoplay from
video document which is in the iframe.

MozReview-Commit-ID: BbyjviK1BRK

--HG--
extra : rebase_source : f84421e27c6029dd3733f3c5a5d329b1755a0ee3
2018-08-03 11:28:30 -07:00
Kyle Machulis
37669b3f4a Bug 1473833 - Skip object loading when given unrecognized mime type; r=bzbarsky
At the moment, a tag that has document type capabilities will try to
load tag content with invalid MIME types as a document. This patch
will cause the load to fail silently instead.

This will cause failures in certain WPTs that expect plugins to be
present to fill in MIME type requirements, which we currently don't
have available on CI. These WPTs have been disabled for the moment.

MozReview-Commit-ID: 9JGR4LClE5x

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

--HG--
extra : moz-landing-system : lando
2018-08-07 00:53:58 +00:00
Kris Maglione
a5afd46968 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 0edbb87354918950e3e66577d0dde140ddc20c23
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Brindusan Cristian
181d4f159b Backed out 10 changesets (bug 1478815) for reftest failures on /reftests/layers/forced-bg-color-outside-visible-region.html. CLOSED TREE
Backed out changeset 7ae4c893867a (bug 1478815)
Backed out changeset b865a866fe5a (bug 1478815)
Backed out changeset 405ad3518218 (bug 1478815)
Backed out changeset 64cb50b227e0 (bug 1478815)
Backed out changeset 392a724d5acd (bug 1478815)
Backed out changeset 01110727f2e9 (bug 1478815)
Backed out changeset 56d967e03ee2 (bug 1478815)
Backed out changeset 082638a5c643 (bug 1478815)
Backed out changeset 3dc47f17fa44 (bug 1478815)
Backed out changeset 699c954992f8 (bug 1478815)

--HG--
rename : gfx/2d/BufferEdgePad.cpp => gfx/layers/BufferEdgePad.cpp
rename : gfx/2d/BufferEdgePad.h => gfx/layers/BufferEdgePad.h
rename : gfx/2d/BufferUnrotate.cpp => gfx/layers/BufferUnrotate.cpp
rename : gfx/2d/BufferUnrotate.h => gfx/layers/BufferUnrotate.h
2018-08-07 20:57:27 +03:00
Brindusan Cristian
8c70dfad01 Backed out changeset 5212e051d039 (bug 1479310) for bc failures on /browser/browser_onboarding_uitour.js.
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
2018-08-07 20:49:43 +03:00
Brindusan Cristian
90cfc55b47 Backed out changeset b1ad28f117cf (bug 1480610) for ESlint failure on /browser/extensions/fxmonitor/background.js:1:1. CLOSED TREE 2018-08-07 20:29:40 +03:00
Jean-Yves Avenard
fd112df994 Bug 1481176 - P5. Enable more media-capabilities wpt. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D2791
2018-08-07 19:21:59 +02:00
Jean-Yves Avenard
11e8a29e1f Bug 1481176 - P4. Make CanHandleMediaType usable off the main thread. r=bryce
This is done by ensuring that all methods is called are usable off the main thread and creating the required preference accessors.

Differential Revision: https://phabricator.services.mozilla.com/D2790
2018-08-07 19:21:59 +02:00
Jean-Yves Avenard
c2ba5d1b90 Bug 1481176 - P3. Remove nsIMIMEHeaderParam dependency in nsContentTypeParser. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D2863
2018-08-07 19:21:59 +02:00
Jean-Yves Avenard
e4e8c5f1a8 Bug 1481176 - P2. Move nsContentTypeParser to its own file. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D2800
2018-08-07 19:21:58 +02:00
Jean-Yves Avenard
35a7076534 Bug 1481176 - P1. Export GetParameterHTTP as static method. r=valentin,r=bzbarsky
nsContentTypeParser used internally a nsIMIMEHeaderParam reference, effectively limiting its use on the main thread, and as such restricting any methods handling mime type there too.

nsContentTypeParser only made use of a single method nsMIMEHeaderParamImpl::GetParameterHTTP, so we make that method static and export it via nsNetUtil.

Differential Revision: https://phabricator.services.mozilla.com/D2788
2018-08-07 19:21:58 +02:00
Andreas Tolfsen
7845f72f27 Bug 1473614 - Expose API docs for MessageManagerDestroyedPromise and Sleep. r=automatedtester 2018-08-07 18:06:30 +01:00
Andreas Tolfsen
11b3b40466 Bug 1473614 - Fix exported symbols in sync. r=automatedtester
The "exported" keyword is no longer needed.
2018-08-07 18:06:29 +01:00
Andreas Tolfsen
edf1ffefc1 Bug 1473614 - Add sync function Sleep for pausing async functions. r=automatedtester
This adds a new public API to the Marionette sync module that can
"pause" async functions for an arbitrary amount of hardcoded time.
This can be useful for debugging purposes.
2018-08-07 18:06:28 +01:00
Andreas Tolfsen
475e6da1d9 Bug 1473614 - Add type checks to PollPromise and TimedPromise. r=automatedtester
This patch introduces stricted type checks for the sync module's
PollPromise and TimedPromise.  This may seem excessive, but we have
had real and severe bugs in this area before.
2018-08-07 18:06:28 +01:00
Kris Maglione
91412a8686 Bug 1479309: Don't load shield-content-frame.js until needed. r=mythmon
MozReview-Commit-ID: 5usNkHYjifd

--HG--
rename : toolkit/components/normandy/content/shield-content-frame.js => toolkit/components/normandy/content/ShieldFrameListener.jsm
extra : source : 2d46e1fe31214d36d1e11218deb44423baee2c26
2018-07-29 12:29:45 -07:00
Kris Maglione
ddfce49435 Bug 1479312: Move WebNavigation and WebProgress child listeners to JSMs. r=felipe
MozReview-Commit-ID: B2b4QXge7S4

--HG--
rename : toolkit/content/browser-child.js => toolkit/modules/WebNavigationChild.jsm
rename : toolkit/content/browser-child.js => toolkit/modules/WebProgressChild.jsm
extra : source : d403426d1dcdd7b7cd5b51e62b7b71c5d69631a3
extra : intermediate-source : a68daa762119d5f2f67fdb2c29d2d70bf9ec89c8
2018-07-29 17:08:58 -07:00
Kris Maglione
d5418d7fd0 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7

--HG--
rename : dom/ipc/manifestMessages.js => dom/ipc/ManifestMessages.jsm
extra : source : f5d647fae9733c5a19f53539fc6702de2a7fbbab
2018-07-29 13:18:26 -07:00
Kris Maglione
bbe0065e6f Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o

--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Kris Maglione
5a93297232 Bug 1479235: Stop whitelisting SpecialPowers helper modules for content process startup. r=felipe
MozReview-Commit-ID: 3y3qTVsB3ly

--HG--
extra : source : 8f9c9580f68754c4617c7a8e674cf99cf917caac
2018-07-28 17:38:05 -07:00
Kris Maglione
725e4b5cf8 Bug 1479945: Part 5 - Remove the 'allowbootstrap' directive flag. r=froydnj
For all intents and purposes, this is now the same as the 'ischrome' flag.

MozReview-Commit-ID: 4z4SDs5M8zU

--HG--
extra : source : 2a5aa9de1fd9760a9245ecae815a6e02bb9eef42
2018-07-31 16:44:52 -07:00
Kris Maglione
f03c0288bf Bug 1479945: Part 4 - Remove unused isContract directive flag. r=froydnj
MozReview-Commit-ID: DLCiNb39gA8

--HG--
extra : source : 163276881d35942172fd18d8f2cd270fbab1de71
2018-07-31 16:38:49 -07:00
Kris Maglione
0ea583c3dd Bug 1479945: Part 3 - Remove the unused 'apponly' directive flag. r=froydnj
This is unused now that binary component support has been removed.

MozReview-Commit-ID: KHTsF4sSoZX

--HG--
extra : source : 20a1a11b4d0ba7010b36b952bb212f3c36e6aac3
2018-07-31 16:38:27 -07:00
Kris Maglione
1eef446312 Bug 1479945: Part 2 - Remove support for componentonly directive flag. r=froydnj
This serves no purpose now that legacy theme support has been removed.

MozReview-Commit-ID: BpLcQYfZtAZ

--HG--
extra : source : ca43bd11f43161f03d3e0dd6bd9b28d446bbe7e1
2018-07-31 16:33:08 -07:00
Kris Maglione
821801d125 Bug 1479945: Part 1 - Remove nominal support for binary-component directive. r=froydnj
MozReview-Commit-ID: LKF3A7EEY4J

--HG--
extra : source : 71700b368132dd0735d4b792d6dbc6e1365790d4
2018-07-31 16:31:31 -07:00
Kris Maglione
dfe5c95ca1 Bug 1479241: Don't eagerly load AboutPages.jsm in content processes. r=mythmon
MozReview-Commit-ID: 1ewRIxTVzJR

--HG--
rename : toolkit/components/normandy/content/shield-content-process.js => toolkit/components/normandy/shield-content-process.js
extra : source : f150e62dcbbdc14bec93db0705470a5d9e71737e
2018-07-31 14:13:03 -07:00
Kris Maglione
5ccef39c52 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
extra : intermediate-source : 915862a355e959c92c9ea7fb1cd7adbcf03bfb98
2018-07-29 14:38:44 -07:00
Nihanth Subramanya
d60e939f6a Bug 1480610 - Implement Firefox Monitor add-on stub. r=johannh 2018-08-02 16:41:47 +02:00
Thi Huynh
6b47da6dac Bug 1461262 - Re-factor KeyedHistogram::GetJSKeys and internal_JSKeyedHistogram_Clear to avoid both races and deadlocks. r=dexter 2018-07-31 19:46:58 +07:00
Geoff Brown
aff5a6af05 Bug 1460411 - Add taskcluster config support for Android x86 7.0 tests on packet.net in docker-worker; r=jmaher 2018-08-07 10:05:38 -06:00
Geoff Brown
24afcca748 Bug 1469720 - Add a 'mach test-info' subcommand to find long-running tasks; r=jmaher 2018-08-07 10:05:37 -06:00
Geoff Brown
8b4653a7b7 Bug 1480546 - Enhance logging for Android automation app wait; r=bc 2018-08-07 10:05:37 -06:00
arthur.iakab
a3f6453363 Merge mozilla-central to inbound 2018-08-07 18:49:13 +03:00
Ryan Hunt
d8c8b51305 Bug 1478815 part 10 - Don't submit PaintTask's if the DrawTargetCapture is empty. r=bas
This commit exposes a method on DrawTargetCapture to see if it has
captured any drawing commands. This allows us to not dispatch
paint tasks if they will do nothing.

Ideally these tasks would execute instantly on the PaintThread, and
we would never delay sending the layer transaction or block on the
next paint, but with thread starvation and context switches it's
best to just not send them.

MozReview-Commit-ID: 7ywkEDBw6EX

--HG--
extra : rebase_source : c8f628180a3d908c8851e5c576296f903b9b255d
2018-07-31 17:47:51 -05:00
Ryan Hunt
8b6aa26413 Bug 1478815 part 9 - Add ability to create a DrawTargetCapture that can flush to its destination draw target. r=bas
This commit adds the ability to create a different kind of DrawTargetCapture which
has a limit on the size of which its CaptureCommandList can grow before it is
synchronously flushed to its destination DrawTarget.

Special care is taken to not do a sync flush until we would need to resize
the backing store of the CaptureCommandList. This allows us to not waste
memory we've already allocated.

The async painting content clients are updated to use it, and get a default
value from a new preference.

MozReview-Commit-ID: CJL7ffvaRzR

--HG--
extra : rebase_source : 546d9838808320c51d9ceef0ed0ffcbb88a16269
2018-07-26 16:33:07 -05:00
Morgan Rae Reschenberg
20f759a6e0 Bug 1478550 - Adjust IsInnerTableStyle to fail for table captions. r=dholbert
MozReview-Commit-ID: 6CK1XEYWsTl

--HG--
extra : rebase_source : d5f753d0127c482021577fe0f48c67a1361e0b53
2018-07-26 14:09:52 -07:00