Commit Graph

611502 Commits

Author SHA1 Message Date
Gijs Kruitbosch
a8e2b8e702 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-29 17:58:25 +00:00
arthur.iakab
a82f668e23 Merge mozilla-central to autoland 2018-08-30 01:12:47 +03:00
Sebastian Hengst
d71b063df9 Bug 1487031 - Disable Talos h1 and h2 jobs until geckodriver in generation task for heavy profile gets updated to 0.21.0. r=jmaher a=permafail-disabling
Reviewers: jmaher

Tags: #secure-revision

Bug #: 1487031

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

--HG--
extra : rebase_source : 468f7ca29d173b7321ff72f8d3989769e66d874f
extra : amend_source : af6524c523a3cbd81cf26310456d93f8c548e50b
2018-08-29 22:41:36 +03:00
arthur.iakab
32fbca3814 Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
arthur.iakab
4470331ea7 Merge autoland to mozilla-central a=merge 2018-08-30 00:52:22 +03:00
Petru Lingurar
7f35fc24a2 Bug 1486200 - Apply Photon theme for Date/Time pickers only on API >=23; r=jchen
Fix Lollipop crashes because of android.content.res.ColorStateList.addFirstIfMissing()
The default app theme will be applied for the material Date/Time pickers on
API 21 and API 22. After this, on API >=23 they will be Photon themed.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 20:00:53 +00:00
anthony
72017bd799 Pocket: Tag auto complete appears behind send to mobile section (Bug 1487157). r=thecount
In the Pocket dropdown, the Tag input field has an auto-complete. In the case
that the user is enrolled in a A/B experiment, a "Send to Phone" section will
be added to the panel. The tag auto-complete field, when active, appears
behind the experiment section.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 19:28:57 +00:00
Ehsan Akhgari
7d0e6b4dbe Bug 1487174 - Update a couple of preferences strings based on the latest copy; r=mconley,flod a=Aryx 2018-08-29 15:10:43 -04:00
Henrik Skupin
7bbf465896 Bug 1487124 - [marionette] Skip test_capture_vertical_bounds on Android. r=whimboo
--HG--
extra : rebase_source : 456889d44a7fa46f12a0c0bdf55787b9b9197ec4
2018-08-29 20:58:36 +02:00
Nathan Froyd
1e249c5e16 Bug 1486882 - make TestPoisonArea work with aarch64 windows; r=Waldo
We already have the AArch64 return instruction; we just need to check
for the Windows-specific preprocessor conditional.
2018-08-29 14:47:49 -04:00
Jared Wein
bac44c8022 Bug 1481473 - Hide the 'Duplicate Tab' menuitem when there is a selection of tabs. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D4549

--HG--
extra : moz-landing-system : lando
2018-08-29 18:07:30 +00:00
Imanol Fernandez
01d16686d3 Bug 1487115 - Fix navigator.Gamepads returns empty VR array after a page load when using gfxVRExternal r=qdot,kip
Differential Revision: https://phabricator.services.mozilla.com/D4570

--HG--
extra : moz-landing-system : lando
2018-08-29 19:10:55 +00:00
Cosmin Sabou
55bf096f3d Merge mozilla-inbound to mozilla-central. a=merge 2018-08-29 20:34:13 +03:00
Tom Ritter
53c32e8a26 Bug 1487126 Change uses of 3-argument wcstok to wcstok_s r=mhowell
the Mingw Clang build failed because a 3-argument form of wcstok could not
be found, despite it apparently being part of the C++ standard. Multiple
forms of header files were tried.

By comparison, wcstok_s is already used (e.g. widget/windows/WinUtils.cpp)
and does the correct thing. So change the functions over to that one.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 16:29:47 +00:00
Tom Ritter
d2d623e9f7 Bug 1487133 Move rpcrt4 out from behind the Maintenance Service if, as mingw disables that r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D4581

--HG--
extra : moz-landing-system : lando
2018-08-29 17:46:30 +00:00
Alex Gaynor
2ddbae2c62 Bug 1487148 - handle there not being an X display gracefully in IPC; r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D4577

--HG--
extra : moz-landing-system : lando
2018-08-29 17:30:53 +00:00
Gabriele Svelto
6bddc0a55e Bug 1486772 - Refactor the screen-orientation types and headers r=smaug
This patch removes the 'ScreenOrientationInternal' type from
dom/base/ScreenOrientation.h and moves it into the
HalScreenConfiguration.h header, renaming it simply to 'ScreenOrientation'
in the process. This has several knock-off effects:

- It allows files that needed ScreenOrientationInternal to include a much
  smaller header than before

- It greatly reduces the number of headers pulled in when including Hal.h

- It clarifies the role of the type. The 'Internal' part in the name had
  nothing to do with it being part of the implementation. The type was public
  and called that way only to avoid clashing with the 'ScreenOrientation'
  class. Since we moved it into a different namespace it can be renamed
  safely.

- It allows a file that was manually re-declaring 'ScreenConfigurationInternal'
  type to use the original one

- Finally this fixes a few files which were missing headers they actually
  required but that would still build because unified compilation put them into
  units that already had those headers thanks to ScreenConfiguration.h

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

--HG--
extra : moz-landing-system : lando
2018-08-29 20:54:56 +00:00
Daniel Holbert
ed94d8a8f4 Bug 1487168: Give ShouldShowFocusRingIfFocusedByMouse() an #ifndef guard to match its caller & to avoid -Wunused-function build warning. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D4583

--HG--
extra : moz-landing-system : lando
2018-08-29 18:01:12 +00:00
Daniel Holbert
1eca268c2e Bug 1487163: Remove unused function GetEGLTextureFormat(). r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D4582

--HG--
extra : moz-landing-system : lando
2018-08-29 19:49:15 +00:00
Johann Hofmann
ebb1072247 Bug 1484832 - Update DNT section for Content Blocking. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D4517

--HG--
extra : moz-landing-system : lando
2018-08-29 16:13:00 +00:00
Carl Corcoran
7da8e04c87 Bug 1467736: Add support for DllBlocklist_Shutdown;r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D4544

--HG--
extra : moz-landing-system : lando
2018-08-29 18:49:49 +00:00
Jared Wein
2c02e520a9 Bug 1468440 - Update close, unblock audio and mute/unmute button tooltips for multi-selected tabs. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D4390

--HG--
extra : moz-landing-system : lando
2018-08-29 18:44:35 +00:00
Dave Townsend
730ca3472e Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao
This adds a simple empty box that is displayed when we're still loading an icon
but are no longer showing the throbber. Ideally I'd like to keep showing the
throbber and maintain the busy state but that seems more risky for now.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 18:27:36 +00:00
Aaron Klotz
02d0c0e4f2 Bug 1486901: Part 3 - Ensure that all RunAsLauncherProcess tests run to ensure side effects; r=mhowell!
Differential Revision: https://phabricator.services.mozilla.com/D4585

--HG--
extra : moz-landing-system : lando
2018-08-29 18:16:33 +00:00
Cosmin Sabou
27822f2d77 Merge mozilla-central to autoland. a=merge 2018-08-29 21:04:28 +03:00
Andreea Pavel
d478281b2b Backed out changeset e0f0d5824dd8 (bug 1479918) for eslint failure on a CLOSED TREE 2018-08-29 16:12:24 +03:00
David Keeler
334fcdbe81 bug 1479918 - batch requests in getHSTSPreloadList.js to avoid livelock r=sfraser
Prior to this patch, getHSTSPreloadList.js would queue an XHR for every preload
list candidate site. This meant that there would be ~50,000 requests in flight
simultaneously. Simply processing these requests caused them to all time out,
and no useful work was done. This patch resolves them in batches of 250 to
avoid this issue.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 12:04:16 +00:00
Emilio Cobos Álvarez
5e221bd7d8 Bug 1487027 - Don't care about the placeholder overflow events. r=dao
Filed bug 1487036 for a fix that would avoid triggering events for the
placeholder when it's not showing, though realistically I'm not going to have
cycles to fix it.

Probably moving the <input> to Shadow DOM would allow such a solution, but it's
not clear we want to do that just yet at least.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 12:35:52 +00:00
Henrik Skupin
812d9b4dbf Bug 1486793 - [wdspec] Add basic tests for "Take Element Screenshot" command. r=ato
--HG--
extra : rebase_source : 72490b5de3d88e451d33b1304f9d29bb826fceed
2018-08-29 11:30:25 +02:00
Nicolas Chevobbe
6f0d1ac596 Bug 1484979 - Fix old-jsterm UI glitches; r=bgrins.
The completion node was wrongly positioned as soon as the input overflowed.
We fix this by setting the completionNode height in resizeInput,
like we do for the inputNode.

The inputNode takes the whole remaining vertical space
when starting the console. But when typing, the height
is computed and set according to what's in the input.
Which means the input wasn't taking the remaining space
anymore, which could be weird (e.g. if the user wants
to select some text by starting dragging below the actual
input, although the UI would indicate it is possible).

The autocompletionPopup was a bit off due to 2 things:
- in the function that was returning the chevronWidth, we
were subtracting the autocomplete popup padding. But the
autocomplete popup already handles that itself.
- in the function that was computing the character width,
we were using offsetWidth which returned a rounded value.
This means that the further the autocompletion was displayed
at, the more the popup would be off. We use getBoundingClientRect().width
instead which gives us a decimal value.

And we also make sure to not alter the scrolling position in the inputNode
when accepting an autocompletion result (a test is added).

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

--HG--
extra : moz-landing-system : lando
2018-08-29 05:41:52 +00:00
Julian Descottes
18e537a5ef Bug 1486798 - Do not connect/disconnect when selecting the same page again;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4455

--HG--
extra : moz-landing-system : lando
2018-08-29 12:27:34 +00:00
Nicolas Chevobbe
3885af5165 Bug 1486611 - Fix SearchBox styling; r=ntim.
In Bug 1478435 a selector was removed causing the background
of the SearchBox autocomplete to be transparent and without
box-shadow.
This patch add the needed rule in the CSS. We take this as an
opportunity to fix a small positioning issue by making sure
the element stick to the left.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 11:13:04 +00:00
Rob Wu
88ec13510d Bug 1465388 - Resume about:blank parser upon unblocking the document r=hsivonen
When `document.blockParsing()` is called, the nsIParser is suspended
until the document is unblocked. For about:blank documents, this is a
nsParser.

When a document is unblocked, nsParser::ContinueInterruptedParsingAsync
is invoked, which delegates its implementation to nsIContentSink, which
is a nsHTMLContentSink for about:blank documents. Due to a missing
implementation of nsHTMLContentSink::ContinueInterruptedParsingAsync,
the parser was never resumed, causing bug 1465388 and bug 1407501.

This patch fixes the problem, by implementing the required method (and
using a load blocker to ensure that the (about:blank) document does not
finish before the parser finishes).

This patch is tested through extension tests: Currently document_start
stylesheets always activate the parser blocker, and document_start
scripts trigger the parser blocker when the script has not been
preloaded yet (e.g. at the first run).
Before this patch, the test failed due to the assertion failure as
reported in the linked bugs. After this patch, the tests pass.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 11:52:49 +00:00
Andreea Pavel
c68b2fe678 Backed out changeset 2f46b98d41d9 (bug 1486798) for eslint failure at builds/worker/checkouts/gecko/devtools/client/aboutdebugging-new/src/reducers/ui-state.js on a CLOSED TREE 2018-08-29 14:59:34 +03:00
Arshad Kazmi
72a32c6aa4 Bug 1486313 makeURI replaced with Services.io.newURI r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4389

--HG--
extra : moz-landing-system : lando
2018-08-29 07:55:08 +00:00
Henrik Skupin
72e69dc39b Bug 1486793 - [wdspec] Add basic tests for "Take Screenshot" command. r=ato
--HG--
extra : rebase_source : 872cec7b27f02d912ffc5ddcec319e91d8cc9f4f
2018-08-28 19:13:59 +02:00
Henrik Skupin
236500c717 Bug 1486793 - [webdriver] Fix regression in "Take Element Screenshot" from conversion to Serde. r=ato
The command "Take Element Screenshot" expects the web element as
parameter, and not as part of the body.

--HG--
extra : rebase_source : 6ca78d005cae65273d0d6045ac60e80e993b55bd
2018-08-29 10:15:32 +02:00
Ehsan Akhgari
fe138d2357 Bug 1486944 - Part 2: Add tests to ensure that the reject foreign cookie behavior also depends on the browser.contentblocking.enabled pref; r=baku 2018-08-29 14:30:32 -04:00
Ehsan Akhgari
dc4baf01f3 Bug 1486944 - Part 1: Make the reject foreign cookie behavior also depend on the browser.contentblocking.enabled pref; r=baku 2018-08-29 14:30:32 -04:00
Ehsan Akhgari
4ad569ee63 Bug 1486926 - Part 5: Pass the URI being checked to IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor(); r=baku
Otherwise, this function will fail when the THIRD_PARTY_FORCE_ALLOW flag has
been set on the channel.
2018-08-29 14:26:22 -04:00
Ehsan Akhgari
113749631e Bug 1486926 - Part 4: Check the return value of IsThirdPartyChannel() in IsFirstPartyStorageAccessGrantedFor(); r=baku 2018-08-29 14:26:22 -04:00
Ehsan Akhgari
97e5dd3f33 Bug 1486926 - Part 3: Add tests to ensure that the reject foreign cookie behavior honours the Content Blocking allow list; r=baku 2018-08-29 14:26:22 -04:00
Ehsan Akhgari
fc318be743 Bug 1486926 - Part 2: Refactor the antitracking mini-testsuite to make it pass the full cookieBehavior everywhere instead of a boolean; r=baku 2018-08-29 14:26:22 -04:00
Ehsan Akhgari
d4ab894392 Bug 1486926 - Part 1: Make the Disable Protection button in the control centre UI work for the reject foreign cookie behavior; r=baku 2018-08-29 14:26:22 -04:00
Julian Descottes
658e327202 Bug 1486798 - Do not connect/disconnect when selecting the same page again;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4455

--HG--
extra : moz-landing-system : lando
2018-08-28 15:37:38 +00:00
Andi-Bogdan Postelnicu
64682f8e84 Bug 1486729 - [Static-Analysis][Clang-Tidy] As default, a checker should be publish by default. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D4436

--HG--
extra : moz-landing-system : lando
2018-08-29 10:10:54 +00:00
Benjamin Bouvier
3323938896 Bug 1486829: Make a proper enum class out of jit::FrameType; r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D4462

--HG--
extra : moz-landing-system : lando
2018-08-29 10:07:10 +00:00
Emilio Cobos Álvarez
899e1ccf63 Bug 1485668 - followup: Update manifest. r=me 2018-08-29 12:00:17 +02:00
Emilio Cobos Álvarez
88aaf93f4e Bug 1486957 - Don't use the textoverflow attribute decide whether to set the tooltip text. r=dao
That attribute is set async, _inOverflow should work equally well, and work if
there's a mousemove before the next promiseDocumentFlush callback runs.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 09:22:27 +00:00
Margareta Eliza Balazs
b45b01e82c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 12:47:56 +03:00