Commit Graph

615247 Commits

Author SHA1 Message Date
Bogdan Tara
374dd2c7c2 Merge autoland to mozilla-central. a=merge 2018-09-22 00:58:22 +03:00
Ryan VanderMeulen
84601ca6bf Backed out changeset c173cb530f63 (bug 1490009) for violating invariants. 2018-09-21 15:08:40 -04:00
Brindusan Cristian
a60da103fe Backed out changeset ae99a39d6497 (bug 1493173) for bustage on static-analysis autotest. CLOSED TREE 2018-09-21 21:58:21 +03:00
Ehsan Akhgari
0a3b2c4634 Backout changeset c5b3caf36ddf (bug 1490297) for causing bug 1493081 and making Nightly unusable; a=Aryx 2018-09-21 13:59:25 -04:00
Brindusan Cristian
e48cea756e Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
2018-09-21 20:29:29 +03:00
Tom Ritter
b4e5b102e0 Bug 1492971 Bump mingw version to get fix for FILE_ID_128 struct r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6497

--HG--
extra : moz-landing-system : lando
2018-09-21 15:13:20 +00:00
Ehsan Akhgari
f8ef224ee2 Bug 1493057 - Make sure test_ext_privacy.js doesn't depend on the default value of the network.cookie.cookieBehavior preference r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D6456

--HG--
extra : moz-landing-system : lando
2018-09-21 15:12:10 +00:00
Ehsan Akhgari
2d5c5a77bb Bug 1492114 - Ensure that the Third-Party Cookies description doesn't wrap unnecessarily r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D6159

--HG--
extra : moz-landing-system : lando
2018-09-21 15:03:18 +00:00
Jeff Muizelaar
b1a30b1cb4 Bug 1492615. Improve logging even more r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6432

--HG--
extra : moz-landing-system : lando
2018-09-21 12:56:53 +00:00
Ehsan Akhgari
f8292a8435 Bug 1493173 - Remove the unneeded dependency from win64-st-autotest/debug r=dmajor
Not quite sure why this dependency ever existed.  These builds never use clang-tidy,
so this dependency was probably never needed in the first place.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:23:35 +00:00
Andrew McCreight
fee317ab0d Bug 1351501, part 2 - Preserve wrappers for non-nsISupports cycle collected weak map keys r=bzbarsky
A C++ object that is exposed to JS can have its reflector used as a
key in a weak map. Because a weak map does not keep its keys alive,
this means that the reflector can be discarded if it has no other
references aside from the C++ object, which will in turn remove its
weak map entry. If the C++ object can be accessed again later from JS,
it will get a new reflector which will have no weak map entry. This is
bad because it means some internal implementation detail has resulted
in data loss that is visible to JS. (Side note: this is also an issue
for cross compartment wrappers, which is handled by another
mechanism.)

To fix this, we can preserve the wrapper of any DOM reflector used as
a weak map key. This ensures that the reflector and its C++ object
have the same lifetime. If a WebIDL object is not wrapper cached, that
means that it cannot be accessed via C++, so we don't need to preserve
the wrapper. This is currently implemented for nsISupports classes,
but not other classes. For non-nsISupports classes, it would throw an
error rather than silently fail.

My patch adds support for non-nsISupports cycle collected objects. It
turns out that the existing addProperty hook just does wrapper
preservation, so we just call it for cycle collected classes. This
does mean that if addProperty changes in the future to do something
else, this code will need to be changed.

I verified that this test fails if TryPreserveWrapper is changed to do
nothing besides return true in the non-nsISuports case.

Depends on D6197

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:20:35 +00:00
Andrew McCreight
2abe1a8480 Bug 1351501, part 1 - Handlify TryPreserveWrapper r=bzbarsky
The patch in the next part will need a handle to the object in
TryPreserveWrapper.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:20:33 +00:00
Julian Descottes
f0fe1b2410 Bug 1490301 - Always use relative paths in new about:debugging;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6398

--HG--
extra : moz-landing-system : lando
2018-09-21 11:31:07 +00:00
Julian Descottes
672c02580e Bug 1489224 - Add mochitest to check runtimes section of aboudebugging sidebar;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6402

--HG--
extra : moz-landing-system : lando
2018-09-21 14:38:16 +00:00
Julian Descottes
151130d992 Bug 1489224 - Fix order of tests in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6403

--HG--
extra : moz-landing-system : lando
2018-09-21 12:31:16 +00:00
Andrew Halberstadt
2aba2689ec Bug 1448417 - [mozlint] Be explicit about which linters are used for functions in test_roller.py, r=rwood
This makes things more explicit. Previously we were relying on those magic
global "linters" variables, and it turned out that one of the tests was
actually linting a completely different set of linters than I was expecting.

This changes things so each test needs to explicitly define which linters it
wants to use.

Depends on D6410

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

--HG--
extra : moz-landing-system : lando
2018-09-20 20:45:04 +00:00
Andrew Halberstadt
a7af481576 Bug 1448417 - [mozlint] Rename test_filterpaths.py to test_pathutils.py, r=rwood
This makes this test match all the other tests (which are named after the module
they are testing).

Also rename the test function to 'test_filterpaths'.

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

--HG--
rename : python/mozlint/test/test_filterpaths.py => python/mozlint/test/test_pathutils.py
extra : moz-landing-system : lando
2018-09-20 20:27:45 +00:00
Sylvestre Ledru
667c77d059 Bug 1493142 - Use 7 final tag to build libcxx r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D6488

--HG--
extra : moz-landing-system : lando
2018-09-21 13:58:30 +00:00
Ben Hearsum
648d8a8775 bug 1490119: Build separate updater that always embeds dep certificates. r=ted,firefox-build-system-reviewers
This patch gets us building an updater binary that always embeds the dep certificates (instead of release or nightly), and builds a new tests package that includes it.

This was originally D5900, but that was backed out due to busting artifact builds. I've fixed that by removing the Makefile that Ted pointed out is unnecessary.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 10:07:27 +00:00
Emilio Cobos Álvarez
82b6699841 Bug 1386907 - Stop building the style system as a static library. r=froydnj
It's linked as part of gkrust, so this is just wasted work, and compiling it as
two different target just makes rustc do more and probably not so good work.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 12:37:33 +00:00
Christian Holler
406f76670f Bug 1492929 - Disable ChaosMode sleep delay on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6449

--HG--
extra : moz-landing-system : lando
2018-09-21 12:38:43 +00:00
Preeti Mukherjee
86d9e6106e Bug 1492419 - Remove BrowserGoHome in favor of BrowserHome; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6484

--HG--
extra : moz-landing-system : lando
2018-09-21 12:31:45 +00:00
Daisuke Akatsuka
edb0efe097 Bug 1405235 - Part 3: Remove extra extensions defining for test. r=jdescottes
Depends on D5648

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

--HG--
extra : moz-landing-system : lando
2018-09-21 12:17:26 +00:00
arthur.iakab
12be75264f Backed out changeset 5a566d2d6722 (bug 1490240)for build bustages on Unified_cpp_crashreporter0.obj CLOSED TREE 2018-09-21 15:25:15 +03:00
Gabriele Svelto
37759d8ccd Bug 1490240 - Fix the remaining compiler warnings in the crash reporter r=ted,glandium
Differential Revision: https://phabricator.services.mozilla.com/D5741

--HG--
extra : moz-landing-system : lando
2018-09-21 11:38:04 +00:00
Dave Hunt
e0f982a753 Bug 1492341 - Bump mozrunner version to 7.0.2; r=tcsc
TPS is currently depending on mozrunner v7.0.1, which depends on an earlier version of mozprofile. For TPS to be able to use the latest version of mozprofile we need to release a new version of mozrunner with the recent mozprofile version identifier update.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 16:33:56 +00:00
Ting-Yu Lin
1fdd6d2def Bug 1493043 - Change function arguments in RestyleManager from nsIFrame& to nsIFrame* r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D6452

--HG--
extra : moz-landing-system : lando
2018-09-21 17:45:49 +00:00
Brindusan Cristian
57067c9ef0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-21 20:31:41 +03:00
Botond Ballo
0719570507 Bug 1457603 - Downgrade the diagnostic assert in InputBlockState::SetConfirmedTargetApzc() to a regular assert. r=kats
As explained in the bug, it has been difficult ot find reliable STR for
the diagnostic assert, and it has been impacting the stability and usability
of Nightly builds.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 17:18:52 +00:00
Ryan Hunt
6278da4916 Bug 1486959 - Remove bogus assertion in ContentClient. r=nical
It's possible to trigger this assertion with asyncPaint = true and
bufferRotation != (0, 0). In this case though everything should work fine,
because we didn't start a new paint task, and we should be able to copy over
buffers. So we should be able to remove this assertion.

--HG--
extra : amend_source : d4cb9eddf48e08446469d2e1891f0e9ed3bb85d0
2018-09-20 10:54:19 -05:00
Geoff Brown
dcaf3b3e80 Bug 1492242 - Use mozdevice to access adb in mozharness AndroidMixin; r=bc 2018-09-21 08:09:20 -06:00
Geoff Brown
fe515f96ee Bug 1492553 - Allow reftests to start in geckoview TestRunnerActivity; r=aswan,jchen 2018-09-21 08:09:16 -06:00
Emilio Cobos Álvarez
f7c1f3b135 Bug 1470440: Add a crashtest. r=me 2018-09-21 15:29:49 +02:00
Noemi Erli
33a13f4638 Backed out changeset ced8a51eff4a (bug 1492130) for wpt failures in css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html 2018-09-21 16:22:49 +03:00
Ms2ger
7aec411a16 No bug - Update the WPT manifests. 2018-09-21 14:56:42 +02:00
David Major
213fa4f492 Bug 1477490: Merge upstream ASan patch to unpoison thread stacks. r=ted 2018-09-20 17:40:38 -04:00
Andreas Tolfsen
cd33da5dac bug 1492652: geckodriver: avoid cloning log level on init; r=jgraham
Instead of cloning we can dereference the logging level since it
derives the Copy trait.
2018-09-21 13:37:01 +01:00
Andreas Tolfsen
e7529b1b4e bug 1492647: webdriver: remove unused travis config; r=whimboo
DONTBUILD
2018-09-21 13:34:56 +01:00
Andreas Tolfsen
20e8887560 bug 1492647: webdriver: remove unused ignore files; r=whimboo
The rules in the .gitignore file are duplicated by the root-level
.gitignore file, and the .hgignore file does not take effect because
hg does not subdirectory ignore files.

DONTBUILD
2018-09-21 13:34:55 +01:00
Andreas Tolfsen
4955989efb bug 1492647: geckodriver: remove duplicate git ignore rules; r=whimboo
The rules in testing/geckodriver/.gitignore are duplicated by the
root level .gitignore rules.

DONTBUILD
2018-09-21 13:34:55 +01:00
Daisuke Akatsuka
2b352eba33 Bug 1405235 - Part 2: Show USB devices using SidebarItem. r=jdescottes
Depends on D5647

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

--HG--
extra : moz-landing-system : lando
2018-09-20 03:27:05 +00:00
Daisuke Akatsuka
9d7105adee Bug 1405235 - Part 1: Implement a mechanism to show USB devices. r=jdescottes
Depends on D5386

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

--HG--
extra : moz-landing-system : lando
2018-09-21 11:24:18 +00:00
Tim Nguyen
3d54c50b09 Bug 1491609 - Update common.inc.css checkbox and radio styling. r=jaws,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D5983

--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
extra : moz-landing-system : lando
2018-09-21 10:23:21 +00:00
Johann Hofmann
9dff99cb01 Bug 1492576 - If no protection is enabled, don't offer the user the ability to disable protection or report a problem. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D6408

--HG--
extra : moz-landing-system : lando
2018-09-21 01:45:19 +00:00
Mike Hommey
0848e2d157 Bug 1479232 - Only use one matcher for varDecl and parmVarDecl r=andi
ParmVarDecl being a subclass of VarDecl, using two matchers then caused
ScopeChecker::check to be called twice for ParmVarDecl nodes, once for
each match. But the code in ScopeCheck::check is written with the
assumption that it's called only once for such nodes.

Somehow, this didn't cause problems with clang up to version 6, but
makes the plugin spuriously warn about already_AddRefed not being used
as temporaries when used as argument in function declarations, with
clang 7.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 08:17:52 +00:00
Gerald Squelart
94188a7073 Bug 1493017 - Tweak vscode tasks.json problemMatcher regexes to handle clang/Windows output - r=jya
The original regex could match linux&mac outputs that look like:
`/[...]/ffmpeg/FFmpegVideoDecoder.cpp:315:6: error: expected expression`
However on Windows the same outputs have a different line&column format:
`c:/[...]/ffmpeg/FFmpegVideoDecoder.cpp(315,7): error: expected expression`

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

--HG--
extra : moz-landing-system : lando
2018-09-21 10:00:59 +00:00
arthur.iakab
1c139aa20a Merge mozilla-central to autoland 2018-09-21 12:52:46 +03:00
arthur.iakab
6877b6a75c Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Margareta Eliza Balazs
21588b2a98 Merge inbound to mozilla-central. a=merge 2018-09-21 12:39:35 +03:00
Hiroyuki Ikezoe
7ea3b5e685 Bug 1492724 - Add ADBScanner once after the extension is installed or is ready. r=jdescottes
And remove the ADBScanner once the extension is uninstalled.

When RuntimeScanners.add is called for ADBScanner, RuntimeScanner calls
ADBScanner.enable(), thus ADB.start() is called.  Meanwhile WebIDE installs the
devtools adb extension if the extension hasn't installed yet.  So if the
ADB.start() is called before the installation finishes, ADB.start() fails.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:17:15 +00:00