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

633792 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 21c3b16892 Bug 1523851 - Remove AC_PROG_GCC_TRADITIONAL test. r=froydnj
While not related, it turns out this test was opted in by ourselves,
while it's practically useless. Recent autoconf documentation says it's
obsolescent, and even autoconf 2.13 documentation said with "recent
versions of the GNU C compiler", the issue it's detecting "is becoming
a less prevalent problem". Recent as of 20 years ago.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 14:39:01 +00:00
Oana Pop Rus 707db23fae Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-31 12:00:53 +02:00
Narcis Beleuzu 8707bfb5f2 Backed out changeset 25ca68e7836e (bug 1523882) for wrench bustages on boxshadow-spread-only-ref.png. CLOSED TREE 2019-01-31 11:49:12 +02:00
Glenn Watson 8844b8b1c8 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 09:02:41 +00:00
Narcis Beleuzu 5555771b75 Backed out changeset 869fbaef1042 (bug 1524117) for wrench bustages on canvas.yaml. CLOSED TREE 2019-01-31 10:22:54 +02:00
sotaro f9b03cbc21 Bug 1462885 - Fix iteration in ImageBridgeParent::NotifyImageComposites() r=mattwoodrow
Iteration becomes wrong when ImageBridgeParent::GetInstance() fails in NotifyImageComposites().

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:57:41 +00:00
Matt Woodrow 681aa6716a Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-31 07:17:45 +00:00
Matt Woodrow 61569917d1 Bug 1524117 - Skip mix-blend mode operators in WebRender if we're sure they won't have any effect. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D18157

--HG--
extra : moz-landing-system : lando
2019-01-31 06:59:07 +00:00
Oriol Brufau 8f1a936f96 Bug 1521346 - Preserve lazyness when moving tabs into a new window. r=jaws
TODO: the first lazy tab is not moved using gBrowser.adoptTab, so it's still unlazified.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 00:33:39 +00:00
Marco Zehe 97310d7a60 Bug 1523931 - Always create accessibles for div elements if they contain a br element, r=Jamie
After the fix for bug 646216, we no longer create divs with no text and only a br element for a line break. This breaks blank lines in contentEditables such as Gmail.

To fix, always create accessibles for divs if such a div contains a br element either as its first or last child.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:58:49 +00:00
Petru Lingurar 49da2e4c53 Bug 1521675 - Use a timeout before testing the tracking events; r=Ehsan
There can be a slight delay (in rapport with actually loading the page) until
the ContentBlockingEvent is received.
To account for this, we'll use an overly generous 500ms timeout before
actually checking if we have the right tracking status.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:40:21 +00:00
Benjamin Bouvier 1d77cf0e4d Bug 1523876: Replace uses of test-also-wasm-compiler by test-also in wasm tests; r=lth
--HG--
extra : rebase_source : b3db9e3815916c7d10d847f03625cfe79d492d5b
extra : amend_source : 91d0887c3c1743a8ad4049a9d8e458564291d3a0
2019-01-30 14:18:15 +01:00
Andrea Marchesini 506304e224 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini 5a909353eb Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Blake Kaplan 536c7ae38c Bug 1517406 - Remove leftover service workers automatically. r=asuth
Summary:

Currently, if a test fails to clean up a service worker, we report every test
that runs after it as having failed to clean up their service workers as well.
That fills up the logs and makes it harder to figure out what's going on. This
patch removes the left-over service workers automatically, reducing the log
output and pointing the finger more precisely to the failing test.

I believe this patch is correct because afterCleanup is responsible for
continuing the test run by calling a function (either
`parentRunner.testFinished` or `SimpleTest.showReport`). Therefore, we can
safely make it async and wait if we need to clean up after a poorly-written
test.

Reviewers: asuth

Reviewed By: asuth

Bug #: 1517406

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

--HG--
extra : rebase_source : 6ff8033ab2ea291a57ae717d03575feed5820899
2019-01-29 15:41:25 -05:00
Blake Kaplan 19781c9ae7 Bug 1517406 - Resolve a race between the controlled iframe and the SW. r=asuth
Summary:

This test first creates a service worker and then an iframe. It expects the
iframe's first load to be through the network (and for the page's script to
fail to load). Once the page is set up and controlled by the SW, it reloads it
(a soft reload) and the script load is intercepted by the service worker and
we load a script that calls back into the test. However, there is currently no
guarantee that the service worker won't activate before the iframe load and
end up controlling the first load of the iframe.

With this patch, we delay the service worker's activation until we start
loading the iframe, allowing the first load to always be uncontrolled, thereby
resolving the race.

Reviewers: asuth

Reviewed By: asuth

Bug #: 1517406

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

--HG--
extra : rebase_source : ff63b131b1a395289cda85ec4b46daa3022b08b4
2019-01-29 15:41:10 -05:00
Blake Kaplan 595db9a8ba Bug 1517406 - Enable most of these tests now that they pass. r=asuth
Summary:

Most of these tests pass now, so enable them and only disable the tests that
don't pass. This should make driving these tests to all passing easier to do
and prevent regressions.

Reviewers: asuth

Reviewed By: asuth

Bug #: 1517406

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

--HG--
extra : rebase_source : 252502cb5d8d43fd8a2e7b50a97ea4d64e2ef07d
2019-01-29 15:41:08 -05:00
Blake Kaplan d09e3b3e9a Bug 1517406 - Fix this test to listen in the proper process. r=asuth
Summary:

This test listens for an observer service notification from the
`ServiceWorkerManager`, but with parent-intercept on, it listens in the wrong
process. This uses the magic of SpecialPowers to listen in the correct
process.

Unfortunately, this test still fails because it leaks.

Reviewers: asuth

Reviewed By: asuth

Bug #: 1517406

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

--HG--
extra : rebase_source : 7aa62832c7c577275c8eaa5fd2146885e393fc6b
2019-01-29 15:41:06 -05:00
Blake Kaplan 3eed3c5f94 Bug 1517406 - Proxy these calls to the parent when required. r=asuth
Summary:

The push notifier needs to proxy its calls to the proper process in order to
notify service workers. With parent-intercept enabled, that means making sure
we notify in the parent and without it, that we notify in the content process.
Fortunately, we already have to do this proxying for the observer
notifications, so we can just piggyback on top of that code to make things
work for service workers.

Reviewers: asuth

Reviewed By: asuth

Bug #: 1517406

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

--HG--
extra : rebase_source : a29216f3a6638592a784e7e830fe9f7842cce7e9
2019-01-29 15:27:03 -05:00
Steve Fink 960ff86177 Bug 1442481 - Allocate strings in the nursery, r=flagflip 2019-01-31 08:22:03 -08:00
Kartikaya Gupta c136391d92 Bug 1517264 - Add a mechanism to regression-test the reftest parsing code. r=dbaron
This code has gotten tweaked a number of times over the years to support
new log formats, but there's always the risk that a tweak will break old
log formats. So this patch adds a small test function that can be run by
anybody making changes to ensure old logs still parse fine. A few
current log samples are tested thusly.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:18:04 +00:00
Andrea Marchesini e9ac7d9ef2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 5 - generalize content blocking notification, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17838
2019-01-28 16:44:38 +01:00
Andrea Marchesini bf8c0e40e2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 4 - abstract blocking state codes, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17639
2019-01-28 16:43:15 +01:00
Jeff Gilbert b03f03b25b Bug 1523030 - glClear after glBlitFramebuffer with mNeedsFakeNoAlpha. r=lsalzman
glBlitFramebuffer ignores glColorMask, unlike glClear, so we have to do
a fix-up.

Eventually we should drop mNeedsFakeNoAlpha, though.

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

--HG--
extra : moz-landing-system : lando
2019-01-26 00:55:57 +00:00
prathiksha cef7a8c742 Bug 1520968 - Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s. r=MattN
Make toolkit/components/passwordmgr/test/test_xml_load.html work with e10s

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

--HG--
rename : toolkit/components/passwordmgr/test/test_xml_load.html => toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
extra : moz-landing-system : lando
2019-01-30 23:53:44 +00:00
Sam Foster 0b892f60bb Bug 1173337 - Port private browsing tests to browser-chrome. r=MattN
* Added browser_private_window.js - which is a port of chrome/privbrowsing_perwindowpb.html
* Moved onload/form submit from the form documents to the test via ContentTask.spawn
* The test which verifies autofill doesnt work in private windows, but autocomplete does - is disabled for now and bug 1523777 filed to re-enable it.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 00:07:08 +00:00
Kartikaya Gupta c8c588bf80 Bug 1523776 - Don't set the parent link when creating a new clip chain. r=kvark
It turns out that setting the parent link on a clip chain is no longer
needed (and probably hasn't been since WR started applying a stacking
context's clip to the SC's contents). In fact it can produce incorrect
behaviour in some cases, because it doesn't match the semantics of
Gecko's clip chains. This removes the parent link on the Gecko side and
adds a test for this scenario.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:38 +00:00
Kartikaya Gupta 27fb6fa044 Bug 1523776 - Set a clipchain on sticky contents. r=kvark
The API to create a sticky spatial node doesn't allow us to set a clip
chain that will apply to all the contents of the sticky node. This means
that when the ClipManager sets up the clip state for the sticky node,
the clip chain for it is dropped. Everything still works currently
because the contents of the sticky node have their own clip chains whose
parent link will include the sticky node's clip chain. However, in the
next patch we're going to sever that parent link to fix other issues,
and so we will break this mechanism. This patch fixes it up by
explicitly applying the sticky node's clip chain to the stacking context
that contains all the sticky contents. This ensures all those items pick
up the clip chain.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:34 +00:00
Robert Strong 7724e7c087 Bug 1279108 - Remove code that disables asan leak detection in app update xpcshell tests. r=mhowell
The leaks were fixed in Bug 1168010

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

--HG--
extra : moz-landing-system : lando
2019-01-31 00:06:58 +00:00
Mike Hommey 80ff55b932 Bug 1524059 - Fix Windows artifact builds on try after bugs 1523145 and 1523201. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D18152

--HG--
extra : moz-landing-system : lando
2019-01-30 23:53:26 +00:00
Chris Peterson 63ac28a54c Bug 1481097 - vixl: Remove vixl assembler workaround for gcc 4.8.2 bug. r=sstangl
This gcc 4.8.2 workaround (from bug 1219050) is no longer needed because Firefox currently requires gcc 6.1 or later (as of bug 1444274).

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

--HG--
extra : moz-landing-system : lando
2019-01-30 22:42:01 +00:00
Michael Kaply 20568277cc Bug 1523810 - Add a policy for disabling captive portal support. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D18007

--HG--
extra : moz-landing-system : lando
2019-01-30 23:04:59 +00:00
Robert Strong 12805e6a76 Bug 1168010 - Fix leaks in updater.cpp and nsUpdateDriver.cpp. r=spohl
Fixes leak where the return value of GetManifestContents in updater.cpp is not freed
Fixes leak where the return value of get_quoted_path in updater.cpp is not freed
Fixes leak in nsUpdateDriver.cpp ApplyUpdate
With these leaks fixed the UI tests that stage updates can run on Linux asan

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

--HG--
extra : moz-landing-system : lando
2019-01-30 22:39:35 +00:00
Alex Gaynor ab9183b396 Bug 1513687 - remove chromium's random code from IPC in favor of our own; r=froydnj
This includes deleting several unused functions. Our own code does a better job
of using the preferred platform APIs for random numbers.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:37:11 +00:00
Andrew McCreight 0f605627fd Bug 1523013 - Clear SamplesWaitingForKey::mProxy in Shutdown(). r=cpearce
There's a strong cycle of references between SamplesWaitingForKey and
CDMProxy that does not get cleared unless keys actually come in. This
causes a leak. One way to avoid that leak is to clear the proxy
reference when the things holding the SamplesWaitingForKey is shut
down.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 22:56:21 +00:00
Mike Hommey bf0e86a9dc Bug 1523540 - Remove WIN64_LIB and WIN64_LINK. r=ted
Now that everything is lined up nicely, we don't need those anymore.

We can fill cargo-linker.bat with HOST_LINKER and HOST_LINKER_LIBPATHS,
which, unfortunately, can't be used as is, so we add a variant for
substitution in .bat files.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:46:39 +00:00
Eric Rahm 2893cf92d0 Bug 1515827 - Remove verbose warning about principals without URIs. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18012

--HG--
extra : moz-landing-system : lando
2019-01-30 15:26:52 +00:00
Mike Hommey e47fd6d97d Bug 1523874 - Restore the use of sqlite memory hooks. r=mak
Bug 730495 broke them by moving the code to another directory without
moving the corresponding #define, but it also fixed why this was
disabled in some configurations so we can now just enable when
MOZ_MEMORY is defined (jemalloc used).

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

--HG--
extra : moz-landing-system : lando
2019-01-30 13:00:21 +00:00
Dave Townsend 4c20bd5f4e Bug 1520530: Remove the usage of deprecated OSX APIs in nsCommandLineService. r=spohl
The addition of the Carbon.h include to CreateAppData.cpp is to ensure that
The OSX API headers are used before conflicting symbols are declared in the
mozilla namespace.

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

--HG--
rename : toolkit/xre/nsCommandLineServiceMac.cpp => toolkit/xre/nsCommandLineServiceMac.mm
extra : moz-landing-system : lando
2019-01-30 22:28:56 +00:00
Daniel Varga 26142ed106 Backed out changeset e245d8fe0c6d (bug 1494408) for reftest failure at builds/worker/workspace/build/tests/reftest/tests/layout/reftests/invalidation on a CLOSED TREE
--HG--
extra : amend_source : e40d36a925b0a75570a900dca671f8ff68d273cc
2019-01-31 00:30:33 +02:00
Daniel Varga 07e1eb0f18 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-31 00:02:55 +02:00
Daniel Varga 007e1e4a2f Merge mozilla-inbound to mozilla-central. a=merge 2019-01-30 23:54:54 +02:00
Dorel Luca 0c79fe5093 Backed out changeset c8642479cf6f (bug 1520968) for Mochitest failures in toolkit/components/passwordmgr/test/test_xml_load.html
--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_xml_load.html => toolkit/components/passwordmgr/test/test_xml_load.html
2019-01-30 23:33:23 +02:00
Eric Faust 32c3097562 Bug 1520274 - Allow serving BinAST scripts with nosniff. (r=baku, r=dveditz)
--HG--
extra : rebase_source : 0e0599b4501d7c2ba37dc127b8deaf94b5ab52c5
2019-01-30 10:50:47 -08:00
Ehsan Akhgari 86043f3192 Bug 1521053 - Ensure that the labels we use to display origin names in Trackers/Cookies subpanels are always LTR but their text alignment follows UI directionality; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D17876

--HG--
extra : moz-landing-system : lando
2019-01-30 18:22:07 +00:00
Emilio Cobos Álvarez a155f63750 Bug 1523712 - Make -moz-binding chrome / UA only. r=boris
But enable it in all tests because a lot of them rely on using it in the
style="" attribute for example, or in inline stylesheets, which will no longer
parse this (even in chrome documents), and we don't want to rewrite all the XUL
and XBL tests.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 20:55:54 +00:00
Matt Woodrow 9da66b0f20 Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-30 19:32:07 +00:00
Brian Hackett 3057b313f6 Bug 1520993 - Fix ESLint failures. 2019-01-30 07:47:41 -10:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Tom Prince dee8c2fbb2 Bug 1517177: Fix hash verification of downloaded toolchains; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15961

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:26 +00:00