Commit Graph

575067 Commits

Author SHA1 Message Date
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
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
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
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
Jan Henning
130aace3dc Bug 1424523 - Lazify Sanitizer.jsm's imports. r=nechen
Even though the Sanitizer itself will be lazy-loaded, most imports are only
required for specific data categories. Therefore for users who aren't clearing
all data at once, lazy-loading can still be beneficial.

MozReview-Commit-ID: CLM1BN0XeJj

--HG--
extra : rebase_source : 346124db74eeb1a5dc4cb8c2c6aefcb290b1caf2
2017-12-09 20:23:56 +01:00
Coroiu Cristina
9fdfc0197b Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-24 11:59:08 +02:00
Masatoshi Kimura
a1d349bfab Bug 1426898 - Stop including Char16.h everywhere. r=Waldo
We had to force-include Char16.h to simulate char16_t on older MSVC versions.
But it is no longer the case. We should not rebuild the world whenever we
touch this file.

MozReview-Commit-ID: 1XY7tQD8LoK

--HG--
extra : rebase_source : a08ccfc9b6a4abf90f6f8b97a42079865724c9ec
2017-12-23 00:53:12 +09:00
Masatoshi Kimura
89dad26c61 Bug 1426898 - Fix a bug of a local patch for libyuv. r=jesup
>+#if !defined(_MSC_VER) && (_MSC_VER < 1600)
is wrong. It should have been:
>+#if !(defined(_MSC_VER) && (_MSC_VER < 1600))
But I reverted this local change completely because we do not support such
older MSVC versions anyway.

MozReview-Commit-ID: 3VhtViP7WpX

--HG--
extra : rebase_source : f18f57d8505e5847452263847d561b5cdef255b7
2017-12-23 00:56:11 +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
Jonathan Watt
40e23aa2be Bug 1425641, part 4 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen
MozReview-Commit-ID: 56tyJYySlco

--HG--
extra : rebase_source : 9fdfa57a820db0a8282bf02e649a410b1a772b3b
2017-12-06 16:02:34 +00:00
Jonathan Watt
4ba31c1984 Bug 1425641, part 3 - Remove lots of static methods from the nsPrintJob interface. r=bobowen
MozReview-Commit-ID: 6T3h7hR6Kcg

--HG--
extra : rebase_source : ba29d0f4b15c575ccfceee6caf084b43cf59f124
2017-12-06 12:47:19 +00:00
Jonathan Watt
1d609cb1b5 Bug 1425641, part 2 - Remove nsPrintJob::mOldPrtPreview. r=bobowen
MozReview-Commit-ID: Bu4SheVyDGD

--HG--
extra : rebase_source : 01fb811441d3703b992a1a9c2e21431e0491fd76
2017-12-06 10:49:22 +00:00
Jonathan Watt
46335998ec Bug 1425641, part 1 - Collect nsPrintJob members and remove some unneeded methods. r=bobowen
MozReview-Commit-ID: 8Z64aE5f61j

--HG--
extra : rebase_source : acaaaafaecf961160244a67e028adbe4bddf0e5b
2017-12-06 10:12:44 +00:00
Ciure Andrei
c931a9d707 Merge autoland to mozilla-central r=merge a=merge 2017-12-24 23:52:07 +02:00
ffxbld
4194d5dc45 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-24 10:42:34 -08:00
ffxbld
a72af473e1 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-24 10:42:31 -08:00
Sylvestre Ledru
a4381ebbdf Bug 1417826 - Backed out changeset cd7926a8269c. It was changing the bundle id on mac r=me a=update-fix 2017-12-24 13:52:13 +01: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
Chris Peterson
fcb45bc490 Bug 1424548 - Part 9b: Regenerate HTML parser code to remove always-zero offset from CPPONLY code. r=hsivonen
--HG--
extra : rebase_source : 448298e7e9b43a80a54a6b087a6a2bf731654264
2017-12-01 00:58:56 -08:00
Chris Peterson
946cc287a2 Bug 1424548 - Part 9a: clang-format generated HTML parser code. r=hsivonen
--HG--
extra : rebase_source : 67a0555475dbce49c689d27510dca252089a4a7b
2017-12-21 00:02:43 -08:00
Chris Peterson
16e0dd144e Bug 1424548 - Part 1: Fix non-unified build of HTML parser code. r=hsivonen
--HG--
extra : rebase_source : 78aa25eb45c0f7cd446ac7eab4f853c46590c7e7
2017-12-04 13:09:15 -08:00
Alexandre Poirot
e65ab1463e Bug 1365574 - Release event loop between react module loading and toolbox react rendering. r=pbro
MozReview-Commit-ID: D1M9n3VFdHJ

--HG--
extra : rebase_source : 400bcbb8a4984c32e9decc0877ed9ae7ce386842
2017-11-30 08:34:05 -08:00
arthur.iakab
b2d2b2678a Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-22 00:25:54 +02:00
arthur.iakab
373adc6f0d Merge Inbound to mozilla-central r=merge a=merge 2017-12-22 00:19:24 +02:00
arthur.iakab
610ad46e20 Merge Autoland to mozilla-central r=merge a=merge 2017-12-22 00:15:51 +02:00
Emilio Cobos Álvarez
033d6b32fc Bug 975644: Enable position sticky in table parts. r=bz
MozReview-Commit-ID: 85nCuChHdTa
2017-12-21 20:29:20 +01:00
Emilio Cobos Álvarez
fb0dc0f67a Bug 975644: Add a hack to skip table row groups for sticky positioning. r=bz
This matches Blink's behavior.

Just skipping table row groups from being containing blocks makes
layout/reftests/table-overflow/table-cell-block-overflow.html render differently
(and way more different than any other browser, actually...), so I avoided doing
that.

Though I'm not really proud of this one, better ideas welcome. Maybe I should
just fix table layout so that we agree with WebKit / Blink... But that seemed
harder, too.

MozReview-Commit-ID: AkUB4MFzwZK
2017-12-21 20:29:19 +01:00
Kartikaya Gupta
a086d911df Bug 1426200 - Enable crashtest suite on windows10-64-qr builds. r=catlee,dustin
Note that we need to use the virtual-with-gpu instances on windows for
WebRender to even start up.

MozReview-Commit-ID: 6fMDun7casP

--HG--
extra : rebase_source : 5068bd17d11725c2c0f5bd0b387a54047475f0c6
2017-12-21 14:13:33 -05:00
Kartikaya Gupta
764fec3892 Bug 1426200 - Disable crashtests failing on windows QR builds. r=jrmuizel
MozReview-Commit-ID: AFZFoq1P3dI

--HG--
extra : rebase_source : dbd2cf616e856bbbd3827eb6ce39e41842159b57
2017-12-21 14:13:32 -05:00
Dorel Luca
203856485d Backed out changeset d061700cc3c8 (bug 1378834) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:03:35 +02:00
Dorel Luca
6c33c9bab7 Backed out changeset ffc76e7fc38b (bug 1378834) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:03:21 +02:00
Dorel Luca
c7ad00359e Backed out changeset bca6b0df7212 (bug 1404823) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:03:06 +02:00
Dorel Luca
c6931ba9be Backed out changeset d71acb742e11 (bug 1404796) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:02:52 +02:00
Dorel Luca
3d27ce2abc Backed out changeset 5d8ae8c4ee4a (bug 1423856) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:02:38 +02:00
Dorel Luca
eb4cf8a38d Backed out changeset 40eb00c21e7c (bug 1406662) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:02:20 +02:00
ffxbld
60a54d3ea6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2017-12-21 10:34:39 -08:00
ffxbld
54e9b9f089 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2017-12-21 10:34:36 -08:00