Commit Graph

602718 Commits

Author SHA1 Message Date
Brian Grinstead
4121127ab8 Bug 1445764 - Move Places imports from XUL to JS for the Places documents;r=standard8
MozReview-Commit-ID: 1LKRgTlaupu

--HG--
extra : rebase_source : ac36bf61df6d77f495e018ac6a972d78e3cbc173
2018-07-03 14:26:49 -07:00
Henrik Skupin
2b4e5b5430 Bug 1470098 - [wdspec] Update MANIFEST.json. r=ato
MozReview-Commit-ID: CJFbbFFMhRc

--HG--
extra : rebase_source : a011a3a718272ee17c8de49a6a234608cd307df6
2018-07-05 14:49:47 +02:00
Henrik Skupin
cd72137f9a Bug 1470098 - [wdspec] Add tests for confirm, and prompt for the Execute (Async) Script commands. r=ato
MozReview-Commit-ID: 5VNykQGobtx

--HG--
extra : rebase_source : ef2c4a0dcf8e2d2c72f14d549f1d73e04bc075c5
2018-07-05 13:34:31 +02:00
Henrik Skupin
694d2fe02c Bug 1470098 - [wdspec] Sort user prompt tests and add placeholders for missing tests. r=ato
MozReview-Commit-ID: 9LJnkddVjph

--HG--
extra : rebase_source : 846688cd87ab25359901baaa3cf2029f4677a168
2018-07-05 09:27:13 +02:00
Henrik Skupin
bcadd0e24a Bug 1470098 - [wdspec] Parametrize user prompt tests. r=ato
To prevent code duplication each of the user prompt tests can
be parametrized for "alert", "confirm", and "prompt".

MozReview-Commit-ID: DtA5bKmfljt

--HG--
extra : rebase_source : 2c92596f642a65c031c39842db6f6b66f37eb58a
2018-07-04 22:09:39 +02:00
Henrik Skupin
b3891c9014 Bug 1470098 - [wdspec] Change create_dialog and assert_dialog_handled to make use of available wdclient commands. r=ato
Both the 'create_dialog' and 'assert_dialog_handled' methods
should make use of publicly available wdclient commands, and
not send custom messages, or even use transport class methods.

MozReview-Commit-ID: 5QrznRN6qgq

--HG--
extra : rebase_source : 2492716e350f83812202eed94eb4bad0afa3295a
2018-06-22 10:34:34 +02:00
Michael Kaply
ba6b32f6d5 Bug 1469889 - Allow blacklisting search engines based on URL. r=florian
MozReview-Commit-ID: IGL6JJGcyXa

--HG--
extra : rebase_source : 1595c2e3e2f1c48d9a4a2a330818366fd9576090
2018-07-02 10:53:01 -05:00
Mark Banner
96cd033dd3 Bug 1452706 - Fix the expected arguments to be RegExps in test_format_command.js. r=yulia
MozReview-Commit-ID: 24DtFcF9o2F

--HG--
extra : rebase_source : 51fcfacfa538a62a9dd0e3ddd09e3c35b341699e
2018-07-05 14:36:54 +01:00
Mark Banner
8e380d8bad Bug 1452706 - Remove the now redundant ESLint rule require-expected-throws-or-rejects. r=mikedeboer
MozReview-Commit-ID: 7CXrVV6x5I6

--HG--
extra : rebase_source : b909948af64007350e92ca75b7ff0ce602a9add9
2018-07-03 20:22:01 +01:00
Mark Banner
0e18da0420 Bug 1452706 - Make the 'expected' argument to Assert.throws/rejects required rather than optional. r=mikedeboer
MozReview-Commit-ID: 25flGw5sWga

--HG--
extra : rebase_source : 5212db5e4f940906646078542641f449d46a1684
2018-06-01 14:33:31 +01:00
Mark Banner
2a76b96907 Bug 1452706 - Add the 'expected' arguments to throws/rejects for devtools/shared/sourcemap. r=yulia
MozReview-Commit-ID: AdOD0Txwdi7

--HG--
extra : rebase_source : b7c8de55801152aa94e109a3ae998b5f006aad9d
2018-07-03 20:16:20 +01:00
Mark Banner
2038dfcf2f Bug 1473533 - Change the nsINavHistoryObserver::OnDeleteVisits visit time parameter to be a boolean for partial removal. r=mak
MozReview-Commit-ID: YbkHjOv7FH

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

--HG--
extra : moz-landing-system : lando
2018-07-05 13:18:31 +00:00
Andreas Tolfsen
e5126976b6 Bug 1471201 - Increase webdriver HTTPD Keep-Alive timeout to 90s. r=automatedtester
Increasing geckodriver's Keep-Alive timeout duration to 90
seconds, from the default five seconds, will reduce the number of
HTTP connections a persistent-enabled client will have to make,
potentially boosting performance.

In more recent hyper versions the default is 90 seconds, which
means we can get rid of this line when hyper is upgraded.

This will help mitigate https://github.com/mozilla/geckodriver/issues/1304
but not fundamentally resolve it, due to a standard library bug in
Python 2.7's urllib.

MozReview-Commit-ID: 98AFDQgWfpw

--HG--
extra : rebase_source : 75ce5a143533134b60848f2351aab60778c53d78
2018-07-05 12:50:33 +01:00
Andreea Pavel
be6dd58462 Backed out changeset 5c9b8478d69d (bug 1473379) for bustages at builds/worker/workspace/build/src/obj-firefox/dist/include/nsTArray.h:693 on a CLOSED TREE 2018-07-05 16:45:05 +03:00
Jamie Nicol
d113489b72 Bug 1473379 - Change PaintedLayerData::mAssignedDisplayItems to a std::vector. r=mattwoodrow
This allows us to call emplace_back, saving us a move.

MozReview-Commit-ID: 4wRiAxl7LSN

--HG--
extra : rebase_source : 48a0eee8f61f568e0910476dbf672cb43827187e
2018-07-03 22:39:04 -04:00
Daniel Stenberg
62e576e79d bug 1472656 - only do DNS_TRR_COMPARE in shadow or parallel mode r=mcmanus
MozReview-Commit-ID: 5eQb3pCNIwK

--HG--
extra : rebase_source : 95b197684c74d48ef37cade44d548536e4371409
2018-07-02 13:04:11 +02:00
Raphael Pierzina
f17db4328b Bug 1471625 - Bump mozinfo to v1.0.0 and update classifiers;r=davehunt
MozReview-Commit-ID: 1Kgl4fCzCyq

--HG--
extra : rebase_source : 865e9abdd4a04b3e3dc1906ce8ec497096f5e6b3
2018-07-03 14:22:11 +02:00
Raphael Pierzina
6eaf5002c2 Bug 1471625 - Create setup.cfg for universal wheels in mozinfo;r=davehunt
MozReview-Commit-ID: 3GRRIx3KH6x

--HG--
extra : rebase_source : 405d134b1d9b7cf01bae2a00c470c69fa0a7c72e
2018-07-03 13:39:20 +02:00
Raphael Pierzina
b259225456 Bug 1471625 - Resolve Python 3.5 compat issues in mozinfo;r=davehunt
MozReview-Commit-ID: HdPEVAJnXZf

--HG--
extra : rebase_source : ede5641bf5a03fc59d49a95c4b93f93aa69c0c16
2018-07-03 11:06:11 +02:00
Justin Wood
207eb46e7f Bug 1473528 - Don't cause jobs to auto-retry when failing for desktop l10n. r=sfraser
In l10n repacks we run the repackage multiple times, once for each locale. If something low level fails (like compare-locales) we'll abort out and call _add_failure (from _map) which then will set the return code based on the type of failure.

However it, by default, will increment the return code each time it is called in BaseScript, so to preserve expectations here we should disable that from desktop_l10n.py

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

--HG--
extra : moz-landing-system : lando
2018-07-05 13:15:19 +00:00
Nicolas Chevobbe
326029dc22 Bug 1419081 - Cmd/Ctrl + click should put object in the sidebar; r=Honza.
In order to do that, we pass an onCmdCtrlClick to the ObjectInspector.
We also extract the dispatching of the SHOW_OBJECT_IN_SIDEBAR action to
its own function so it can be called directly with a grip.
browser_webconsole_object_in_sidebar is renamed and repurposed to test
this specific behavior, since there's already a test checking the context
menu way (browser_webconsole_context_menu_object_in_sidebar.js).

MozReview-Commit-ID: GCF1wFPWTH

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_webconsole_object_in_sidebar.js => devtools/client/webconsole/test/mochitest/browser_webconsole_object_ctrl_click.js
extra : rebase_source : ad40ffb48695e3156a5730a5a41c1e8d9cb73b88
2018-04-19 10:54:36 +02:00
Nicolas Chevobbe
eb9667402d Bug 1473305 - Move browser_jsterm_popup.js to devtools/client/shared/test ;r=Honza.
This test is directly calling Autocomplete popup methods and only uses the
console for the instance and the input it provides. This patch moves the
test to the shared component folder, where the autocompletion code lives
so it feels more natural.
A few test cases are added in the jsterm_accessibility test, this time in
direct relation with the console input.

MozReview-Commit-ID: Ih7rOJ3vHpb

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_popup.js => devtools/client/shared/test/browser_autocomplete_popup.js
extra : rebase_source : 148e7d3d9ac69a40facc428c1201a9aa52eeda29
extra : source : b8b912f1999018c8f1677299d7180d3a03bcb2d7
2018-07-04 15:30:07 +02:00
Nazım Can Altınova
118413a3d9 Bug 1466783 - Avoid copying while passing the profiler data with IPC r=mstange
MozReview-Commit-ID: HfskcLojToC

--HG--
extra : rebase_source : e88e6770d29bdda3b7b46ea9eb28ecdc36b3f0ee
2018-06-15 11:16:41 -07:00
Robert Bartlensky
9873588035 Bug 1472672 - Add null check for textAcc. r=davidb
MozReview-Commit-ID: AL7R1fdlcvN

--HG--
extra : amend_source : 653d47dd5b5aaf637e5f5796239b304f4f27ccc2
2018-07-04 14:09:32 +01:00
Razvan Caliman
e8303152ce Bug 1473263 - Show "No fonts" message when there are no fonts used on the selected element or its descendants. r=pbro
MozReview-Commit-ID: Bkgs6ulw8nD

--HG--
extra : rebase_source : aef095cc9687a5bdaf2345bf251dde161072f681
2018-07-04 18:39:06 +02:00
Robert Bartlensky
caf0aa37ac Bug 1472676: Add curly brackets. r=baku
MozReview-Commit-ID: 7sgBIGX4RFj

--HG--
extra : rebase_source : 6403b7b150a36a396ca47cb66da96892f2f5edf2
2018-07-04 16:37:02 +01:00
Robert Bartlensky
fbadd8a213 Bug 1472676: Fix NULL_DEREFERENCE errors r=baku
MozReview-Commit-ID: B5urPwsgGto

--HG--
extra : rebase_source : 1edd7753a4e86adaf4c83df63cbc02e061262ed4
2018-07-04 15:20:59 +01:00
Wander Lairson Costa
4c52aa4d3f Bug 1465505: Replace PRMJ_Now() by mozilla::TimeStamp r=jonco
Notice as TimeStamp is not an integral type, it can't be wrapped by
mozilla::Atomic. However, we wrap it in MainThreadData to assure it only
is accessed from the main thread.

Another issue is that TimeStamp class does allow some operations on a
Null value, with assertions on debug builds.

MozReview-Commit-ID: 9GPNDUooQmI

--HG--
extra : rebase_source : e2b5fe81a4c5c696425583a04395f2ae79aeaccc
2018-07-04 16:55:11 -03:00
Andreea Pavel
a892a1e9b1 Backed out changeset 463f7fc23171 (bug 1466783) build bustages on a CLOSED TREE 2018-07-05 13:26:40 +03:00
Henri Sivonen
2363350998 Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 978a3fecf87e1ac4414ec0ea93335796bc24951a
2018-04-04 15:57:17 +03:00
Andrei Oprea
cab7d50d92 Bug 1434751 - Add Restore Defaults button to Home r=Mardak
MozReview-Commit-ID: 5NRxEhPIImg

--HG--
extra : rebase_source : 003715fdc82437a16caaff7cb3512856834a6465
2018-07-03 20:02:26 +02:00
Nazım Can Altınova
d36bbb96e0 Bug 1466783 - Avoid copying while passing the profiler data with IPC r=mstange
MozReview-Commit-ID: HfskcLojToC

--HG--
extra : rebase_source : 361efe4349cbe97303313d47450e60f35a91d1b0
2018-06-15 11:16:41 -07:00
Ciure Andrei
647372a88b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-05 12:53:31 +03:00
Ciure Andrei
2198f99f97 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Andreea Pavel
edb6aafdea Backed out 2 changesets (bug 1471838) for failing css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-border-radius-005.html
Backed out changeset b21c5080232a (bug 1471838)
Backed out changeset 5e99a3c65b2f (bug 1471838)
2018-07-05 10:44:45 +03:00
Andrea Marchesini
d1b2b16ba7 Bug 1473024 - CSP should throw EvalError when blocking eval(), r=ckerschb 2018-07-05 08:21:04 +02:00
Andrea Marchesini
14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Kris Maglione
17578086c0 Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
MozReview-Commit-ID: EMCgMRTDqDn

--HG--
extra : rebase_source : 11731e5a7c53c725396a9c8b46f116071d0c6e31
2018-07-04 14:52:48 -07:00
Jan-Erik Rediger
33b95c3973 Bug 1470897 - Catch invalid data, show a warning and continue processing. r=chutten
MozReview-Commit-ID: GbbBarULSOR

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

--HG--
extra : moz-landing-system : lando
2018-07-04 19:14:51 +00:00
Valentin Gosu
6a2bda63e8 Bug 1471280 - Add new pref for how much longer resolver threads should remain idle r=bagder
The new pref is "network.dns.resolver-thread-extra-idle-time-seconds"
The default is 60 seconds. This means that threads will stay idle for an extra 60 seconds, after which they are shutdown.
Setting the pref to 0 would preserve the behaviour before the threads were swiched to use nsThreadPool - meaning that they would be shutdown immediately after ThreadFunc completes.
Setting the pref to -1 would keep the threads alive forever.

MozReview-Commit-ID: CoUB5gan4MR

--HG--
extra : rebase_source : 7b444789eebaf43c939ce9d7153218c4cd594b65
2018-07-04 21:25:28 +02:00
Valentin Gosu
2c7b0b5f89 Bug 1471280 - Use nsThreadPool for DNS resolver threads r=bagder
Instead of creating and deleteing each thread, we use a nsThreadPool with a max of 8 resolver threads.
Whereas before each thread would run ThreadFunc exactly once then shut down, the threads may now remain active for a while. During this time we may post another task(runnable) to the thread.

MozReview-Commit-ID: FiE370ic1ah

--HG--
extra : rebase_source : 065bbf1f9867dfb38ac7b13816d4d06824d3a05d
2018-07-04 20:36:58 +02:00
Andreea Pavel
2ebf16b514 Backed out changeset 530f89f70093 (bug 1472199) for build bustages on a CLOSED TREE 2018-07-05 11:55:11 +03:00
Razvan Caliman
3ec682d724 Bug 1473496 - Font editor: replace string IDs for localizable strings that changed value. r=flod
MozReview-Commit-ID: H9bQuOsoZkP

--HG--
extra : rebase_source : 87a6558f72fdaf388a18c78bb8edb74188b11db8
2018-07-05 10:38:48 +02:00
Daniel Stenberg
dd6df388fc bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2

--HG--
extra : rebase_source : ac604fda9610997cde5aa2993ca15319e6213e89
2018-07-02 13:50:21 +02:00
Emilio Cobos Álvarez
8a187042bc Bug 1473225 - Update another entry in shape-margin-003.html.ini. r=me CLOSED TREE
MozReview-Commit-ID: DsSM6qSENEq
2018-07-05 05:48:25 +02:00
Emilio Cobos Álvarez
e87afd528c Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-05 05:46:56 +02:00
Dave Hunt
4d72fb0ad1 Bug 1472199 - Set the root directory for Python unit tests to topsrcdir; r=ahal
MozReview-Commit-ID: 4k4CTwzAbli

--HG--
extra : rebase_source : 688f4af6029254f986e406383c1bcd5cc6217172
2018-07-02 11:22:37 +01:00
Kris Maglione
d1882e4599 Bug 1472523: Part 3 - Use the same nsCString for pref callback/observer objects. r=njn
This reduced the additional string duplication that we currently do every time
we add a preference observer.

It changes the string that we store in the observer objects to be absolute,
rather than relative to the branch, but keeps the semantics the same, by
resolving the full preference name in the places we were previously matching
by relative string.

This actually has the effect of simplifying a lot of code, since the absolute
preference name is usually what we want.

MozReview-Commit-ID: 10WjHb0tNGB

--HG--
extra : rebase_source : b3cb0ba103fc239e42459e77cd389db0b5ecde18
2018-07-01 10:39:10 -07:00
Kris Maglione
3e400a8f72 Bug 1472523: Part 2 - Avoid unnecessary string copies in preference caches. r=njn
MozReview-Commit-ID: 74svGlwMVF1

--HG--
extra : rebase_source : ee25a335773b9afba9125c9092ed95eecc702cd9
2018-06-30 23:07:30 -07:00
Kris Maglione
8e4b8a954f Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn
Most preference callbacks use literal strings for their domain filters, which
means that there's no need to make copies of them at all. Currently, however,
every preference observer node makes a separate heap-allocated copy of its
domain string.

This patch switches the domain string storage to nsCString instances, which
dramatically reduces the amount of unnecessary copies, at the expense of
making the callback nodes slightly larger.

MozReview-Commit-ID: 8NA3t2JS2UI

--HG--
extra : rebase_source : 628ad9af65cec16fb8be0c8dddc608b5ee5602e2
2018-06-30 23:06:17 -07:00