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

601302 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer 864c89631c Bug 1340498 - Fix unified sources build errors r=mrbkap
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.

MozReview-Commit-ID: C2H9ce8FmE4

--HG--
extra : rebase_source : 4f8dd2996d820fdb5a07afe544be5e2d6ca6a5c7
2018-04-13 11:04:47 -07:00
Doug Thayer f111638b21 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 98df93506a64113d09cfd0926257dbf5f84720b5
2018-02-14 09:17:41 -08:00
Doug Thayer 0a912f9667 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : fd064e53e8645c3914188c05e71c8800d6f2174b
2018-02-14 09:11:49 -08:00
Doug Thayer ba2917606e Bug 1340498 - Implement new Places Observers interface r=mrbkap
See the design doc[1] for further info. We would like to redesign
the places observer system to be more performant and more friendly
to consume. WebIDL was recommended as it simplifies creating simple
dictionary payloads while allowing dynamic typing with `any`.

There were some difficulties with WebIDL though, most of which
revolved around allowing consumers to be weakly referenced, from
both C++ and JS. The simplest solution I could come up with was to
create a simple native interface for the C++ case, and a WebIDL
wrapper for a JS callback in the JS case. Suggestions for simpler
alternatives are very welcome though.

[1] https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit?usp=sharing

MozReview-Commit-ID: ACnAEfa5WxO

--HG--
extra : rebase_source : 6b5101e05d2f0588e831c0a7d1239a3dcb65ddcb
2018-02-14 09:06:15 -08:00
Doug Thayer 9a32e7829c Bug 1340498 - Add new globals to lint config r=standard8
MozReview-Commit-ID: 360gup8cWvi

--HG--
extra : rebase_source : fe554a400749e61b446aa609b4d1aad40e73acd7
2018-01-29 11:07:28 -08:00
Mike Hommey 1ad0baf79f Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.

--HG--
extra : rebase_source : c788ef4f7da9949b81df2f0577af6f6039ea63d8
2018-06-26 18:05:23 +09:00
Mike Hommey 5505406f5f Bug 1447116 - Update builders to rust 1.28. r=froydnj
--HG--
extra : rebase_source : 41c1756d12235d3e6fa38b109ab05a10f396c96d
2018-06-26 17:34:28 +09:00
Mike Hommey 77a4c8515d Bug 1471132 - Make building a binary component a compile-time error. r=froydnj
Loading binary components is not supported since bug 1314955.

--HG--
extra : rebase_source : cc224240c4f7264ce946faed054f35019e559607
2018-06-26 16:18:14 +09:00
Mike Hommey a6228a3f8a Bug 1471132 - Change how static xpcom components are initialized. r=froydnj
The sStaticModules list is, practically speaking, a copy of the list
of components we already have in libxul, augmented at runtime with
a few other components for tests (for gtest and xpcshell). We don't
actually need to keep that copy in memory. We can instead just use the
pointers in libxul directly to register them to the component manager,
and use a separate list, only for those extra components when they need
to be registered.

--HG--
extra : rebase_source : 1a32c95312d8577c99823adea8dbc0b022c286b2
2018-06-26 16:10:30 +09:00
Mike Hommey 0ddc27774e Bug 1471132 - Change how static xpcom components are linked. r=froydnj
Overall, this makes the whole setup less fragile, and make it work with
LTO in more situations.

--HG--
extra : rebase_source : de968c61dc4ef337fdc28745c202334ac41763cd
2018-06-26 14:40:51 +09:00
Mike Hommey b231504a1b Bug 1471132 - Avoid ASAN padding between NSModules. r=froydnj
--HG--
extra : rebase_source : 480ea315a847ffb63a8cb1e583669a61f1a7f3eb
2018-06-26 14:39:49 +09:00
Mike Hommey 354a9e27a0 Bug 1470127 - Move binary checks to a standalone script. r=froydnj
We perform, on the binaries we build, a series of check, that are
implemented as half-baked make commands, invoked after linking them.

- check libstdc++ symbol versions to ensure binary compatibility with
  a baseline.
- check glibc symbol versions to ensure binary compatibility with a
  baseline.
- check that target binaries don't contain text relocations.
- check that libmozglue is linked before libc on android.
- on libxul, check that NSModules are laid out correctly.
- on libxul, check that there is more than one PT_LOAD segment.

Those checks happen to work where they matter, but their setup is
unreliable. For example, the checks for symbol versions are supposed to
work for libclang-plugin on cross osx builds, but in fact, don't,
because the readelf path doesn't exist, and the command doesn't fail in
that case.

So move them all to a standalone script, performing the checks more
thoroughly (especially the NSModules one, where we now also check that
they are all adjacent), and more verbosely.

--HG--
extra : rebase_source : 7072e622e95f363d4a6c3a8e272d3445d998b592
2018-06-21 18:13:03 +09:00
Mark Banner 7db339076c Bug 1471215 - Remove now unnecessary classInfo definition in PlacesTreeView. r=mak
MozReview-Commit-ID: 2BJGohgrA2l

Differential Revision: https://phabricator.services.mozilla.com/D1828
2018-06-26 20:45:41 +00:00
Chris AtLee 0a72084572 Bug 733530: Support tar.gz test archives for artifact builds r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1841
2018-06-26 20:30:24 +00:00
Jacek Caban 03565d5406 Bug 1471177 - Use mingw-specific IFStream and OFStream implementation only when building againstd libstdc++. r=froydnj
MozReview-Commit-ID: 6aKGtK7B74z

--HG--
extra : rebase_source : 708e16c62c91aa482bffd6dbc74f6bfe944d4fec
2018-06-26 13:06:17 +02:00
Gijs Kruitbosch 14563f9e99 Bug 1454378 - chunk blocklist processing so it doesn't hang the main thread continuously, r=florian
MozReview-Commit-ID: 70cIeuVdy3D

--HG--
extra : rebase_source : ae604896202d15ecc0844629e4b304da857df1d3
2018-06-13 17:16:59 -07:00
Gijs Kruitbosch 9f327f0d76 Bug 1454378 - cache and inline things, avoid duplicate attribute or property requests, to make blocklist faster, r=florian
MozReview-Commit-ID: BwBhZr6sqx2

--HG--
extra : rebase_source : e5cf8d9b51118730701fe7b09befc006413b33aa
2018-06-13 17:06:49 -07:00
Gijs Kruitbosch d0c0e7fcc2 Bug 1454378 - make gfx blocklist processing faster, r=florian
MozReview-Commit-ID: A7Ydf6gUu3U

--HG--
extra : rebase_source : 94bc7e01750a7373419d6824a3d98f8ae54a050c
2018-06-13 15:39:05 -07:00
Gijs Kruitbosch 2035a3d244 Bug 1454378 - switch to for...of loops and .children instead of manual .item() calls, r=florian
MozReview-Commit-ID: 5nPrMVTz09m

--HG--
extra : rebase_source : d4211ed8d5d85dd9263b2a2aa1f8af08ce79f8ed
2018-06-13 11:53:33 -07:00
Gijs Kruitbosch d65d043732 Bug 1454378 - remove last sync XML blocklist reading code, r=florian
MozReview-Commit-ID: 3YYVy0ubdj8

--HG--
extra : rebase_source : 17ba35326c1d555f2c88813ac25404ae98a2b4b4
2018-06-13 11:51:45 -07:00
Michael Kelly 80e7768083 Bug 1470587: Uninitialize reporter created during test. r=mossop
At some point, the matching call to reporter.uninit got removed from this test.
The result is that the reporter still exists and is still collecting errors
during the rest of the tasks in the file. In most tasks, this isn't an issue
since we use reporter.handleMessage to test message handling at a per-reporter
level.

But the telemetry measures are shared between multiple reporters, thus they are
susceptible to interference from other running reporter instances.

The error that is being logged when this test fails is from the test add-on
created in testAddonIDMangle. My best guess is that the error logged by the
add-on is being processed during an idle moment in another task, since we
schedule processing to be delayed until the browser is idle. It seems this
scheduling is pretty consistent on certain Linux platforms.

Differential Revision: https://phabricator.services.mozilla.com/D1836
2018-06-26 18:31:06 +00:00
Bogdan Tara d2fb3a8812 Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Doug Thayer 5685ea3b89 Bug 1340498 - Fix unified sources build errors r=mrbkap
Adding the Places* files into unified sources pushed the
unified sources into a situation that exposed a strangely
large number of errors. This seems to be the minimum set of
changes I could make to resolve all of the issues.

MozReview-Commit-ID: C2H9ce8FmE4

--HG--
extra : rebase_source : b01f47e439a61492ad999ae30677c48535e8cd4c
2018-04-13 11:04:47 -07:00
Doug Thayer 421ce10d38 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : eeb3a99e07e3e5a39d716760cd26795f28f9a74b
2018-02-14 09:17:41 -08:00
Doug Thayer 4dd5940382 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -08:00
Doug Thayer 120468d5fd Bug 1340498 - Implement new Places Observers interface r=mrbkap
See the design doc[1] for further info. We would like to redesign
the places observer system to be more performant and more friendly
to consume. WebIDL was recommended as it simplifies creating simple
dictionary payloads while allowing dynamic typing with `any`.

There were some difficulties with WebIDL though, most of which
revolved around allowing consumers to be weakly referenced, from
both C++ and JS. The simplest solution I could come up with was to
create a simple native interface for the C++ case, and a WebIDL
wrapper for a JS callback in the JS case. Suggestions for simpler
alternatives are very welcome though.

[1] https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit?usp=sharing

MozReview-Commit-ID: ACnAEfa5WxO

--HG--
extra : rebase_source : cb13b24696ee97b611c318b407ea9c31215df3f6
2018-02-14 09:06:15 -08:00
Doug Thayer 8d49b70679 Bug 1340498 - Add new globals to lint config r=standard8
MozReview-Commit-ID: 360gup8cWvi

--HG--
extra : rebase_source : 00d2eb0cf1ea1870931120da92d1b0309608f18d
2018-01-29 11:07:28 -08:00
Kirk Steuber 9da04e18ce Bug 1460082 - Allow DisableAppUpdate and DisableSystemAddonUpdate policies outside of the ESR r=Felipe
Changing enterprise_only to machine_only will allow these policies outside of the ESR, but not in HKEY_CURRENT_USER.

MozReview-Commit-ID: UAT6CPFOWO

--HG--
extra : rebase_source : e3e49d347241803e6ecd48e037c496ab15b566d5
2018-06-21 07:42:11 -07:00
Abdoulaye O. Ly 20b59237bc Bug 1468705 - Set tab-line opacity to 0.5 on multi-select and hover context. r=jaws
MozReview-Commit-ID: E7i8GORVynz

--HG--
extra : rebase_source : 2d37ad8208e5b1c8fe105bd77a64133902dcbcde
2018-06-26 03:04:10 +00:00
Sebastian Hengst b8ce168b05 Bug 1471255 - bugs in dom/payments should be filed in Core::DOM: Web Payments. r=MattN
MozReview-Commit-ID: LuQsheIcW48

--HG--
extra : rebase_source : f00a112dfbf7992bfe32f18f89559fa02a915bae
2018-06-26 18:44:17 +03:00
Ursula Sarracini db33263bdc Bug 1468389 - Add a src parameter to Pocket URLs in Highlights r=nanj
MozReview-Commit-ID: AFjN4vR11NB

--HG--
extra : rebase_source : 012ed2f5ae068d40bfec64befe5b74695fe11aa1
2018-06-26 10:30:27 -04:00
Jan Beich 804b7f11b7 Bug 1470938 - Unbreak build without GeckoProfiler after bug 1448040. r=dthayer
MozReview-Commit-ID: I7xAvNtNwe

--HG--
extra : rebase_source : 68f24ef3e5dab0036eede84ae2cb9dea27b86576
2018-06-25 16:47:35 +00:00
Oriol Brufau e3e3ce5238 Bug 1464862 - Expose multiselected status to "tabs.Tab.highlighted", and allow to change it via "browser.tabs.highlight()" r=mixedpuppy
MozReview-Commit-ID: H2SiqM5ksCH

--HG--
extra : rebase_source : a8951d803c2c72fb0c6e39f4600b6aabcae69c41
2018-06-23 21:46:58 +02:00
Daniel Stenberg b419a2efd8 bug 1471156 - double the DNS cache size to 800 entries r=mcmanus
... but leave it at 400 for Android.

MozReview-Commit-ID: 1Tni6zWrYNL

--HG--
extra : rebase_source : c521d4d9edb96312ae20069cc434c1b4fbe2a8a6
2018-06-26 11:39:04 +02:00
Jared Wein 369a05b69f Bug 1317581 - Clean up some duplicated colors in the DateTimePicker. r=dao
MozReview-Commit-ID: IOAgaoeJ53J

--HG--
extra : rebase_source : e1b0cfeead9deccd27af78ce19337df5dce54241
extra : source : 869832e41f9efde56120d884e96640863b96b7be
2018-04-10 14:26:49 -04:00
Jared Wein 0568d337c0 Bug 1317581 - DateTimePicker should support high contrast mode on Windows. r=dao
Portions of the patch contributed by Tim Nguyen (ntim.bugs@gmail.com)

MozReview-Commit-ID: DEBBjcgHIyH

--HG--
extra : rebase_source : 04283a360411699c23a6acee9027fb7750c8d6eb
2018-06-25 18:10:49 +01:00
Andreas Tolfsen 1b6bd3bddb Bug 1408509 - Turn some WebDriver client assertions into errors. r=whimboo
In Python, assert only raises AssertException when __debug__
is true which it isn't for optimised code.  There are some cases
in the WebDriver client where we genuinely want to stop the user
from performing certain actions, and this patch turns those into
raised exceptions.

MozReview-Commit-ID: GbEafJmAqu

--HG--
extra : rebase_source : b3d03744be3d36939821e27dd056b696ee91dfe9
2018-06-22 14:03:25 +01:00
Andreas Tolfsen ef5ac61f82 Bug 1408509 - Add initial support for web frame and web window to WPT WebDriver client. r=whimboo
This adds marshalling support for web frames and web windows to the
WPT WebDriver client.  It can now receive and send complex objects
representing DOM frames and WindowProxies.

The support for these new objects is preliminary as they are not
used in practice yet.

MozReview-Commit-ID: IsEJTCiLEUo

--HG--
extra : rebase_source : 7cd4f4a495317b517e405e8a09fd7c67ff612219
2018-06-19 20:06:02 +01:00
Andreas Tolfsen 2155b55cc3 Bug 1408509 - Add web frame, web window, and chrome element support to Marionette client. r=whimboo
MozReview-Commit-ID: 6HFzfYckrB5

--HG--
extra : rebase_source : 29dcc97d9b5a24a1ab9144635d168d601b4cf728
2018-06-19 19:54:10 +01:00
Andreas Tolfsen 55d5e3a0c1 Bug 1408509 - Support web elements, frames, and windows in geckodriver. r=whimboo
This makes geckodriver support WebDriver web elements, web frames,
and web windows.

Marionette sends back JSON Objects such as

	{<element key>: <uuid>}

where the element key is one of the unique strings this patch adds
to geckodriver::marionette.

MozReview-Commit-ID: HegkGFqxkms

--HG--
extra : rebase_source : 88d51ac29b429124e2e321c0cccda949397fd307
2018-06-19 19:04:36 +01:00
Valentin Gosu b029385db8 Bug 1470907 - Call AsyncShutdown for threads at the end of nsHostResolver::ThreadFunc r=froydnj
MozReview-Commit-ID: 2M8Qn8KDfdx

--HG--
extra : rebase_source : 5f6f37a630093badae7889ffdd4f10ba4e3d49b7
2018-06-26 02:54:48 +02:00
Daniel Stenberg 4a2731b037 bug 1471217 - ignore the network.dns.get-ttl pref on non-supported systems r=mcmanus
Which is how the pref is documented in all.js

MozReview-Commit-ID: 5ONQgZ1wO5G

--HG--
extra : rebase_source : cdbf5683b12a3bdb889f56c9b4b5037218bedc43
2018-06-26 15:36:26 +02:00
Dão Gottwald 8504e94efd Bug 1470393 - Implement workaround for squashed favicon in the bookmarking panel. r=mak
MozReview-Commit-ID: IjbeUoTgxWO

--HG--
extra : rebase_source : 82310f542afd999c2f1a6808a0517469b5a56641
2018-06-26 13:14:00 +02:00
Gijs Kruitbosch 5f6ae8c428 Bug 1448096 - use promiseDocumentFlushed to avoid sync reflows when resizing devtools windows, r=bgrins,mconley
MozReview-Commit-ID: HATxzjdbQDj

--HG--
extra : rebase_source : 374e1915b04ac76f3b82ac42bf4ad170e366ef0a
2018-06-19 18:12:42 +01:00
Nicolas Chevobbe b9474d997c Bug 1469959 - Don't use relatedTarget to check if the ObjectInspector was focused by tabbing; r=bgrins.
Basically this rolls back the changes made to the reps bundle
in Bug 1463415. This change will be backported in Github later
so the fix can ride the train.
A test is added to make sure we don't regress again.

MozReview-Commit-ID: Csak2pPyTOR

--HG--
extra : rebase_source : a3f24dab9e062f0743cdbc4e9cec9d1ce62c86d1
2018-06-25 17:57:15 +02:00
Alexandre Poirot 4d61fa3588 Bug 1470086 - Refactor shader editor initializer. r=jdescottes
MozReview-Commit-ID: sLVVmv8ZUF

--HG--
rename : devtools/client/shadereditor/shadereditor.xul => devtools/client/shadereditor/index.xul
extra : rebase_source : 8e6e0d46c8935bb80cd21f1904fd2c7b6ee8ac64
2018-06-20 14:28:06 -07:00
Henrik Skupin ef0edd4cb5 Bug 1470533 - [wdspec] Have "New Session" tests use a shared command fixture. r=ato
All the "New Session" tests have specific requirements in what is
getting passed as body to the "New Session" command as defined by
the WebDriver specification. This also includes all invalid cases
which are basically never used by the global session fixtures.

This also aligns these tests with the rest of the wdspec test suite
which all use a shared command function. Given the complexity of
this "new_session" function, it is implemented as fixture.

MozReview-Commit-ID: IkHdx4UtaBy

--HG--
extra : rebase_source : 949be2cb9c90dcdfc59bb03f4351e66426eeedeb
2018-06-25 14:40:10 +02:00
Henrik Skupin 4ec76af9d4 Bug 1470533 - [wdspec] Mark expected to fail new session tests on MacOS and Windows. r=ato
Some of the tests which currently fail on MacOS and Windows have not been
marked as expected fail. This went unnoticed so far because no wdspec
jobs are running on both platforms in CI.

MozReview-Commit-ID: Eo4WU2UdtN8

--HG--
extra : rebase_source : 515017813dda302ba68e5affb71e8de0a7d437f7
2018-06-22 21:59:02 +02:00
Henrik Skupin de118bd1f3 Bug 1470533 - [wdspec] Add global "current_session" fixture. r=ato
To allow sub-conftest.py files to define custom session fixtures,
the currently active session as created by the global "session"
or "new_session" fixtures has to be exposed as fixture too.

This will allow any other custom session fixture to delete the
currently active session.

MozReview-Commit-ID: E6yeCd587Kv

--HG--
extra : rebase_source : 795d49c82ae6e222072f9e63f35ec145bb371844
2018-06-25 20:45:18 +02:00
Margareta Eliza Balazs 03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00