Andrea Marchesini
dddaf22902
Bug 1357503 - Some additional CX exception checks in Console API code, r=smaug
2017-04-18 22:22:55 +02:00
Andrea Marchesini
c56fc1bd8e
Bug 1356580 - Better check of PMemoryStream actor creation in Blob code, r=qdot
2017-04-18 22:16:04 +02:00
Andrea Marchesini
50e007bc26
Bug 1357411 - Use IgnoredErrorResult in dom/events/ContentEventHandler.cpp, r=qdot
2017-04-18 21:11:08 +02:00
John Dai
f671ddc4a6
Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions code. r=bz
...
MozReview-Commit-ID: 61A5YNtJQXF
--HG--
extra : rebase_source : 4ab333a1cf4169047c4500d85412d5b3a642b4eb
extra : histedit_source : 21766c291f63de284baf71fd1d8cf2bb1aaf4bc0
2017-03-30 17:35:59 +08:00
John Dai
dc7998c7d8
Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry. r=bz
...
MozReview-Commit-ID: ID2TIL9C47R
--HG--
extra : rebase_source : ad2ea9e7b4925d22743a55f55fd6c55e1a8ae805
extra : histedit_source : 176dfbb8a76a1f386d43f20cad1d4fa6125c77af
2017-03-30 18:58:48 +08:00
John Dai
b32e4c240b
Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen. r=bz
...
MozReview-Commit-ID: F1mxKzlru9s
--HG--
extra : rebase_source : a5e52ef2f3168028dec2c3186e857941953ad517
extra : histedit_source : 2336479daf177cb7ca55ee517c8317852bed09ef
2017-03-08 17:11:48 +08:00
John Dai
a9bed711dc
Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen to generate CEReaction code. r=bz
...
MozReview-Commit-ID: BZwO7I4uh2
--HG--
extra : rebase_source : 1258bad2a723bdd1a0b3c52342ada3faa9b7a7a5
extra : histedit_source : d87a1c3876c37d61bd93690c85a86bd5333aa5e3
2017-03-08 17:09:59 +08:00
John Dai
3fbf49822e
Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser. r=bz
...
MozReview-Commit-ID: Dw0CMgzXKKy
--HG--
extra : rebase_source : 2254eae5076d4d51eff61d8ee1363075c3aeb13b
extra : histedit_source : 618b4e46eb6b5ac1791bd4f762a97373c6b8e2b3
2017-02-03 11:44:09 +08:00
Andrea Marchesini
81a9f1a5b2
Bug 1343172 - PBlob should not create a remoteInputStream if that already exists, r=smaug
2017-04-18 13:54:15 +02:00
Andrea Marchesini
1ee7d66ef2
Bug 1354599 - Use of DOMEventTargetHelper::KeepAliveIfHasListenersFor in BroadcastChannel, r=smaug
2017-04-18 13:51:59 +02:00
Andrea Marchesini
b623ab29ec
Bug 1354599 - Implement DOMEventTargetHelper::KeepAliveIfHasListenersFor, r=smaug
2017-04-18 13:51:27 +02:00
Carsten "Tomcat" Book
da0672e690
Merge mozilla-central to mozilla-inbound
2017-04-18 10:35:51 +02:00
Carsten "Tomcat" Book
bb87f43c09
merge mozilla-inbound to mozilla-central a=merge
2017-04-18 10:21:31 +02:00
Jan Varga
20e990962b
Bug 1350564 - Don't try to addref a null mResult in Request::GetResult and UsageRequest::GetResult (mResult can be null when mHaveResultOrErrorCode is true); r=btseng
2017-04-18 10:15:57 +02:00
JW Wang
837a8390aa
Bug 1356502. P2 - let VideoData::UpdateTimestamp() take a TimeUnit instead of ambiguous int64_t. r=gerald
...
MozReview-Commit-ID: G17uLSrjBrR
--HG--
extra : rebase_source : 7b1f57e85ff7610c50c84e7b92d10772712e5bf7
extra : intermediate-source : c725b22a1dc94bbb549c57064a151783b9aa1152
extra : source : 65f2827866f62a89e1865c60ea6c1437f4faee27
2017-04-14 14:17:04 +08:00
JW Wang
3c0e7bddc7
Bug 1356502. P1 - let MediaDatra::GetEndTime() return a TimeUnit instead of ambiguous int64_t. r=gerald
...
MozReview-Commit-ID: DBQELBs32Ad
--HG--
extra : rebase_source : a7c9f7affbdfa12aaf94a6d0505cf4f54f4408cc
extra : intermediate-source : e1fcccdb12bb86c23520b5c2e0d76aef355597a5
extra : source : ddb8a8382c74e18dd52cdfbc7e8eee54cf46f05d
2017-04-14 14:14:08 +08:00
L. David Baron
1d8b4e0ef0
Bug 1307134 - Rename nsGlobalWindow::EnsureSizeUpToDate to EnsureSizeAndPositionUpToDate. r=tnikkel
...
This is because it does ensure both, and some of the callers care about
size and some care about position.
MozReview-Commit-ID: 3e8II6Lf72X
--HG--
extra : transplant_source : %EE%5E%87%1D%AA%EB%B9%22%D9%D6%D2%9D6U%C4%2A%CA%A1r%E9
2017-04-18 11:28:52 +09:00
L. David Baron
05bfb6bf19
Bug 1307134 - Only flush in ancestor documents for window.mozInnerScreenX/Y. r=tnikkel
...
This reduces the amount of flushing we do when these APIs are called on
the root document, but increases the amount of flushing we do (probably
fixing existing bugs) when these APIs are called in a document at depth
three or more (if you consider the root depth one).
I considered the idea of adding a EnsurePositionUpToDate alias, but it
seems that some of the existing users of EnsureSizeUpToDate actually
care about position (e.g.,
nsLayoutUtils::GetDeviceContextForScreenInfo), so I just added a comment
instead.
MozReview-Commit-ID: B3L5DDQ5krc
--HG--
extra : transplant_source : J%05%F1%20M%40%88Wz%F5s_%FB%0D%0C%D6%F2%103%9B
2017-04-18 11:28:50 +09:00
Makoto Kato
f711389dd1
Bug 1352882 - Part 2. Add test for RequiresReinitAfterOutput. r=smaug
...
MozReview-Commit-ID: 97FNGeunmof
--HG--
extra : rebase_source : 19c030fdf567f695a6029a43513e7100ac72424a
2017-04-17 19:02:39 +09:00
Makoto Kato
da147c947a
Bug 1352882 - Part 1. Add releasing nsIDocument option to recycle nsIDocumentEncoder. r=smaug
...
Editor uses weak reference for nsIDocument. But nsDocumentEncoder has strong reference of nsIDocument. So to recycle nsIDocumentEncoder, editor wants the option that nsIDocumentEncoder releases nsIDocument into nsDocumentEncoder after EncodeTo* is called.
MozReview-Commit-ID: K3E9XhgD8FY
--HG--
extra : rebase_source : d37983705d574a2443c8f7504c7f5e3f35470ef1
2017-04-17 19:49:52 +09:00
Mats Palmgren
b73a39811b
Bug 1357092 - Make EnsureWritablePath() always try to create a mPathBuilder, also when we don't have a valid target (i.e. for sErrorTarget). r=mstange
...
MozReview-Commit-ID: AzyZOpsIdwA
2017-04-18 00:56:34 +02:00
Wes Kocher
b53f4d8806
Merge m-c to inbound, a=merge
2017-04-17 13:03:40 -07:00
Wes Kocher
228c755a80
Merge inbound to central, a=merge
2017-04-17 12:56:25 -07:00
Wes Kocher
0becaff588
Merge autoland to central, a=merge
2017-04-17 12:41:36 -07:00
Kearwood Gilbert
c944eed13a
Bug 1356387 - Add constructor to VRHMDSensorState
...
- Also removed some now redundant calls to VRHMDSensorState::Clear()
MozReview-Commit-ID: Kkbvkn3XAP4
--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Michael Layzell
344f335411
backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
...
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.
MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Kartikaya Gupta
4444fcf4d5
Bug 1356695 - Don't expose DOM touch APIs with autodetection if APZ is disabled. r=smaug
...
When the dom.w3c_touch_events.enabled pref is set to "2" (autodetect) on Win/Linux,
it checks to see if the hardware supports touch events, and only enables the
DOM touch APIs if so. However, even if the hardware supports touch events, we
might have e10s or APZ disabled for other reasons, and in those cases we don't
actually turn on touch support in the widget (nsBaseWidget::RegisterTouchWindow
will not be called). So in those cases the widget will never actually dispatch
touch events, and the DOM touch APIs shouldn't be exposed either. This patch
implements this by checking the APZ state when deciding whether or not to
expose the DOM touch APIs.
MozReview-Commit-ID: EIvJh030b0X
2017-04-17 11:56:22 -04:00
Kartikaya Gupta
4087e4ae28
Merge m-c to graphics
...
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
Kartikaya Gupta
41c543ac1b
Merge m-c to graphics
...
MozReview-Commit-ID: G9MmPXdyBxg
2017-04-17 09:40:34 -04:00
Sebastian Hengst
eacfbf3ac6
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: D039X4edhVO
2017-04-16 20:00:50 +02:00
Michael Layzell
7c1713568d
Bug 1356277 - Part 2: Add a test for LIMIT_THIRD_PARTY permission with sessionStorage, r=ehsan
...
MozReview-Commit-ID: 6EI2eynexN0
2017-04-17 15:14:56 -04:00
Michael Layzell
5ce7492734
Bug 1356277 - Part 1: Respect ALLOW_FIRST_PARTY_ONLY and LIMIT_THIRD_PARTY permissions in StorageAllowedFor*, r=ehsan
...
MozReview-Commit-ID: 7TQSFk7EGmk
2017-04-17 15:14:54 -04:00
Michael Layzell
52e859430e
Bug 1352281 - Include KIND_OTHER types in DataTransfer.types, r=baku
...
MozReview-Commit-ID: EoqzAydaLea
2017-04-17 14:57:25 -04:00
Ehsan Akhgari
565998d286
Bug 1356835 - Reduce the hashtable lookup cost in nsContentPolicy::CheckPolicy(); r=qdot
2017-04-15 19:10:46 -04:00
Kartikaya Gupta
1e8738cabb
Merge m-c to graphics
...
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Sebastian Hengst
96f0bd0fb6
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-04-15 20:10:39 +02:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Ehsan Akhgari
4d48614a50
Bug 1356755
- Don't pass a null pointer to NotifyDocumentTree(); r=qdot
2017-04-15 12:44:31 -04:00
Olli Pettay
27d9c5656a
Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz
2017-04-15 18:55:05 +03:00
Hiroyuki Ikezoe
5d653db212
Bug 1324700 - Update reftest expectations. r=heycam
...
MozReview-Commit-ID: 38Gk7MCIjJD
--HG--
extra : rebase_source : c731ddc207090ef3c1003a4e7b328e6d939e6c3b
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
0da40fea4c
Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
...
MozReview-Commit-ID: KPhujlE54vL
--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
df137b26a6
Bug 1324700 - Drop warnings for stylo. r=heycam
...
The code path no longer happens on stylo.
MozReview-Commit-ID: LdQFPNd5YnX
--HG--
extra : rebase_source : 1213f7e944858ddac8061534823f20177c4f63a6
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
a52cf990ce
Bug 1324700 - Resolve filter property for servo. r=heycam
...
MozReview-Commit-ID: 6IHs682rZfH
--HG--
extra : rebase_source : 6688d70a0c92e27f15e97f0d55062fc74f08339e
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
3f46fb9acf
Bug 1324700 - Add a function which is equivalent to ResolveStyleForFilter for servo. r=heycam
...
Also ResolveStyleForFilter is renamed to ResolveFilterStyle for consistency.
MozReview-Commit-ID: IEOxNexpnl5
--HG--
extra : rebase_source : bd806654b3e5462b3abb4fc226b3824bc0acb71f
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
1e6deac4e2
Bug 1324700 - Resolve font property for servo. r=heycam
...
MozReview-Commit-ID: BvQXFMP0Zr9
--HG--
extra : rebase_source : 9211fa78dd3bf19afe0564e8328d95df2aa8068a
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
b4e5e8f728
Bug 1324700 - Add a function which is equivalent to GetFontStyleContext() for servo. r=heycam
...
MozReview-Commit-ID: K4KvPk4fJTb
--HG--
extra : rebase_source : 53d8f91652d803b953a86eb03817d40d89e27069
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
a469fe8fd0
Bug 1324700 - Add a function which is equivalent to CreateDeclaration() for servo. r=heycam
...
MozReview-Commit-ID: 8zgpqLzftbV
--HG--
extra : rebase_source : 6940af726bba96295a7402b4791f170a606fc0f4
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
784bf46abc
Bug 1324700 - Servo_ParseProperty() takes nsCSSPropertyID instead of nsACString. r=heycam
...
MozReview-Commit-ID: Gn90DBlJSS9
--HG--
extra : rebase_source : 444f4188de7e32f5414f2b75046903dc504db1a0
2017-04-15 07:37:34 +09:00
Sebastian Hengst
cfea98eabf
merge mozilla-central to autoland. r=merge a=merge
2017-04-15 20:08:03 +02:00
Florian Queze
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00