Commit Graph

119 Commits

Author SHA1 Message Date
Mark Hammond
4203f055ad Bug 822508 - allow social providers to specify null as the profile. r=gavin 2012-12-19 11:05:37 +11:00
Shane Caraveo
b2309ece07 Bug 809694: implement support for multiple social providers in the front-end, including basic UI to switch between them. Portions of the patch by Gavin Sharp <gavin@gavinsharp.com>, r=gavin, r=markh
--HG--
extra : transplant_source : %2B3%7F%05l%3C%0A%90%B4%F6%B22%172_5%EEl%B3g
2012-12-07 20:13:27 -08:00
Mark Hammond
a9b0c5da84 Bug 788368 - Port messages will no longer be dropped if port is closed before other side connects. r=felipe 2012-12-11 11:34:09 +11:00
Mark Hammond
5eff5d3ead Bug 807997 - allow chats to open in any suitable top-level window. r=gavin 2012-12-07 10:56:17 +11:00
Mark Hammond
a434445981 Bug 808001 - clicking a social notification link now opens the link in a new tab. r=gavin 2012-11-22 13:53:07 +11:00
Mark Hammond
21ce6e9d58 Bug 811143 - move recommend support to the worker api and avoid dangling port if not supported by the provider. r=jaws 2012-11-15 14:57:28 +11:00
Gavin Sharp
06079492cb Bug 811102: bustage fix #3 :(
--HG--
extra : transplant_source : %0F%D8%1Bv%3EP%935%7E%E2%1A%E4F%0C%7F%F8%1F%FFP%1D
2012-11-12 23:28:54 -08:00
Gavin Sharp
5830dc65ed Bug 811102 followup #2: add some clean up to tests from bug 804910 exposed by the fix for bug 811102, r=markh
--HG--
extra : transplant_source : V%E3%98%1E%01__%80%1E%F4%FBN%E1%7F%8F%10j%E8A%8D
2012-11-12 22:24:59 -08:00
Gavin Sharp
1f4ee0d19d Followup to bug 811102's followup 2012-11-12 20:41:41 -08:00
Gavin Sharp
d6c9681b95 Bug 811102 test followup: terminate worker to avoid leak, r=markh
--HG--
extra : transplant_source : %E0%A1r%5B%B6k%FAIn%96%7D%88%1D%F57%A5%DCl%18T
2012-11-12 20:35:03 -08:00
Shane Caraveo
f4701ff56c Bug 811102: fix two bugs with worker reloading, r=gavin/markh, tests by markh/gavin
The first bug is that we shouldn't remove the worker from the worker cache when reloading, because it's not actually being removed. terminate() already does this for us in the case where it is needed.
The second bug is that we should set .loaded=false as soon as we clear the ports on a worker we're about to reload, because otherwise the creation of a new port can occur between the reload triggering and the re-initialization, and those ports would get lost.

--HG--
extra : transplant_source : a%DF%D4%C5%E9%CD%E2%9B%FA%07%9E%22%D4mU%60%2B%A6Z%3A
2012-11-12 17:50:51 -08:00
Felipe Gomes
72c3adf341 Bug 808171. Follow-up. Check for and avoid setting the same value twice inside the _setEnabled function instead of the observer. r=markh 2012-11-06 16:30:04 -08:00
Mark Hammond
1d1b8439e5 Bug 808171 - social.enabled preference observer checks if enabled state really needs to change. r=felipe 2012-11-07 11:11:28 +11:00
Felipe Gomes
f5e4934fde Bug 807532. Clear the previous profile when Social is toggled off. r=markh,gavin 2012-10-31 21:00:15 -07:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Shane Caraveo
782367ff93 Bug 804910 - Part 1. Check for worker load failures and send a notification in case of errors. r=felipe 2012-10-29 21:57:07 -07:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Phil Ringnalda
330c17966d Back out 9c064c78d86a (bug 799600) for orange
--HG--
extra : rebase_source : 464d1ff3410f2382b8b0f9c204734517178b354f
2012-10-26 19:19:56 -07:00
Mark Hammond
1307cac3ab Bug 799600 - allow data urls in social panels. r=jaws 2012-10-25 16:45:34 +11:00
Mark Hammond
fae045d86c Bug 805725 - browser_frameworker test should hit mochi.test:8888 for websocket tests. r=me 2012-10-26 15:19:58 +11:00
Phil Ringnalda
a0fae05720 Back out 689834383fbb (bug 782882) for timing out in browser_social_toolbar.js 2012-10-25 00:00:45 -07:00
Mark Hammond
46447b6b21 Bug 799600 - allow data urls in social panels. r=jaws 2012-10-25 16:45:34 +11:00
Gavin Sharp
285411706a Bug 805260: turn can't-attach-mozSocialAPI error into a warning, since it's not usually a problem, r=markh
--HG--
extra : transplant_source : %97b%B6B%A8%E4%1F%134%94%C0%7E%E2%A9q%94%E9%BB%C8%80
2012-10-24 17:29:09 -07:00
Jared Wein
960615f051 Backed out changeset ca101d926240 (bug 787767) 2012-10-22 01:56:10 -07:00
Jared Wein
c75503aa1f Bug 787767 - Implement runtime performance monitoring for Worker API abuse. r=felipe
--HG--
extra : rebase_source : 93e027809cc3f6ceb2939cb2e3919c3516d05be7
2012-10-21 17:26:11 -07:00
Jared Wein
acd0617284 Bug 803385. Make sure cookie value is not undefined before trying to trim it. r=felipe 2012-10-19 17:16:24 -07:00
Ryan VanderMeulen
195b174cb7 Backed out changeset 779550569432 (bug 787767) 2012-10-18 21:43:12 -04:00
Jared Wein
59569d94f6 Bug 787767 - Implement runtime performance warnings for Worker API abuse. r=felipe 2012-10-18 18:02:42 -07:00
Nanci Bonfim
eb0740707f Bug 800275 - Decreasing assymptoptic complexity of two loops from n^2 to n by removing the Array#shift usage, r=jaws 2012-10-17 22:01:23 -03:00
Mark Hammond
c23ff0430c Bug 790201 - better cleanup of social worker sandbox. r=felipe 2012-10-18 16:42:40 +11:00
Felipe Gomes
6c076e6588 Bug 802929 - use existing port handle for socialcookies-get message. r=jaws,mixedpuppy 2012-10-18 16:40:12 +11:00
Shane Caraveo
7a9c77d810 Bug 802395: fix parse error caused by messages being sent when the port isn't yet fully initialized, r=gavin 2012-10-16 16:47:42 -07:00
Mark Hammond
a7f7fb9d36 Bug 801080 - window.close should close social panels. r=felipe 2012-10-16 13:53:37 +11:00
Shane Caraveo
59f37ea968 Bug 785920 - reload for workers. r=gavin.sharp 2012-10-12 16:58:50 -07:00
Ekanan Ketunuti
497f74eabb Bug 800281 - Remove usage of MozWebSocket in FrameWorker.jsm. r=jaws 2012-10-12 10:09:58 +07:00
Gavin Sharp
e452d885a9 Adjust comment from bug 790545's patch 2012-10-08 10:57:21 +02:00
Mark Hammond
dcca4408fe Bug 790545 - cache provider's toolbar notification icons. r=felipe 2012-10-08 11:15:02 +11:00
Felipe Gomes
c8c29e0e1e Bug 766616. Don't try to inject mozSocial in about pages. r=jaws 2012-10-05 17:22:09 -07:00
Mark Hammond
c1ed6de18a Bug 795518 - window.close() in social windows should close social panel. r=jaws 2012-10-02 17:57:20 +10:00
Jared Wein
fee1109c25 Bug 786095 - Initially disable Social API when in safe mode. r=felipe 2012-09-24 14:57:12 -07:00
Mark Hammond
e2697b60ef Bug 794742 - add a charset to data: urls to reduce test noise. r=jaws 2012-09-28 15:04:51 +10:00
Jared Wein
cb03f67b24 Bug 794512 - Add a checkbox and preference to disable toast notifications for the Social API. r=markh 2012-09-26 17:40:18 -07:00
Mark Hammond
773b5e3971 Bug 793943 - add social api to close flyouts. r=mixedpuppy 2012-09-26 16:23:25 +10:00
Jared Wein
61432139c7 Backed out changeset 32d1752fb7ba (bug 786095) 2012-09-24 16:03:59 -07:00
Jared Wein
fa4ba904ea Bug 786095 - Initially disable Social API when in safe mode. r=felipe 2012-09-24 14:57:12 -07:00
Mark Hammond
9b600d41c2 Bug 788100 - Remove social.initialize-response message. r=jaws 2012-09-12 12:48:38 +10:00
Mark Hammond
224134395b Bug 787511 - rename SocialProvider._getWorkerPort to getWorkerPort, remove SocialProvider.port. r=jaws 2012-09-12 12:48:38 +10:00