Commit Graph

574869 Commits

Author SHA1 Message Date
Steve Fink
5d8b6e029e Bug 1425635 - Display relative paths of failed tests in jit-test output, r=nbp
--HG--
extra : rebase_source : 18bc2fb4fb09362ca87d1fd89cd954e6d800d6f7
extra : amend_source : 4d9432fe4f0377647ca7da81be94418c0d07b99c
2017-12-15 21:40:35 -08:00
Boris Zbarsky
0b411e80c7 Bug 1407858 part 3. Add a literal string state to DOMString. r=smaug
MozReview-Commit-ID: JOuoLoZ2tcR
2017-12-22 13:02:51 -05:00
Boris Zbarsky
ca6aad3847 Bug 1407858 part 2. Make DOMString's data model clearer and update various documentation. r=smaug
MozReview-Commit-ID: AaTeI1e7Qnk
2017-12-22 13:02:51 -05:00
Boris Zbarsky
06a6d6e207 Bug 1407858 part 1. Give DOMString setter APIs clearer names. r=smaug
The renaming here is like this:

  SetStringBuffer -> SetKnownLiveStringBuffer
  SetEphemeralStringBuffer -> SetStringBuffer
  SetOwnedString -> SetKnownLiveString
  SetOwnedAtom -> SetKnownLiveAtom

This should make it clearer what the lifetime expectations are on the caller side.

MozReview-Commit-ID: ERHbB3r6paN
2017-12-22 13:02:51 -05:00
Jason Laster
d52357f283 Bug 1426462 - Update Debugger Frontend (12-20). r=jdescottes
MozReview-Commit-ID: LU8UG988kll
2017-12-22 18:33:29 +01:00
Dão Gottwald
bc5c378b93 Bug 1425822 - Get rid of sanitizePrefs2.inContent.dialog.width and sanitizePrefs2.inContent.column.width. r=jaws
MozReview-Commit-ID: I6IxtxjnQ4J
2017-12-20 15:10:48 +01:00
SagarB
d34d7d3597 Bug 1425724 - Fixed grid column width in Sanitize dialog in Preferences. r=dao
MozReview-Commit-ID: 5NrLdmjpRhw
2017-12-18 23:56:29 +05:30
Lukas Jung
21f7b5704f Bug 1370228 - "Context menu title with placeholder always shows ellipsis" [r=mixedpuppy]
--HG--
extra : rebase_source : aaf2763c9f28d196376e5d543978b7e6b788b704
2017-12-21 08:33:00 +02:00
Sylvestre Ledru
9b61043e22 Bug 1406662 - Remove a duplicate declaration (the first version should not have landed) r=me 2017-12-22 11:09:06 +01:00
Andreea Pavel
e2b89c47ae Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE 2017-12-22 11:59:03 +02:00
Andreea Pavel
78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Andrea Marchesini
2e497a02f6 Bug 1418074 - Introducing a WorkerHolder to release AbortSignal on the correct thread, r=bkelly 2017-12-22 10:06:47 +01:00
Andrea Marchesini
d3e4e6067c Bug 1418074 - Get rid of friend classes in WorkerFetchResolver, r=bkelly 2017-12-22 10:05:48 +01:00
Jonathan Kew
359a45f9a9 Bug 1426092 - Fix the inflation of the text bounding rect to account for stroke-width correctly. r=xidorn 2017-12-22 08:59:12 +00:00
Jonathan Kew
3a0a9acd7f Bug 1426092 - Reftest for incorrect clipping of thick text-stroke. r=xidorn 2017-12-22 08:59:08 +00:00
Jean-Yves Avenard
212565b86e Bug 1426486 - P2. Make mTrackId a base member. r=bwc
Also remove unused code.
mTrackId / mTrackIdexternal were protected/private members and only ever written.

MozReview-Commit-ID: C3wMhxSCA2H

--HG--
extra : rebase_source : 18845e480e8e2d741ef1172b212373888a9c1fe8
2017-12-21 17:57:24 +01:00
Nicholas Nethercote
4eee1598f7 Bug 1426270 - Add telemetry for prefs loading. r=glandium.
This patch introduces three keyed histograms:

- PREFERENCES_FILE_LOAD_SIZE_B
- PREFERENCES_FILE_LOAD_NUM_PREFS
- PREFERENCES_FILE_LOAD_TIME_US

They are all keyed on the prefs file's name; in my local Linux64 build there
are 13 such files.

Because prefs start up earlier than telemetry, we have to save the measurements
and then pass them to telemetry later.

MozReview-Commit-ID: H6KD7oeK8O0

--HG--
extra : rebase_source : b89c34270b07186b0ccc71bd41c70d81b2c6a334
2017-12-21 16:36:16 +11:00
Karl Tomlinson
5a8d45d703 bug 1339889 disable Android debug test_mediaElementAudioSourceNodeFidelity.html as build is too slow to provide continuous audio
MozReview-Commit-ID: 5UlVFS2jIhb

--HG--
extra : transplant_source : ie%12IEa0S%E1%EE%A2T%93%EC%7C%E1%F3%F6%96m
2017-12-22 14:03:14 +13:00
Mike Conley
4d6ed7eb15 Bug 1424373 - Rename crash report submission pref. r=Mossop
--HG--
extra : rebase_source : 14cfcee27cefc13911aee2c0663c74f3e9101275
extra : amend_source : bb12f2b78b2c43ef79957d700167a2fea80d0188
2017-12-21 16:36:13 -05:00
Shane Caraveo
cd4131b5bf Bug 1425267 fix url param schema for launchWebAuthFlow, r=rpl 2017-12-21 15:18:26 -08:00
Jean-Yves Avenard
2bd009f7e0 Bug 1426486 - P1. Make GetInputStream()->AsSourceStream() invariant. r=pehrsons
It can never be nullptr, strongly assert that this is the case and remove unecessary tests.

MozReview-Commit-ID: 7fi6jNnFUH8

--HG--
extra : rebase_source : 632ad1738c2984dd803c25dc44aa81c896292b64
2017-12-20 21:33:26 +01:00
Gerald Squelart
7d814daf52 Bug 1423431 - Handle nsTreeBodyFrame row of null height in divisions - r=tnikkel
MozReview-Commit-ID: KxDPVMq3pjV

--HG--
extra : rebase_source : 35414f968e31a6dabd91ef6a4834659b5d585b4b
2017-12-21 12:33:06 +11:00
Ed Lee
2240dd0135 Bug 1426774 - Add drag-n-drop, 2-rows default and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: CctWqWzJow

--HG--
extra : rebase_source : 39ec45dd214b6f308517a437380c477d297ec2ab
2017-12-21 16:56:22 -08:00
Mike Hommey
36e8f8aeb2 Bug 1426776 - Don't setup dotcache cache when not requested. r=dustin
--HG--
extra : rebase_source : c6956758845c310801513174770b07d6d8503dc4
2017-12-22 08:35:20 +09:00
Emilio Cobos Álvarez
9db998a70b Bug 1426494: s/StyleScope/DocumentOrShadowRoot. r=smaug
MozReview-Commit-ID: DsFPlQMGAyv
2017-12-22 01:56:36 +01:00
Emilio Cobos Álvarez
d5196e4079 Bug 1426494: Share more code among Document / ShadowRoot. r=smaug
MozReview-Commit-ID: C4cJrSFPnIb
2017-12-22 01:56:17 +01:00
Emilio Cobos Álvarez
041202a4fc Bug 1426494: Devirtualize StyleScope::AsNode. r=smaug
MozReview-Commit-ID: 2nDEI5aIu46
2017-12-22 01:56:16 +01:00
Mike Hommey
40aecc07ad Bug 1426553 - Autoconf-related changes to spidermonkey jobs. r=nalexander
On Debian, the autoconf binary is autoconf2.13 while it is autoconf-2.13
on Centos.

In make-source-package.sh, we need to run autoconf to generate the
old-configure to include in the package, so try both.

In hazard-analysis.sh, we actually don't need autoconf itself, so just
copy configure.in to configure.

--HG--
extra : rebase_source : d21075394c69cd7cd6738da645173eb29f4a1259
2017-12-21 09:41:19 +09:00
Mike Hommey
cffd7e8396 Bug 1426555 - Move --enable-stdcxx-compat to python configure. r=chmanchester
At the same time, we make it actually do something on spidermonkey
builds. We also add an environment variable alternative, that we use
in mozconfig.stdcxx, allowing for mozconfig.no-compile to override it
and avoid configure failures on e.g. artifact builds.

--HG--
extra : rebase_source : b68d362025e0c99f9184a03391c652ec2c9357ad
2017-12-21 11:13:08 +09:00
Mike Hommey
ec8fa73867 Bug 1426555 - Allow to add host compiler flags from python configure. r=chmanchester
Bug 1325632 added some facility to add target compiler flags. This
change extends it to add allow adding host compiler flags as well.

--HG--
extra : rebase_source : 424b405a1d8f9a4778ff75c3308c9622f050e194
2017-12-21 11:11:22 +09:00
Mike Hommey
21011a977a Bug 1426555 - Use mozconfig.no-compile in non-compiling android jobs. r=chmanchester
Instead of manually unsetting a few variables and adding
--disable-compile-environment, we can rely on the mozconfig that does
all that.

--HG--
extra : rebase_source : 47e0b63d08b98f258344648f1aa002b3da50646b
2017-12-21 09:54:20 +09:00
Mike Hommey
5f5b6efb65 Bug 1426555 - Make autospider builds use --enable-stdcxx-compat on Linux only. r=sfink
Some of the variants are multi-platforms, and having
--enable-stdcxx-compat in their definition will break when the option is
moved over to python configure.

While here, prepare for --enable-stdcxx-compat actually doing something
(it currently doesn't), by adding an exception for it in
check_vanilla_allocations.py.

--HG--
extra : rebase_source : ee1647421542209cf0137db703c4f7e7f06cbc91
2017-12-21 09:50:16 +09:00
Tom Prince
1fa60e324c Bug 1423801: Include trust-domain in the scopes to use for sccache; r=dustin
MozReview-Commit-ID: KepwpXJFo8X

--HG--
extra : rebase_source : a725619f118b91c14429535cee35f9cd3cec772a
2017-12-21 14:43:38 -07:00
Emilio Cobos Álvarez
77165a9dc1 Bug 1420533: Add crashtest. r=me
MozReview-Commit-ID: EemfowpZSqp
2017-12-22 00:51:09 +01:00
Masayuki Nakano
7ffbc78e5c Bug 1359396 - Redesign HTMLEditRules::IsEmptyBlock() r=m_kato
HTMLEditRules::IsEmptyBlock() won't return error in most cases.  Additionally,
HTMLEditRules::WillInsertBreak() doesn't check it.  So, just returning bool
is simpler.

MozReview-Commit-ID: 5DfRv7lIyuS

--HG--
extra : rebase_source : 8b430d88a92fd5830a0b9f1bc1d46ac31e45c12c
2017-12-20 22:25:12 +09:00
Masayuki Nakano
240d199f53 Bug 1359405 - Redesign HTMLEditor::IsVisTextNode() r=m_kato
Despite of its name, HTMLEditor::IsVisTextNode() returns true with its out
argument when the given text node is empty.  And although it returns nsresult,
it's almost always NS_OK because it returns error only when the editor isn't
usual condition.

So, it should return bool and true when the given text node is visible.

This patch separates the method.  One is for checking the node with frames,
called IsInVisibleTextFrames().  The other is for checking it only with
its text, called IsVisibleTextNode().

MozReview-Commit-ID: EdQmkOxfNxO

--HG--
extra : rebase_source : ad9d42f6c8a8e17145f0ca92cd5c02994f8a6b37
2017-12-20 15:07:37 +09:00
Masayuki Nakano
e376af4b27 Bug 1425412 - part 12: Create factory methods for DeleteRangeTransaction, EditAggregateTransaction and PlaceholderTransaction for consistency with the other transaction classes r=m_kato
Although, we don't need factory methods for DeleteRangeTransaction,
EditAggregateTransaction nor PlaceholderTransaction, for consistency with the
other transaction classes, they should have factory methods for making easier
to write the code.

For not making the performance slow down, they should be inline methods.

MozReview-Commit-ID: 7jl5yZNFYmP

--HG--
extra : rebase_source : 7cd5b5e268a670b3c8855407cc72dec12d34d8ff
2017-12-18 18:08:43 +09:00
Masayuki Nakano
0dd5b5022a Bug 1425412 - part 11: Create factory methods for ChangeStyleTransaction and remove CSSEditUtils::CreateCSSPropertyTxn() r=m_kato
This patch creates factory methods for ChangeStyleTransaction and removes
CSSEditUtils::CreateCSSPropertyTxn().

MozReview-Commit-ID: 1h8ZAj2PP5O

--HG--
extra : rebase_source : 3da3070ad179bac1aadbfc6984b4c2922a052ec0
2017-12-18 17:46:57 +09:00
Masayuki Nakano
bbbb83c937 Bug 1425412 - part 10: Create factory methods for AddStyleSheetTransaction and RemoveStyleSheetTransaction, and remove EditorBase::CreateTxnForAddStyleSheet() and EditorBase::CreateTxnForRemoveStyleSheet() r=m_kato
This patch creates factory methods for AddStyleSheetTransaction and
RemoveStyleSheetTransaction, and removes EditorBase::CreateTxnForAddStyleSheet()
and EditorBase::CreateTxnForRemoveStyleSheet() instead.

MozReview-Commit-ID: 6dnZctDtNik

--HG--
extra : rebase_source : 43eaadbde06e4a0b061ea8136e12ffeccfaf5592
2017-12-18 17:29:32 +09:00
Masayuki Nakano
07e48c2f29 Bug 1425412 - part 9: Create factory methods of ChangeAttributeTransaction and remove EditorBase::CreateTxnForSetAttribute() and EditorBase::CreateTxnForRemoveAttribute() r=m_kato
This patch creates two factory methods of ChangeAttributeTransaction.  One is
for setting an attribute to specific value.  The other is for removing an
attribute.  So, EditorBase::CreateTxnForSetAttribute() and
EditorBase::CreateTxnForRemoveAttribute() are unnecessary anymore.

MozReview-Commit-ID: 2fEVd3pDXsf

--HG--
extra : rebase_source : 674005a5b9fc623999a0f51dc8697027970f06c9
2017-12-18 17:07:52 +09:00
Masayuki Nakano
f2369df116 Bug 1425412 - part 8: Create JoinNodeTransaction::MaybeCreate() and remove EditorBase::CreateTxnForJoinNode() r=m_kato
EditorBase::CreateTxnForJoinNode() just hides what it does.
For making the caller clearer, let's create a factory method,
JoinNodeTransaction::MaybeCreate().

MozReview-Commit-ID: 8vADXdzMeuV

--HG--
extra : rebase_source : 6a281aff11bfa019c292d26cadd0cd29da12753f
2017-12-15 21:53:08 +09:00
Masayuki Nakano
2b43d139dd Bug 1425412 - part 7: Create SplitNodeTransaction::Create() and remove EditorBase::CreateTxnForSplitNode() r=m_kato
SplitNodeTransaction::Create() just hides what it does.  For making its caller
clearer, let's create a factory method, SplitNodeTransaction::Create().

MozReview-Commit-ID: KDiC8dDrLuQ

--HG--
extra : rebase_source : ac04544e10644b8a73375fb2b786e0bc86eb56ae
2017-12-15 21:37:23 +09:00
Masayuki Nakano
015555162f Bug 1425412 - part 6: Create DeleteNodeTransaction::MaybeCreate() and remove EditorBaseTransaction::CreateTxnForDeleteNode() r=m_kato
EditorBaseTransaction::CreateTxnForDeleteNode() just hides what it does.
Instead, let's create a factory method, DeleteNodeTransaction::MaybeCreate()
for making callers clearer.

MozReview-Commit-ID: 8WUYN0BjKSU

--HG--
extra : rebase_source : e0ff8b8434b720dc124c770cd7371d84b949ca8d
2017-12-15 21:24:33 +09:00
Masayuki Nakano
6b8e286ddc Bug 1425412 - part 5: Create some factory methods of DeleteTextTransaction and remove EditorBase::CreateTxnForDeleteText() and EditorBase::CreateTxnForDeleteCharacter() r=m_kato
DeleteTextTransaction should have 3 factory methods.  One is, simply to create
an instance with a pair of offset and length.  The others are, to create an
instance for deleting a previous or next character at offset.

The former was EditorBase::CreateTxnForDeleteText() and the latter was
EditorBase::CreateTxnForDeleteCharacter(), but this patch creates
DeleteTextTransaction::MaybeCreate() for the former,
DeleteTextTransaction::MaybeCreateForPreviousCharacter() and
DeleteTextTransaction::MaybeCreateForNextCharacter() for the latter.

MozReview-Commit-ID: DFELbmAJDo3

--HG--
extra : rebase_source : 1600984c704b460e1cc09777b81df2906c154cce
2017-12-15 20:43:26 +09:00
Masayuki Nakano
a5bd93a76e Bug 1425412 - part 4: Create CompositionTransaction::Create() and remove EditorBase::CreateTxnForComposition() r=m_kato
EditorBase::CreateTxnForComposition() just hides what it does.  For its caller,
creating a factory method, CompositionTransaction::Create(), is clearer what
it does.

Additionally, capsuling the creation in CompositionTransaction class can make
the text node information in TextComposition updated automatically.  So, now,
it might be better to update them in DoTransaction() because there is a lag
between creating the transaction and calling DoTransaction().  However, this
patch doesn't want to change any existing behavior.  So, this doesn't fix this
issue.

MozReview-Commit-ID: K8ci7ytwh1u

--HG--
extra : rebase_source : d468a0fc997c99f78f7eb46451082e7f1e052890
2017-12-15 18:26:37 +09:00
Masayuki Nakano
7443737c19 Bug 1425412 - part 3: Create CreateElementTransaction::Create() and remove EditorBase::CreateTxnForCreateElement() r=m_kato
EditorBase::CreateTxnForCreateElement() just hides what it does. Let's make
the caller what it does with creating CreateElementTransaction::Create().

MozReview-Commit-ID: DYcfQV6KiUZ

--HG--
extra : rebase_source : d3f31b8db92bd3b2af464c66e064dd7b21018960
2017-12-15 17:54:10 +09:00
Masayuki Nakano
1623a99bae Bug 1425412 - part 2: Create InsertNodeTransaction::Create() and remove EditorBase::CreateTxnForInsertNode() r=m_kato
EditorBase::CreateTxnForInsertNode() just hides what it does.  Let's create
InsertNodeTransaction::Create() and make the caller clearer.

MozReview-Commit-ID: 2J2WV73cdsm

--HG--
extra : rebase_source : 15b6391aee5beca4401e7c7a4ee8bf350a7590fd
2017-12-15 17:34:52 +09:00
Masayuki Nakano
ab059453f1 Bug 1425412 - part 1: Create InsertTextTransaction::Create() and remove EditorBase::CreateTxnForInsertText() r=m_kato
EditorBase::CreateTxnForInsertText() just hides what it exactly does.

Rewriting it with a static factory method, InsertTextTransaction::Create()
should be clearer for its caller.

MozReview-Commit-ID: Er7Zlhtbnb0

--HG--
extra : rebase_source : 9dc71b3baab839f61153b96806fac5baae5d46cb
2017-12-15 17:26:52 +09:00
Chris Peterson
894bf2c746 Bug 1424548 - Part 14: Regenerate HTML parser code with override specifiers. r=hsivonen
Overridden virtual functions without override specifiers will become errors after gcc -Wsuggest-override warnings are enabled.

--HG--
extra : rebase_source : a4752e3ec7bd41563bc9b1fdd1b1829666744273
2017-12-07 01:27:56 -08:00
Chris Peterson
5b8dabf526 Bug 1424548 - Part 11: Regenerate HTML parser code with MOZ_FALLTHROUGH annotations. r=hsivonen
And stop suppressing -Wimplicit-fallthrough warnings. We no longer need to suppress these clang warnings because the generated parser code now includes MOZ_FALLTHROUGH annotations.

--HG--
extra : rebase_source : d766c9b17de878138df6d949ee720dfaf0ed370a
2017-12-01 01:05:26 -08:00