Commit Graph

3550 Commits

Author SHA1 Message Date
Kirk Steuber
5b3eba1f2b Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
MozReview-Commit-ID: 7y3GFBZxjsS

--HG--
extra : rebase_source : 9d5aaaa6caad336c85c42002df321b382c90c8a9
2016-06-21 11:45:25 -07:00
Cervantes Yu
c6b5006b93 Bug 1268900 - Part 4: Add message verifier to PContent::ReadPrefsArray() message. r=billm
MozReview-Commit-ID: HXaxnTlgtOR
2016-06-22 17:52:23 +08:00
Kershaw Chang
b3af0af713 Bug 1268810 - Set SANDBOXED_AUXILIARY_NAVIGATION flag to receiver page, r=smaug 2016-06-21 20:31:00 +02:00
Jordan
f35a9b375c Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
Masayuki Nakano
f8210c2a4e Bug 1275918 part.2 Update TextComposition::mCompositionStartOffset when it's modified in the remote process r=m_kato
MozReview-Commit-ID: H1SJTWWav6G

--HG--
extra : rebase_source : 6d7d79e7d4d719b720bed4f4c20196079fb8b5fb
2016-06-14 21:06:34 +09:00
Kartikaya Gupta
1359297bec Bug 1280805 - Don't assert in the valid case where the child process gets an event with an input block id but no mHandledByAPZ. r=rbarker
MozReview-Commit-ID: 9L4xdnoSJ0p

--HG--
extra : rebase_source : 464157cefc0d46a2fc0ad77ae893baf00fe594f7
2016-06-20 12:52:47 -04:00
Dave Huseby
01531fb1f2 Bug 1280497 - fixes bug 1280497 by removing the assert and adding missing code in permission manage. r= baku
fixes bug 1280497 by removing the assert and adding missing code in
permission manager.

--HG--
extra : amend_source : 35cf87cc1a13fbb9cbe135a004373783c681ed6b
2016-06-17 08:18:00 +02:00
Cervantes Yu
28706c5d87 Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical
MozReview-Commit-ID: 9XETnSBXxEW
2016-06-16 00:57:46 +08:00
Cervantes Yu
3115f628a1 Bug 1272018 - Use shared memory to transfer drag image data. r=nical
MozReview-Commit-ID: K5r9LBQ1FO0
2016-06-15 13:49:13 +01:00
Thomas Zimmermann
d02cd93e6c Bug 1279458: Add 'aHaveBidiKeyboards' when calling |RecvGetXPCOMProcessAttributes|, r=masayuki
MozReview-Commit-ID: 9VMxsenlEjW
2016-06-13 16:43:45 +02:00
Gabriele Svelto
a7b46c973d Backed out changeset c1dd7376263e (bug 1262852) which caused crashdumps from plugin hangs to be without a signature. 2016-06-12 00:25:25 +02:00
Blake Kaplan
e6e116bff5 Bug 1274516 - Add a helper to iterate over all ContentParents and use it to clear the image cache in both the parent and child processes. r=billm r=seth 2016-06-10 16:00:22 -07:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
David Anderson
a00c07b27f Remove ContentParent calls to MessageChannel::CloseWithError. (bug 1275467, r=billm)
--HG--
extra : rebase_source : da7cd0836576aedb6ed3ee7a3b287445b102e6b4
2016-06-09 17:52:33 -04:00
Neil Deakin
ea192c61f5 Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
Makoto Kato
cadf9d8f77 Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki
MozReview-Commit-ID: 87J4hE79e3n

--HG--
extra : rebase_source : fbfb473ebfd28a0f19b81b8030a0dfe60bc310a9
extra : histedit_source : e8b2ab1c0da578be8170ed5380d43cb4503ab299
2016-06-03 18:56:04 +09:00
Bill McCloskey
4c22980cdc Bug 1268559 - Wait to finish nested event loops before shutdown (r=bsmedberg) 2016-06-08 22:10:44 -07:00
Mike Conley
f13dfb3a18 Bug 1278989 - Make parent outer window available on TabParent. r=mrbkap
MozReview-Commit-ID: 9nS1zQkGmu3

--HG--
extra : rebase_source : 29a22118d6670669b98ee4506ec1a2e4ed25521d
2016-04-27 15:40:36 -04:00
Jonas Sicking
00ad3a0f9d Bug 1263991 parts 2 and 2.5: Enable launching a server in the parent process. r=baku,ehsan 2016-06-07 02:46:03 -07:00
Kartikaya Gupta
4131eaf041 Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.

MozReview-Commit-ID: GBlgj6whi5T

--HG--
extra : rebase_source : 01cbbe8b90208a8dc5ab81ab9bdbd39d3bc8ee7a
2016-06-07 11:07:55 -04:00
Carsten "Tomcat" Book
038912c550 Backed out changeset 65e49149fbcc (bug 1263991) 2016-06-07 12:10:29 +02:00
Jonas Sicking
d1f24d4d69 Bug 1263991 part 2: Enable launching a server in the parent process. r=baku 2016-06-07 02:46:03 -07:00
Michelangelo De Simone
b094f2be2a Bug 1278410 - The Geolocation fuzzing implementation has been removed. r=dougt
MozReview-Commit-ID: 6x4Z4IayvCt

--HG--
extra : transplant_source : M%E0%3E%12%84%D7%0DQBT%91%08%7B%D7%8D%7Cyfc%9B
2016-06-06 15:50:12 -07:00
James Andreou
14c6b15018 Bug 1277357 - Remove nsDocShell:SetUsePrivateBrowsing cpp consumers and some JS consumers r=jdm 2016-06-06 07:42:00 +02:00
Gabriele Svelto
213e33cf3f Bug 1262852 - Create a minidump upon each plugin hang r=jimm 2016-05-26 00:14:36 +02:00
Carsten "Tomcat" Book
71eb3110f9 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
dimi
8d44df2c72 Bug 1258033 - Part 1: Add IsTrackingProtectionOn for nsILoadContext. r=smaug
MozReview-Commit-ID: 2eQzO6KDLyX

--HG--
extra : rebase_source : 1f5c1c7b250336ff4ecf1e5b3949a532b7bb9144
2016-06-02 10:12:39 +08:00
Kit Cambridge
a5dc7d0ed9 Bug 1275434 - Notify "push-subscription-modified" observers in the child. r=dragana
MozReview-Commit-ID: H3DGrhEm3fn

--HG--
extra : rebase_source : 37d9a07d2a852cdccb9e6c339cf9bcbe01fb6c88
2016-05-14 16:54:51 -07:00
Kit Cambridge
21fdc3d97d Bug 1275434 - Refactor PushNotifier to clarify remoting logic. r=dragana
Previously, all `PushNotifier` methods checked the process type, and
either called `Notify*{Workers, Observers}` or sent an IPDL message.
The message handlers then called back in to `PushNotifier` from the
remote process.

This was clearer when we only sent worker event notifications to the
content process, and fired all observer notifications in the parent.
It became more complicated once we started notifying observers for all
subscriptions in both processes (bug 1266433). This makes it harder to
see omissions; for example, "push-subscription-modified" isn't
currently forwarded to the child, but "push-subscription-change" and
"push-message" are.

This patch moves the remoting code into `PushNotifier::Dispatch`, and
adds a base `PushDispatcher` class. Each notification type subclasses
this class and implements logic for sending messages and firing
observers and worker events. It's more code, but a bit easier to see
which methods are called where.

MozReview-Commit-ID: 7Q0eD7qXOrW

--HG--
extra : rebase_source : c69acb95a0cb5470cf1c804639971be41b976cc2
2016-05-19 19:01:34 -07:00
James Andreou
1d32e86b9c Bug 1269361 - Add mPrivateBrowsingId to OriginAttributes r=ehsan,jdm 2016-06-02 17:03:11 -04:00
Jim Mathies
d9d8c491ff Bug 1268559 - Add a safety shutdown timer in ContentChild. r=billm
MozReview-Commit-ID: FVnOvJzErpI
2016-06-02 07:52:17 -05:00
Olli Pettay
ceff37e7d0 bug 1276013, fix regression in e10s window name handling, r=mconley
--HG--
extra : rebase_source : 0ed994af42ae9f070fb31ec4a1e82914dbf7e48e
2016-05-31 22:38:44 +03:00
Marcos Caceres
095622d6de Bug 1265279 - Web Manifest: Implement window.oninstall. r=baku
* Add tests for window.oninstall
* Teach manifestMessages how to fire install event
* Test that the install event fired from Parent process
2016-05-30 18:52:00 +02:00
Bob Owen
5cb072a2c8 Bug 1274937: Add outer window ID argument to nsFrameLoader::Print to allow printing of frames. r=jimm
MozReview-Commit-ID: CmZp0mogTFx

--HG--
extra : rebase_source : cc5f9f9df84d50c15c82faafb838b94ddf079ce1
2016-05-25 07:41:54 +01:00
Karl Tomlinson
39cdd7f4f6 bug 1276086 set GLib prgname in child process r=glandium
MozReview-Commit-ID: 4Neb36zGScf

--HG--
extra : rebase_source : e9abe5b1fe76997efa5f0308cb53e22acdf33f9f
2016-05-27 11:50:26 +12:00
Bill McCloskey
2e4314c9a7 Bug 1262671 - IPC ReadData/ReadBytes elimination (r=froydnj) 2016-05-27 09:57:39 -07:00
Bill McCloskey
291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Mats Palmgren
4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
David Anderson
cc844f6053 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
3284628c95 Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
Shih-Chiang Chien
859a30461d Bug 1234128 - Part 1, add mozpresentation attribute in browser element. r=smaug. 2016-05-24 14:19:22 +08:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Makoto Kato
d8ef4deef4 Bug 1177943 - Part 5. Add IPC for e10s support. r=masayuki
Implement LookUpDictionary to PuppetWidget and PBrowser for e10s.

MozReview-Commit-ID: 44SrfuLJoCF
2016-04-26 17:18:04 +09:00
David Anderson
3afaab9b67 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
5a87aaf54e Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
25f45d71ec Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
Mats Palmgren
fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Samael Wang
d6e0c31eda Bug 1271240 - Part 1: Support prerender flag in e10s and implement makePrerenderedBrowserActive(). r=smaug
MozReview-Commit-ID: 73E2kmqxRwm

--HG--
extra : rebase_source : 35441f58e15013b00a0774f764378fd5e0143add
2016-05-20 11:36:27 +08:00
Alexandre Lissy
b423621b8a Bug 1273998 - Proper export of printing IPDL with --disable-printing r=bobowen,glandium,?glandium
MozReview-Commit-ID: GNUrl6LKcMm

--HG--
extra : rebase_source : 9c1949b51b87c1d3bf6c8e59b36b6ebed263e22b
2016-05-19 12:25:22 +02:00
Blake Kaplan
ad87d3252d Bug 1244533 - Pass dragend coordinates down to the content process. r=enndeakin 2016-05-19 11:55:40 -07:00
Ryan VanderMeulen
9d4120d4eb Backed out 3 changesets (bug 1234128) for Android crashtest failures.
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)

CLOSED TREE

--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Julian Hector
20f3e3ceaa Bug 1259508 - Cubeb init before seccomp. r=jld
--HG--
extra : rebase_source : 83c02a77385fbb187b274d27e10487b0acad8c1a
2016-05-12 14:35:11 +02:00
Shih-Chiang Chien
79fd83ae47 Bug 1234128 - Part 1: Add mozpresentation attribute in browser element. r=smaug
--HG--
extra : rebase_source : ba957a216d873638a61eb2b80be3cf2f0fe661ff
2016-05-17 11:10:59 +08:00
Alexandre Lissy
20b739aeda Bug 1273520 - NS_NewRunnable* renaming and include task.h r=fabrice
MozReview-Commit-ID: BcAboKGMr3a

--HG--
extra : rebase_source : 6c5050527d8dffbce4a5e867bd48254a1041e657
2016-05-18 18:25:35 +02:00
Blake Kaplan
bcf0609588 Bug 1267844 - fix bustage r=bustage 2016-05-17 15:56:52 -07:00
Blake Kaplan
75c1fabad5 Bug 1267844 - Make swapping render frames swap update observers too. r=mconley 2016-05-17 15:43:27 -07:00
Yoshi Huang
b0b5fc2bf1 Bug 1250063 - Part 2: don't call notifyTabContextUpdated(). r=sicking 2016-05-17 19:49:10 +08:00
Edwin Flores
662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00
Bob Owen
2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Bob Owen
3a3dd7efbb Bug 1189846 Part 7: Create nsPrintingProxy and PrintingParent during process initialization. r=jimm
MozReview-Commit-ID: 98g7eZUJ6bY
2016-05-16 10:40:54 +01:00
David Anderson
03a3af51b6 Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow) 2016-05-15 23:39:30 -07:00
Kan-Ru Chen
c5d6a959b2 Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Kan-Ru Chen
d5e601ce6f Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
Ben Kelly
749d2c1626 Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Andrea Marchesini
6441b9d372 Bug 1258490 - Implement file.webkitrelativepath, r=smaug 2016-05-13 13:11:38 +02:00
Kyle Huey
c8143d07d7 Bug 1272415: Don't include task.h everywhere. r=froydnj 2016-05-12 15:15:43 -07:00
Masayuki Nakano
0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Phil Ringnalda
c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
JerryShih
cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
Mats Palmgren
e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Neil Deakin
405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Gabor Krizsanits
2585c3f697 Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
Kit Cambridge
de899472f4 Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
MozReview-Commit-ID: J1vU3nRKlsa

--HG--
extra : rebase_source : 9a1fabbdc42afb92a224fb5e89c2eaf106943cc9
2016-05-02 09:38:47 -07:00
Kit Cambridge
a186376653 Bug 1269385 - Notify Dev Tools when a push subscription is modified. f=janx r=dragana
MozReview-Commit-ID: 3iTl7jH9IkB

--HG--
extra : rebase_source : 4b3fe86714564373cd4fc1efc10239e12b8bbc76
2016-05-02 08:20:14 -07:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
44cee0989e Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
7311b10562 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey
63a71e96b0 Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-05-05 01:44:59 -07:00
Bill McCloskey
4d99b7209e Bug 1269961 - Collect more telemetry on content process crashes (r=jimm,mconley) 2016-05-04 15:09:50 -07:00
Kyle Huey
7b5968c7bc Bug 1268341: Suppress gdk deprecation warning in ContentParent. r=karlt
--HG--
extra : rebase_source : 2effddc518a5261606eaf756280df4dee9489378
2016-05-03 22:37:54 -07:00
J. Ryan Stinnett
a899dd1d54 Bug 1268688 - Start browser API for frames swapping to HTML. r=bz
MozReview-Commit-ID: 56lMg0b86Bp
2016-05-03 14:58:03 -05:00
Catalin Badea
9ba6ac46d2 Bug 1218080 - Don't send the url to the parent process when opening new windows, because it is not actually used. r=smaug 2016-05-03 18:15:07 +03:00
Kit Cambridge
9265c4b746 Back out 3 changesets (bug 1263799) for bustage.
Backed out changeset d379317d86df (bug 1263799)
Backed out changeset 067e84f524d1 (bug 1263799)
Backed out changeset 8f31424a9d07 (bug 1263799)

MozReview-Commit-ID: KJ9b8tC5k4n

--HG--
extra : rebase_source : 125da6dbfe299e6f4621fce20e88d796d123fce0
2016-05-02 11:38:55 -07:00
Kevin Chen
da1553afa4 Bug 1263799 - Support IPC for TV service between B2G and content processes. Part 2 - IPC. r=schien
MozReview-Commit-ID: 4lZj8rVYoDV

--HG--
extra : rebase_source : f3d5186c0c26e61e80d6485262c45564f8ac45cf
2016-04-15 13:44:20 +08:00
Thomas Zimmermann
42c137c01d Bug 1268432: Replace |Task| with |Runnable| in B2G code r=fabrice
This patch converts the remaining B2G code from |Task| to |Runnable| and
fixes related API calls. This is a follow-up to bug 1266595.
2016-05-02 10:27:15 -07:00
Carsten "Tomcat" Book
f13688180e Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
--HG--
extra : rebase_source : 0af725bfab61b8f86e0243490aa970535f726503
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
dfff02b90d Backed out changeset fd833da413ad (bug 1268313)
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
de92769e7e Backed out changeset 4bcb784492bb (bug 1268313)
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andrea Marchesini
1c0c183890 Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
12d497cb39 Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
72c9966484 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
e713dbefec Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
KuoE0
846c1e60ec Bug 1234492 - Part 1 - Add direction in PresentationService, r=smaug
Conflicts:
	dom/presentation/PresentationConnection.cpp
	dom/presentation/PresentationService.cpp
	dom/presentation/interfaces/nsIPresentationService.idl
	dom/presentation/ipc/PPresentation.ipdl
	dom/presentation/ipc/PresentationIPCService.cpp
	dom/presentation/ipc/PresentationParent.cpp

--HG--
extra : rebase_source : c592a64c13113cc323a18a68c103faaa7614d314
2016-04-18 02:19:00 +02:00
Gregor Wagner
acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Jonathan Watt
258f5b6244 Bug 1267718 - Add a nsPIDOMWindow::GetScriptableParentOrNull method. r=bz
MozReview-Commit-ID: 9L33Wq0fBF6
2016-04-25 15:17:32 +01:00
Kit Cambridge
6de951432a Bug 1266433 - Clean up nsIPushNotifier static casts. r=dragana
MozReview-Commit-ID: AsZZ4TJquuB

--HG--
extra : rebase_source : c38f971c435748947c85c1f2bba9ea69d7fddaf1
2016-04-22 20:27:44 -07:00
Kit Cambridge
87fd821095 Bug 1266433 - Send an observer notification when a push subscription is lost. f=janx r=dragana
MozReview-Commit-ID: EjCVWje2jLB

--HG--
extra : rebase_source : 1cab8dfb1514a44a6e36f37e55e520ebaa343659
2016-04-21 12:04:15 -07:00
Kit Cambridge
4a32c937e7 Bug 1266433 - Send Push observer notifications to parent and content processes. f=janx r=dragana
MozReview-Commit-ID: 1aUS8HcQApo

--HG--
extra : rebase_source : 63c35b05cf9219c311ce96cd99932c6c20bd1e0c
2016-04-21 11:11:03 -07:00
Haik Aftandilian
8fc23a5fdd Bug 1266484 - Fix crash in libsystem_kernel.dylib@0x16db6 when using Pinboard bookmarklet. r=gabor
--HG--
extra : histedit_source : 695d0b91bfaab84089e8a74ac2762c749960fb8d
2016-04-25 09:33:00 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Bas Schouten
a7d662a2b1 Bug 1262898: Keep the GeckoChildProcessHost alive for the lifetime of the CompositorBridge and ImageBridge parent actors. r=jimm r=nical
MozReview-Commit-ID: 1rsWqRpbhgN
2016-04-25 03:54:07 +00:00
Ryan VanderMeulen
2fea4e0c11 Backed out 3 changesets (bug 1234492) for frequent OSX test_presentation_dc_receiver.html failures.
Backed out changeset 94ec70bf8c22 (bug 1234492)
Backed out changeset ac0e65743b5d (bug 1234492)
Backed out changeset 801cac365dd9 (bug 1234492)
2016-04-24 18:50:55 -04:00
KuoE0
e5175b9483 Bug 1234492 - Part 1: Add direction in PresentationService. r=smaug
--HG--
extra : rebase_source : 56c30d5565e5875b2f30f8f07fad01f91a15f0f0
extra : histedit_source : 7273fb211f9656ab0487301227b3d6361644b7e8
2015-11-27 16:06:32 +08:00
Wei-Cheng Pan
daa8e38158 Bug 1259641 - Do not force reflow for all tabs when size mode changed. r=smaug
MozReview-Commit-ID: GoTCM60Hmlf

--HG--
extra : transplant_source : S%88%AD%A3%99%9Bk%D3%E4U%0302%82%87o3%28%FFK
2016-04-20 11:41:42 +08:00
Masayuki Nakano
b332dc9ff4 Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved.  However, posting all key events to the chrome process may make damage to the performance of text input.  Therefore, this patch starts to post a key event whose key combination may be a shortcut key.  However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.

For receiving response from widget, this patch defines nsIKeyEventInPluginCallback.  It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply.  Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process.  However, if the widget is a PuppetWidget, it cannot return the result synchronously.  Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks.  Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().

MozReview-Commit-ID: G6brOU26NwQ

--HG--
extra : rebase_source : 8140456de278956d2d594e85c7b397ae366b4962
2016-04-19 20:09:37 +09:00
Nicholas Nethercote
c67e520ade Bug 1265273 - Add two missing get_PBrowserParent() null checks. r=jimm.
Most calls to get_PBrowserParent() have their return value null checked, but
two don't. This patch adds checks for those two calls.
2016-04-22 08:05:23 +10:00
Neil Deakin
a030ec3ce6 Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
Benoit Girard
85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Andrew McCreight
2607cce8cc Bug 1265458 - Use nsAutoString in ConsoleListener::Observer(). r=baku 2016-04-19 06:59:03 -07:00
Haik Aftandilian
c9498daa89 Bug 1262590 - [e10s] AppProcessChecker.cpp has DEUBG typo preventing DEBUG messages. r=mconley
MozReview-Commit-ID: 48DvjXAPhSG
2016-04-15 16:40:00 +02:00
Andrew McCreight
6e2f1c4aa3 Bug 1265045 - Truncate the result of GetErrorMessage() before sending it to the parent. r=baku 2016-04-18 09:49:26 -07:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Kartikaya Gupta
f72cd76655 Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
MozReview-Commit-ID: EybGq9b1B8Z

--HG--
extra : rebase_source : defc16fc066a3a40480fa4c94f3a742a267344a8
2016-04-15 06:39:36 -04:00
J.C. Jones
358a9ece05 Bug 1244960 - FIDO u2f NSSToken (Part 3): Review updates. r=keeler
MozReview-Commit-ID: FkPHy9GGarU

--HG--
extra : transplant_source : %8Dd0%BA%FD%E93%8E%A7%C5%01Cn%02%0F%0C%3E%5D%9C%96
2016-04-13 10:20:37 -07:00
J.C. Jones
63f7ce5155 Bug 1244960 - Complete FIDO u2f NSSToken (Part 1). r=keeler, r=baku
- Merge in test changes from Bug 1255784.
- Remove the unnecessary mutex
- Stop doing direct memory work in NSS Token
- Clean up direct memory work in ContentParent
- In order to store persistent crypto parameters, the NSSToken had to move
  onto the main thread and be interfaced with via IDL/IPDL.
- Support Register/Sign via NSS using a long-lived secret key
- Rename the softtoken/usbtoken "enable" prefs, because of hierarchy issues
  with the WebIDL Pref shadowing.
- Also orders the includes on nsNSSModule.cpp
- Attestation Certificates are in Part 2.

Updates per keeler review comments:

- Use //-style comments everywhere
- Refactor the PrivateKeyFromKeyHandle method
- Rename the logging and fix extraneous NS_WARN_IF/logging combinations
- Other updates from review

April 11-12:

- Correct usage of the "usageCount" flag for PK11_UnwrapPrivKey
- Rebase up to latest

April 15:
- Rebase to latest

MozReview-Commit-ID: 6T8jNmwFvHJ

--HG--
extra : transplant_source : w%26%CES%2Cu%04%3EAl%04%2Cb%E2v%C9%08%3A%CC%F4
2016-04-15 09:29:12 -07:00
Haik Aftandilian
50fdb00a05 Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.

--HG--
extra : histedit_source : dfa6b7b71882a1583cbbe90c2a7327cb212ed15d
2016-04-14 14:03:00 -04:00
Gijs Kruitbosch
0385e66575 Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
MozReview-Commit-ID: 68LvgKvVXmX

--HG--
extra : rebase_source : 17a188bf47efc3ca78ae6440ab84e6c6e4c06964
extra : histedit_source : 9c545f513a3b6e61d0bdb8d4f5fb3dbad9b2bbaf
2016-04-12 21:47:25 +01:00
David Anderson
3e4fb4b49e Fix D3D11VideoCrashGuard missing a switch case in ContentParent. (bug 1263725, r=mattwoodrow)
--HG--
extra : rebase_source : 65a34790f90c6683df52e0248edc5aaffce718f5
2016-04-14 00:15:31 -04:00
Jean-Yves Avenard
2d5d30672a Bug 1263839: P2. Force re-run of VP9 benchmark based on a version check. r=kentuckyfriedtakahe
The version number is to be manually updated when we want to re-run the test (like improvement in ffvp9 or libvpx)

MozReview-Commit-ID: 9KzYCGWvIpp

--HG--
extra : rebase_source : a5c06065d3e174f3a4cb5ca0fbe2b08b8728f083
2016-04-13 12:44:29 +10:00
Peter Chang
b9897cc163 Bug 1263499 - unify the QuickExit function, r=bsmedberg
MozReview-Commit-ID: DGJbyXULHPe

--HG--
extra : rebase_source : 26ad1fdc609060a578a27f3d44168160ec026c09
2016-04-11 16:12:33 +08:00
Kyle Huey
2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Henry Chang
ffee6a2e09 Bug 1260876 - Remove process switch code for signed package code (added by Bug 1186290). r=valentin. 2016-04-12 10:53:40 +08:00
Wes Kocher
7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Andrea Marchesini
911722de11 Bug 1263556 - Remove EmptyBlobImpl in dom/ipc/Blob.cpp, r=smaug 2016-04-11 14:31:53 -04:00
Andrea Marchesini
9345155089 Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug 2016-04-09 19:17:02 +01:00
Andrea Marchesini
c6067c0a80 Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug 2016-04-09 19:15:50 +01:00
Andrew McCreight
8fc2a0583c Bug 1263235, part 2 - Make PContent::AsyncMessage and PContentBridge::AsyncMessage's data argument last. r=smaug 2016-04-09 06:50:59 -07:00
Andrew McCreight
33947a1b40 Bug 1263235, part 1 - Move PBrowser::AsyncMessage's data argument last. r=smaug
This will reduce internal memory fragmentation for the IPC::Message used to make this call.
2016-04-09 06:50:59 -07:00
Ryan VanderMeulen
3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Tim Taubert
63c7f51d31 Bug 842818 - Make Crypto::GetRandomValues() work off the main thread r=baku,keeler,mt 2015-09-22 10:50:36 +02:00
Peter Chang
24a20f7546 Bug 1254829 - Calling TerminateProcess for WindowsXP to bypass DLL detach handler, r=bsmedberg
MozReview-Commit-ID: 41fuZobVVyv

--HG--
extra : rebase_source : 837c4931411272dfcdbca8ebba83c841b48e1f4f
2016-04-06 10:05:58 +08:00
Bill McCloskey
8450ca8bc2 Bug 1164931 - Clear hangs when they're over (r=mrbkap) 2016-04-07 17:15:26 -07:00
Bill McCloskey
b8f8a4cdc6 Bug 1253994 - Make profile collection more robust (r=mconley) 2016-04-07 17:15:25 -07:00
Mike Conley
b73d131e88 Bug 1251032 - Send RenderFrame info down to child in BrowserFrameOpenWindow. r=kanru
MozReview-Commit-ID: LsFr95rujEJ

--HG--
extra : rebase_source : 3589facedf84f6d46890de002a48207907e50476
2016-03-31 00:58:05 -04:00
Mike Conley
3b67a7e41b Bug 1251032 - Send RenderFrame info down to child in CreateWindow message. r=kanru
MozReview-Commit-ID: DcsLYEHY6pL

--HG--
extra : rebase_source : 38642586bd587d2603ae8f6d7f8a39c66a02f2c5
2016-03-29 14:32:41 -04:00
Mike Conley
f7035af2c3 Bug 1251032 - Don't return layersId or textureFactoryIdentifier as outparams in RenderFrameParent constructor. r=kanru
MozReview-Commit-ID: JqcrHsNW25j

--HG--
extra : rebase_source : ce66521f0c7ea71aab4e9a968a11ace3c6fa027d
2016-03-29 12:42:05 -04:00
Ben Kelly
21fd4f4b0b Bug 1238707 Release the window immediately in TabParent::Destroy() to avoid leaks. r=smaug 2016-04-04 14:08:17 -07:00
Mike Conley
b87f219d48 Bug 1261599 - null check SendPBrowserConstructor return in ContentParent to avoid crashes on content process shutdown. r=smaug
MozReview-Commit-ID: 4LqDIeN9XRq

--HG--
extra : rebase_source : ff6edb2b80ac4e29374092d2637fc91886afec0d
2016-04-04 10:57:49 -04:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00