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

620338 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 305dfd1207 Bug 1499096 - Update tests using ok() to is(), with minor fixes;r=Standard8
Depends on D8741
This changeset updates some calls to ok() that should actually be calls to is()
and that needed tiny fixes to match the expected value.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:21:18 +00:00
Julian Descottes 73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Julian Descottes 52b85a20e2 Bug 1499096 - Update wrong usage of ok() with todo_is();r=Standard8
Depends on D8739.
This changeset updates calls to ok() that were most likely intended
for is(), but are not working as is.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:02 +00:00
Julian Descottes 2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Julian Descottes eac312a589 Bug 1500936 - Run eslint --fix on devtools/client/inspector for comma-dangle;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9409

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:24 +00:00
Julian Descottes 078990ad01 Bug 1500936 - Remove comma-dangle override from devtools/client/inspector;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9408

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:22 +00:00
Xidorn Quan 9de832b381 Bug 1448317 - Don't include absolutely-positioned and float children in element outline. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9349

--HG--
extra : moz-landing-system : lando
2018-10-23 06:37:16 +00:00
Jonathan Watt 4c7965da49 Bug 1500423. Paint the fill for menulist-textfield manually. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D9410

--HG--
extra : rebase_source : b141e46a4a5c61123107b2c4649dd587f057b5c5
extra : amend_source : 0b0ae51a6b766dfe58e974060a870a9dc02af6ca
2018-10-22 16:17:22 +01:00
Emilio Cobos Álvarez 449b22d059 Bug 1500885 - mTextAlignTrue / mTextAlingLastTrue are write-only. r=mats
They were added in bug 929991, but there's no text-align: true anymore.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:14:42 +00:00
Masayuki Nakano cb95d44ffc Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato
AutoTransactionBatch, AutoPlaceholderBatch, AutoSelectionRestorer,
AutoTopLevelEditSubActionNotifier, AutoTransactionsConserveSelection and
AutoUpdateViewBatch access protected members of EditorBase.  The access
scope management assume that they are used only by EditorBase or its
subclasses or TextEditRules or its inherited class (i.e., HTMLEditRules).

For guaranteeing this at build-time, we should change them to nested classes
of EditorBase.  Then, EditorBase and its subclasses and friends can use them.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:42:06 +00:00
Masayuki Nakano 87499ae61c Bug 1500862 - part 2: Create AutoTransactionBatchExternal class which calls XPCOM methods instead of non-virtual internal methods r=m_kato
Unfortunately, TextServicesDocument::InsertText() is too complicated to
do it with both editor class and TextServicesDocument separately.
Therefore, this patch adds AutoTransactionBatchExternal class which is
almost same as AutoTransactionBatch but uses XPCOM methods to begin/end
transaction.  This change helps editor to manage whether it starts to
handle new edit action or not when BeginTransaction() is called explicitly.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 05:18:40 +00:00
Masayuki Nakano 25b5b80801 Bug 1500862 - part 1: Make HTMLEditor::SetInlineProperty() remove exclusive style automatically r=m_kato
StyleUpdatingCommand::ToggleState() removes exclusive style when it sets
superscript style or subscript style.  However, it accesses protected
members of EditorBase via AutoTransactionBatch even though it's outside
of editor classes.

This patch moves the removing exclusive style code from the method to
HTMLEditor::SetInlineProperty() and rename it "AsAction".

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

--HG--
extra : moz-landing-system : lando
2018-10-24 04:17:42 +00:00
shindli 2e1ca1f2c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-24 12:48:51 +03:00
Julian Descottes f5daa6fb37 Bug 1498150 - Show network location category but with disabled message;r=ladybenko,daisuke
Depends on D9122
This is a follow up to the first patch that restores the category, but shows a "disabled"
message instead of the content

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:30:53 +00:00
Julian Descottes 059a1cb153 Bug 1498150 - Hide networklocations form in ConnectPage behind pref;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D9122

--HG--
extra : moz-landing-system : lando
2018-10-24 09:27:55 +00:00
Margareta Eliza Balazs 77db58fd5a Backed out changeset 02d8210b8904 (bug 1501353) on request from MarcoZ
--HG--
extra : rebase_source : c8ac92b3ed860b783b1cc87b5ef8c231ac75101e
2018-10-24 11:36:25 +03:00
Gabriele Svelto 5ae7a8becf Bug 1498609 - Annotate crash pings to include ECC memory support (or lack of) r=ted
Differential Revision: https://phabricator.services.mozilla.com/D8587

--HG--
extra : moz-landing-system : lando
2018-10-24 08:22:42 +00:00
Raphael Pierzina f5341ead00 Bug 1501227 - Update version requirement on mozprofile and mozrunner for tps; r=davehunt
Depends on D9528

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

--HG--
extra : moz-landing-system : lando
2018-10-24 08:35:48 +00:00
Raphael Pierzina 329c1926f8 Bug 1501227 - Update version requirement on mozprofile for mozrunner; r=davehunt
Depends on D9527

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

--HG--
extra : moz-landing-system : lando
2018-10-24 08:35:25 +00:00
Raphael Pierzina 32714ae8e5 Bug 1501227 - Bump mozrunner to version 7.2.0; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D9527

--HG--
extra : moz-landing-system : lando
2018-10-24 08:35:08 +00:00
Patrick Brosset ce34ffe2c4 Bug 1501263 - Dont say that siblings have used all the space when an item was clamped; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D9509

--HG--
extra : moz-landing-system : lando
2018-10-24 08:21:06 +00:00
Patrick Brosset 5653115619 Bug 1501207 - Don't say that an item was both set and not set to grow; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D9504

--HG--
extra : moz-landing-system : lando
2018-10-24 08:19:01 +00:00
Brian Birtles 99201827d6 Bug 1500820 - Compare absolute dot-product to 1.0 when interpolating quaternions; r=hiro
See the extended commit message for the following spec change:

  6b36d41ebc

Basically, by failing to take the absolute value, for certain content we can end
up doing division by zero which will mean that the test included in this patch
will cause an assertion to fail in debug builds and return
"matrix(NaN, NaN....)" in release builds.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 07:06:43 +00:00
Jan de Mooij d9acf21231 Bug 1499649 - Split ICEntry in ICEntry and RetAddrEntry, get rid of fake ICEntries. r=tcampbell
The return address/offset is no longer stored in ICEntry but in RetAddrEntry.
ICEntry now only stores IC-related fields.

As a follow-up I think we should get rid of ICEntry::isForOp_ but this patch is
big enough as it is.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 07:55:51 +00:00
Narcis Beleuzu b7b79b2538 Backed out 3 changesets (bug 1488973) for causing TV failures on browser_resource_uri.js
Backed out changeset 6eab8a1b17ce (bug 1488973)
Backed out changeset c06b2c594294 (bug 1488973)
Backed out changeset 819df51e3083 (bug 1488973)
2018-10-24 10:49:10 +03:00
Patrick Brosset 19fcf133dd Bug 1500019 - Wait for the inline-style rule to be updated before proceeding; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D9368

--HG--
extra : moz-landing-system : lando
2018-10-24 03:55:43 +00:00
Zibi Braniecki 5b050994a5 Bug 1488973: Add tests for localisation of unprivileged content. r=flod,mossop
Depends on D7962

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

--HG--
extra : moz-landing-system : lando
2018-10-24 07:13:19 +00:00
Zibi Braniecki 16df4be7a6 Bug 1488973: Register locale sources in all processes. r=mossop
Depends on D7961

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

--HG--
extra : moz-landing-system : lando
2018-10-23 18:59:19 +00:00
Zibi Braniecki 1b21b22d57 Bug 1488973: Wrap privileged promises in a promise for the document we`re returning to. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D7961

--HG--
extra : moz-landing-system : lando
2018-10-23 18:59:06 +00:00
Daisuke Akatsuka 4831d220c9 Bug 1498103: Use existing USB runtime to keep current state. r=jdescottes
So far, when USB list was updated, since we replace to all new instances, the
states had not been able to keep. To resolve this, re-use runtimes that retain
in runtimes state.

Depends on D9470

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:07:15 +00:00
Daisuke Akatsuka 0e3970f196 Bug 1498103: Select 'this firefox' page when selected runtime was removed. r=jdescottes
Depends on D9469

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:21:11 +00:00
Daisuke Akatsuka 7b111c9032 Bug 1498103: Avoid to add debug target listeners for USB runtime. r=jdescottes
When the addon was removed/added, REQUEST_EXTENSIONS_SUCCESS action was fired.
But because current USB runtime does not support extensions debugging, we
avoid to add debug target listener for USB runtime. Likewise, we refer the
state of supporting for workers and tabs.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 11:24:31 +00:00
Wes Kocher 73bc6f9bc2 Bug 1499962 - update wpt metadata for netinfo tests on fennec r=marcosc
Fennec actually supports this API, so the tests pass on fennec while they fail on desktop.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 05:46:16 +00:00
Jonathan Kingston 9489908320 Bug 1466449 - Update Tokenizer.java and StackNode.java to initialize properties. r=andi 2018-10-22 11:34:58 +01:00
Kristin Taylor 789c073d74 Bug 1494789 - Part 3: Use --error-color for --string-color. r=nchevobbe 2018-10-22 21:31:59 -05:00
Kristin Taylor 53911fbff8 Bug 1494789 - Part 2: Change --error-color to --red-20. r=nchevobbe 2018-10-22 21:27:52 -05:00
Kristin Taylor 67a965414d Bug 1494789 - Part 1: Add --red-20 to variables.css. r=nchevobbe 2018-10-22 21:21:32 -05:00
Eden Chuang 3efeafd6e2 Bug 1497215 - Refactor the IPC structure for PaymentResponse.details r=baku
In original design, payment method response data is passed between processes
    through a simple nsString. It means a special encoder/decoder is needed for
    special response data, ex. BasicCardResponse, to serialize/deserialize
    into/from the nsString. However, when a token spliter, ':', ';' and '@', is
    used in response data, it makes the encoder/decoder can not work normally.
    It is hard to define a suitable token spliter set for encoder/decoder.
    So instead of using an error-prone encoder/decoder, this patch defining a new
    IPC structure for response data.
2018-10-23 10:42:06 +02:00
Benjamin Bouvier 7bec7e608e Bug 1500231: Fix register allocation of copysign on AVX; r=sunfish
--HG--
extra : rebase_source : 99a85227520130cc006fbb4ff8b6bb3d7a1a03f6
extra : amend_source : 81b0b96934c487246b0188d63ce4b3c02a82b417
2018-10-22 15:41:53 +02:00
Margareta Eliza Balazs bd786693fb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-23 12:33:44 +03:00
Jan Odvarko 1dd0c173e2 Bug 1477252 - Check whether editor is destroyed before using it; review=nchevobbe r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9251

--HG--
extra : moz-landing-system : lando
2018-10-19 14:21:23 +00:00
Julian Descottes bd88dcb677 Bug 1497944 - Show wifi category but with disabled message;r=daisuke
Depends on D9223

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:02:17 +00:00
Julian Descottes 84ef7175f1 Bug 1497944 - Hide wifi section in ConnectPage behind pref;r=daisuke
Depends on D9222 .

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:35:06 +00:00
Julian Descottes cf9f2f85ba Bug 1497944 - Drop the (Recommended) from WiFi section in Connect page;r=daisuke
WiFi is not even working at the moment, so it probably should
not be tagged as recommended.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:33:55 +00:00
Julien Wajsberg 058047f59d Bug 1489745 - reduce overhead of the performance test that also selects the memory r=gregtatum
In this patch we use the previous change to reduce the overhead in the
specific test that fails in ccov builds, by reducing the sample
frequency.

Depends on D8548

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:45 +00:00
Julien Wajsberg edc9fbc30b Bug 1489745 - Convert the preference sample-frequency-khz to hz r=ochameau,mstange
The int preference profiler.sample-frequency-khz didn't make it possible
to reduce the overhead in tests, because we could have intervals bigger
than 1ms. With this change we can now do it.

Depends on D8547

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:37 +00:00
Julien Wajsberg 3456122309 Bug 1489745 - Reduce the buffer size for all tests r=gregtatum
We reduce the profiler's buffer size for all tests, to reduce the memory
pressure and the overhead. This may fix some OOM intermittent crashes.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:35 +00:00
Emilio Cobos Álvarez acda669e27 Bug 1500885 - Remove some unused keywords. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D9372
2018-10-24 14:01:39 +02:00
Emilio Cobos Álvarez a21614c515 Bug 1500885 - Serialize text-align with Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D9372
2018-10-24 14:01:39 +02:00
Xidorn Quan 78e208a120 Bug 1501418 - Have scrollbar-color: auto resolved to auto rather than two colors. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D9640

--HG--
extra : moz-landing-system : lando
2018-10-24 11:52:46 +00:00