Граф коммитов

608024 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 60337ebe0a Bug 1477860 - Add a test case for error object copy/paste; r=jdescottes.
A fix was made in Reps (see https://github.com/devtools-html/debugger.html/pull/6687)
in order to make error objects much more usable when copy/pasted.
Since node isn't the best to test copy/pasting behavior, we add a
test case in an existing mochitest for this.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 05:03:40 +00:00
Mantaroh Yoshinaga 218b183b24 Bug 1479756 - Clip the overlapped header tick label. r=daisuke
This patch will clip the overflowed tick label. In order to check the width,
this patch add the max-width into tick label element.

Furthermore, componentWillReceiveProps is deprecated from React 16.3.
So this patch will use componentDidUpdate instead of it.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 07:06:06 +00:00
Dimi Lee 5118e93be6 Bug 1479438 - Use correct resource url for chrome scope test_privatebrowsing_trackingprotection.html. r=francois
Differential Revision: https://phabricator.services.mozilla.com/D2512

--HG--
extra : moz-landing-system : lando
2018-08-06 10:11:37 +00:00
James Teh f5b9ed7f5b Bug 1480958: Don't treat the filter bar in the Web Console as live content for accessibility. r=nchevobbe
Because the console output area is marked as aria-live and the filter bar is inside this area, it inherits the aria-live attribute.
For screen reader users, this causes spurious speaking of typed characters when typing in the filter box.
Worse, it causes spurious speaking of numbers as the number of messages suppressed by various filters changes, resulting in an intolerable user experience.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 06:37:32 +00:00
Jeremy Lempereur 20a322176f Bug 1359030 - stop using xlink:href in browser/ and toolkit/, r=jaws
MozReview-Commit-ID: 84acXHxkgq

--HG--
extra : rebase_source : 6042d72c607100966138b0ff5b2c4d3394aa19de
2018-08-04 14:57:43 +02:00
Mark Banner d1a0b8a2f3 Bug 1479512 - Remove old quit fallback from talos' pageloader code. r=jmaher
MozReview-Commit-ID: 13XfF9v7sBq

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

--HG--
extra : moz-landing-system : lando
2018-08-06 13:01:23 +00:00
Dão Gottwald 5b4e355993 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C

--HG--
rename : browser/components/sessionstore/nsSessionStartup.js => browser/components/sessionstore/SessionStartup.jsm
extra : rebase_source : 5b4f5c2e45841a5ee9123386e8657d8c262ba416
2018-08-04 13:27:40 +02:00
Petru Lingurar 8dbf61da1e Bug 1474859 - Enable Multidex for all builds; r=nalexander
Multidex will now be enabled for all builds, not just for the _local_ ones.
Also added the 'ads-identifier' library needed for the builds with the
MOZ_INSTALL_TRACKING flag case in which the dex limit would be reached.

MozReview-Commit-ID: FRTXBD9Kc6T

--HG--
extra : rebase_source : c73a0a48d355edbe2080b14ceeb2f99609a45d7c
2018-08-06 18:38:48 +03:00
Petru Lingurar e2ef3d8035 Bug 1410218 - Fix NPE when cast fails; r=jchen
This happened whenever starting to cast a video and loading the media failed.
MediaStatus in this case would be null and querying it would throw a
NullPointerException.
Avoiding this query when the MediaStatus is null lets the normal execution flow
continue and if loading media failed casting will fail gracefully.

MozReview-Commit-ID: 8ZOqr1FO1Dt

--HG--
extra : rebase_source : 905b7e83bc7265fe8312509dfc5aa6274dd89c5c
2018-08-03 13:26:55 +03:00
Thomas Wisniewski 2e507aec05 Bug 1453301 - Stop supporting about:blank in fetch to match the spec. r=baku
MozReview-Commit-ID: DMku5SAunfo

--HG--
extra : rebase_source : d9cf72be144b41cd5d8c6dbe4042a6e835c12ef3
2018-08-03 21:52:36 -04:00
James Teh 5a83999558 Bug 1480058 part 3: Support accessible selection retrieval methods for XUL tabs with aria-multiselectable. r=surkov
The XULSelectControlAccessible selection methods don't handle ARIA selection.
Therefore, if aria-multiselectable is set, use the base implementation of the selection retrieval methods.
We don't bother overriding the selection setting methods because implementations (e.g. browser tabs) don't support setting of aria-selected by the a11y engine and we still want to be able to set the primary selected item according to XUL.
Being able to retrieve multiple selection programmatically is far more important than being able to set it.

MozReview-Commit-ID: CmVp9KyieMY

--HG--
extra : rebase_source : e3fa93aad4726b322956babb5422dceebfa0fbb2
2018-08-03 13:31:43 +10:00
Thomas Wisniewski a0847cc720 Bug 1362354 - Handle XHRs with aborted bindings as aborted rather than network errors. r=baku
MozReview-Commit-ID: 86e00dRe6qc

--HG--
extra : rebase_source : 992523d5ca534923b4e1b38c7e5e0351dcf322eb
2018-08-02 19:07:07 -07:00
Jared Wein 559a6cb6d4 Bug 1476348 - Show missing field validation errors on the summary page. r=MattN
MozReview-Commit-ID: 5dOzxWH0pWp

--HG--
extra : rebase_source : 1de025d22f01c5b293355b0fe0732543769bf761
2018-08-03 18:51:31 -04:00
Yaron Tausky 1a485b81c7 Bug 1264182: Hide URL.createObjectURL from ServiceWorker r=mrbkap,asuth
The appropriate lifetime for URLs created with URL.createObjectURL turned
out to be tricky to define, so it was decided to hide it from service
workers altogether. (https://github.com/slightlyoff/ServiceWorker/issues/688)

This commit implements this change and adds a web platform test to verify it.
It also exposes the MediaSource variant of URL.createObjectURL in DedicatedWorker
and SharedWorker contexts in order to comply with the WebIDL spec (see
https://github.com/w3c/media-source/issues/168#issuecomment-410269436).

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

--HG--
extra : moz-landing-system : lando
2018-08-07 11:48:51 +00:00
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