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

58777 Коммитов

Автор SHA1 Сообщение Дата
Alastor Wu 45be72443e bug 1304994 - resubmit input data when MFT returns MF_E_NOTACCEPTING. r=jya
When MFT returns MF_E_NOTACCEPTING means the input buffer is full and it can't
accept input data anymore, so we need to output the data first and then resummit
the input data.

MozReview-Commit-ID: DfSTASsEX7r

--HG--
extra : rebase_source : fd3cff6284345872dd580fbd0568d99129af936c
2017-01-11 11:10:10 +08:00
Markus Stange b797477463 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE

--HG--
extra : rebase_source : 0e7f24d7ef90d8582d7f60729e712bca78ed8e17
2017-01-17 18:07:05 +01:00
Wei-Cheng Pan 9787ace059 Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
MozReview-Commit-ID: 6lNrHbDIUez

--HG--
extra : rebase_source : a7f06ba4a31a328c4e62d6c78d72024c08cc1328
2016-11-23 18:00:42 +08:00
Michelangelo De Simone 7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
JW Wang 992114f5fd Bug 1332160 - use nsCString internally whenever possible. r=gerald
MozReview-Commit-ID: 1DUaJWfbL88

--HG--
extra : rebase_source : f4a02736b0385e4be6258a185822f7855d0b0189
extra : intermediate-source : 1faaf4254a2e1ce2c096a8650b66d07c84c7fdbe
extra : source : c23fc2cea382627af8ff20ae3edea926eaa6d51a
2017-01-18 16:51:31 +08:00
JW Wang fec54be7a5 Bug 1332146 - use stronger assertions in MediaDecoder.h r=kaku
MozReview-Commit-ID: 60umMQWhead

--HG--
extra : rebase_source : 0bdffc01444e11478b3d4395ea2342bc5cd3a559
2017-01-19 10:42:29 +08:00
Chris Pearce abf5ab3771 Bug 1331829 - Remove async shutdown GMP API. r=gerald
Now that we're not supporting Adobe EME anymore, we don't need to
provide a mechanism for GMPs to block browser shutdown.

MozReview-Commit-ID: KUC94IBQiod

--HG--
extra : rebase_source : ed521f28e272de11b2d0c4546b98baf6bd7c6e72
2017-01-18 15:01:56 +13:00
Wes Kocher 656a71a520 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Wes Kocher d8bf77ced9 Backed out 2 changesets (bug 1330918) for frequent gtest failures a=backout
Backed out changeset aedd9a68f2c0 (bug 1330918)
Backed out changeset b2d8a93a50a8 (bug 1330918)

MozReview-Commit-ID: FhQrvvYY8LQ
2017-01-18 15:21:44 -08:00
Wes Kocher 54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Sebastian Hengst 5baf0e453e Backed out changeset 8acb67f2e136 (bug 1331838) for failing GTest CSPParser.SimplePolicies. r=backout on a CLOSED TREE 2017-01-18 17:28:03 +01:00
Ryan VanderMeulen 9e4ddf00bd Backed out 3 changesets (bug 1319660) for causing bug 1329446.
Backed out changeset d506d3c193c9 (bug 1319660)
Backed out changeset 93353b53a706 (bug 1319660)
Backed out changeset 9a7c2edd54b8 (bug 1319660)

--HG--
extra : rebase_source : 43ad1287462697f2312aa18925a462eb85c52495
2017-01-18 10:55:53 -05:00
JW Wang 105e4d8d17 Bug 1329403 - Ensure onload blocker is added once mScriptGlobalObject is set. r=smaug
MozReview-Commit-ID: KREnly28m0v

--HG--
extra : rebase_source : eca2c68f6f136b1ac623c3864a18145c7453b1d2
2017-01-16 17:12:33 +08:00
Ryan VanderMeulen 3aad788019 Merge m-c to inbound. a=merge 2017-01-18 09:54:06 -05:00
Ben Kelly 1f1249cf75 Bug 1328642 Protect multi-thread stream access with a mutex. r=asuth 2017-01-18 06:30:24 -08:00
Ryan VanderMeulen 4eacb032f5 Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Andrea Marchesini 41bb03a148 Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in killing state, r=bkelly 2017-01-18 15:05:41 +01:00
Andrea Marchesini 298618870f Bug 1331849 - Replace NS_NewNativeLocalFile with NS_NewLocalFile in dom, r=smaug 2017-01-18 14:58:37 +01:00
Ehsan Akhgari 1d71312175 Bug 1331676 - Avoid doing sync IPC to the parent process for getting gfx feature status; r=dvander 2017-01-18 08:57:14 -05:00
Ehsan Akhgari 42a8bbcbb1 Bug 1331838 - Remove support for app URIs in CSP directives; r=ckerschb 2017-01-18 08:57:13 -05:00
Sebastian Hengst 0269ef6d15 Backed out changeset 0b09769075af (bug 1275746) 2017-01-18 14:55:47 +01:00
Christoph Kerschbaumer be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Cameron McCormack c5eaaabab2 Bug 1324663 - stylo: More crashtest annotation adjustments. r=me
MozReview-Commit-ID: DLHMu3nmLKO
2017-01-18 15:09:00 +08:00
Boris Zbarsky 49b332e5c1 Bug 1330536 part 8. Annotate Node.textContent as capable of OOM but not of throwing otherwise in the IDL. r=smaug 2017-01-17 23:52:29 -05:00
Boris Zbarsky c23f96a55c Bug 1330536 part 7. Change nsINode::GetTextContent to take an OOMReporter, not an ErrorResult. r=smaug 2017-01-17 23:52:29 -05:00
Boris Zbarsky 0fea28b3da Bug 1330536 part 6. Add tests for code generation for CanOOM members. r=smaug 2017-01-17 23:52:14 -05:00
Boris Zbarsky 1cf89e40b6 Bug 1330536 part 5. Correctly mark fallibility/movability/etc in jitinfo for cases that can OOM but are otherwise infallible. r=smaug 2017-01-17 23:52:13 -05:00
Boris Zbarsky 69cf877f8c Bug 1330536 part 4. Pass OOMReporter from bindings in cases that can OOM but are otherwise infallible. r=smaug 2017-01-17 23:52:13 -05:00
Boris Zbarsky fbf9e7a22b Bug 1330536 part 3. Add a subclass of FastErrorResult that can be used only to throw OOM. r=smaug 2017-01-17 23:52:13 -05:00
Boris Zbarsky cd4d446a9c Bug 1330536 part 2. Change Descriptor.getExtendedAttributes to include 'canOOM' information as needed. r=smaug 2017-01-17 23:52:13 -05:00
Boris Zbarsky 2973eff777 Bug 1330536 part 1. Add a CanOOM annotation, and the corresponding GetterCanOOM, SetterCanOOM annotations, to the IDL parser. These can be used in the cases when Throws/GetterThrows/SetterThrows can be used, to indicate that the only possible exception is NS_ERROR_OUT_OF_MEMORY. r=smaug 2017-01-17 23:52:13 -05:00
Andrea Marchesini c980b8d524 Bug 1323935 - Entries API must use NS_NewLocalFile instead of NS_NewNativeLocalFile, r=smaug 2017-01-18 04:48:29 +01:00
Astley Chen ea8b1d8824 Bug 1331296 : Part 2 - Unprefix -moz-calc() in dom tests. r=heycam
MozReview-Commit-ID: DTmuxTZ6S6a

--HG--
extra : rebase_source : 3fd81cfb0bd0c819b3ce700487471246e9cf3498
2017-01-18 10:50:24 +08:00
Cameron McCormack 5c5c0e175d Bug 1331326 - stylo: Shuffle some nsIDocument fields around to avoid rust-bindgen problem. r=bz
MozReview-Commit-ID: sYpRzC2t0E

--HG--
extra : rebase_source : f9ce14bae5ca7adb74ffd8512927575c26126a81
2017-01-16 16:27:56 +08:00
David Anderson c74b40959d Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 4ff77f95ef818f59edb3d3b167548d84773a416f
2017-01-17 18:47:05 -08:00
Ehsan Akhgari 48a4abb8c9 Bug 1325467 - Part 3: Add a pref for adjusting the minimum timeout for tracking timeouts; r=bkelly
These prefs allow us to customize the treatment for foreground and
background tabs.  By default these timeouts aren't treated differently.
2017-01-17 21:01:17 -05:00
Ehsan Akhgari d9ae1e342b Bug 1325467 - Part 2: Let TimeoutManager::DOMMinTimeoutValue know whethe the timeout being scheduled is tracking; r=bkelly 2017-01-17 21:01:16 -05:00
Ehsan Akhgari 453c89e409 Bug 1325467 - Part 1: Add Timeout::mIsTracking; r=bkelly 2017-01-17 21:01:15 -05:00
Wes Kocher 602c930ba0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 10MpA6zwIWr
2017-01-17 17:59:26 -08:00
Jeff Gilbert 4da6480883 Bug 1329815 - GeneratePerfWarning and warn on completed-FB invalidation. - r=kvark
MozReview-Commit-ID: C9J3qdnsaZF
2017-01-17 17:44:56 -08:00
Ben Kelly abfbb82e23 Bug 1331193 P2 Don't leave TabChild in inconsistent state if init fails. r=billm 2017-01-17 16:28:40 -08:00
Ben Kelly 76b154e7c1 Bug 1331193 Make TabChild handle a nullptr mMessageManager. r=smaug 2017-01-17 16:28:39 -08:00
Nicholas Nethercote 290ea5719b Bug 1330512 (part 2) - DocGroup labelling in nsGlobalWindow.cpp. r=billm.
For all the NS_DispatchToCurrentThread() cases I wasn't sure if we are
guaranteed to be on the main thread, but nsGlobalWindow::Dispatch() has a
MOZ_RELEASE_ASSERT(NS_IsMainThread()) and a try push showed up no problems
there.
2017-01-18 09:52:20 +11:00
Nicholas Nethercote b1f2ed57b2 Bug 1330512 (part 1) - DocGroup labelling in nsDocument.cpp. r=billm.
For all the NS_DispatchToCurrentThread() cases I wasn't sure if we are
guaranteed to be on the main thread, so I added
MOZ_RELEASE_ASSERT(NS_IsMainThread()) to all of them. A try push showed up no
problems there.
2017-01-18 09:51:59 +11:00
Nicholas Nethercote 5a388e7fe3 Bug 1330512 (part 0) - Add an nsresult return value to DocGroup::GetKey(). r=billm.
Because we need to treat failing cases differently in some places.

--HG--
extra : rebase_source : ad11f4acc2f44ccdef00d7919bdffb3753a52b36
2017-01-17 11:10:27 +11:00
David Parks a37ce18488 Bug 1306698 - Make sure that async changes to the plugin render mode do not cause AsyncShowPluginFrame to run when doing direct drawing. r=dvander 2017-01-10 17:47:25 -08:00
Wes Kocher cb7e0bda60 Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer 05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Benjamin Smedberg 1f3b6e235c Bug 1330998 - Invalidate pluginreg.dat based on whether the flash-only pref is flipped, so that if users switch between 52 and 52ESR it gets updated correctly. r=qdot
MozReview-Commit-ID: 64yamsyIudD

--HG--
extra : rebase_source : d68a466d933ab17d8f753215f2a584539291de33
extra : amend_source : 80294e413ae5167d1650ee5a092de7d4dc4987cf
2017-01-17 13:44:13 -05:00
Bill McCloskey 50b0406bb7 Bug 1328423 - Switch tab switch assertion to use AutoAssertNoContentJS (r=dvander)
MozReview-Commit-ID: D7bAfJRWLRg
2017-01-17 13:28:47 -08:00