Commit Graph

53 Commits

Author SHA1 Message Date
Mark Hammond
01480ef2ad Bug 891218 (part 2) - host the social Frameworker in a remote browser. r=felipe
--HG--
rename : toolkit/components/social/FrameWorker.jsm => toolkit/components/social/FrameWorkerContent.js
2013-08-29 09:45:58 +10:00
Mark Hammond
97f6a4c6c2 Bug 896860 - Allow social FrameWorkers to create real Workers. r=gavin 2013-08-02 10:30:50 +10:00
Mark Hammond
313a1a01bf Bug 891516 - prevent use of data: URLs in social frameworkers. r=mixedpuppy 2013-07-11 17:50:54 +10:00
Gavin Sharp
d791bd260f Bug 879658: don't expose localStorage to FrameWorker for non-whitelisted social providers, r=mixedpuppy
--HG--
extra : rebase_source : 225b3903057e362e180f8ded7e18bf26a63bacb0
2013-06-17 17:25:06 -04:00
Matthew Noorenberghe
650d9c49ec Bug 759964 - Part 2 - Set allowMedia = false in social and identity code to address TODO comments. r=gavin 2013-03-29 14:52:59 -07:00
Shane Caraveo
aaa8b1fc12 bug 880741 add indexeddb to frameworker, r=gavin 2013-06-07 11:25:15 -07:00
Shane Caraveo
16ff0dc361 bug 872470 - add EventSource to frameworker, r=markh, sr=gavin 2013-05-16 13:16:17 +02:00
Mark Hammond
303751bac1 Bug 860176 - always remove document-element-inserted observer from frameworkers. r=jaws 2013-04-17 11:29:03 +10:00
Gavin Sharp
9a07be6828 Bug 817448: remove MozBlobBuilder from FrameWorker API, r=mixedpuppy 2013-03-06 23:43:56 -08:00
Nanci Bonfim
62aed6d8a3 Bug 800278 - FrameWorker.ports using Map instead of object. r=jaws 2013-02-24 02:36:03 -03:00
Bobby Holley
f14adc169f Bug 841067 - Bind methods before injecting them in FrameWorker. r=markh
Otherwise, they won't get invoked with the proper |this|.
2013-02-14 10:40:15 +01:00
Jonathan Kew
a26ae62acc bug 837729 - don't create text-runs for JS source code loaded in a hidden-window iframe, and remove source text from the DOM as soon as we've extracted it. r=gavin,markh 2013-02-05 09:18:15 +00:00
Shane Caraveo
c8d0076124 Bug 832943 keep explicit reference to our error handling web listeners to avoid unexpected gc, r=felipe 2013-01-26 12:07:39 -08:00
Shane Caraveo
e318209620 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
18601db83b 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
Shane Caraveo
075160a9e0 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
Kyle Huey
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Shane Caraveo
51787ffff9 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
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
Nanci Bonfim
e1e36bce06 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
c2a305ddfe Bug 790201 - better cleanup of social worker sandbox. r=felipe 2012-10-18 16:42:40 +11:00
Shane Caraveo
8a9d048f1b Bug 785920 - reload for workers. r=gavin.sharp 2012-10-12 16:58:50 -07:00
Ekanan Ketunuti
f1669039be Bug 800281 - Remove usage of MozWebSocket in FrameWorker.jsm. r=jaws 2012-10-12 10:09:58 +07:00
Mark Hammond
88360f0511 Bug 788405 - variables created via importScripts should be globals. r=gavin 2012-09-12 12:48:38 +10:00
Phil Ringnalda
403eb9f6b2 Back out df2ddcab7143 (bug 788100), d9e96444da92 (bug 788405), 092a8add22fd (bug 787511) for xpcshell bustage 2012-09-11 20:46:34 -07:00
Mark Hammond
2c7ca26fdb Bug 788405 - variables created via importScripts should be globals. r=gavin 2012-09-12 12:48:38 +10:00
Gavin Sharp
0b7bee45b4 Bug 755122 - remove bufferToArrayHack from frameworker. r=markh 2012-09-04 10:27:49 +10:00
Mark Hammond
e81d989202 Bug 784508 - Stop using setIsBrowserElement in Frameworker.jsm. r=gavin 2012-09-04 10:26:57 +10:00
Shane Caraveo
0607c79529 Bug 774003: let social workers request their cookies via the Social API, r=gavin
--HG--
extra : rebase_source : ae4aad6caa156c83fa08c0813c79452ca68203c7
2012-07-25 15:26:39 -07:00
Gavin Sharp
7d24bcd830 Bug 773351: hook up the mozSocial API to social provider windows, r=markh 2012-07-13 13:51:35 -07:00
Mounir Lamouri
7935452e46 Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Mounir Lamouri
397bc64735 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
3b5b986d0b Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Mounir Lamouri
d6d9b5f0b7 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Ed Morley
80af77da9d Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
8cfd0a9baa Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Gavin Sharp
5bf320617f Bug 773934 followup: add license headers to new files, and remove unused code
--HG--
extra : transplant_source : %91%7C%F2r%1B%A9%94%A1Q%85%5E%F7N76%83%9C%F80%D7
2012-07-18 17:16:58 -07:00
Benjamin Peterson
456c8db2d2 Bug 773934 - Make the social API not rely on Function.prototype.toSource. r=mhammond 2012-07-18 11:36:48 +10:00
Mark Hammond
f8595357d1 Bug 773160: expose a reduced 'navigator' object to social frameworker workers. r=gavin 2012-07-16 15:35:39 +10:00
Mark Hammond
37f0a0f325 Bug 773164: remove social frameworker load listener. r=gavin 2012-07-16 15:31:22 +10:00
Mark Hammond
37ffb028b9 Backout 777fbc99f40b and 27e4b9cbed74 due to leak bustage 2012-07-16 15:00:43 +10:00
Mark Hammond
4a3cfe132a Bug 773160: expose a reduced 'navigator' object to social frameworker workers. r=gavin 2012-07-16 11:59:37 +10:00
Mark Hammond
642f173b88 Bug 773164: remove social frameworker load listener. r=gavin 2012-07-16 11:59:37 +10:00
Gavin Sharp
904d77fb83 Bug 773529: add addProvider/removeProvider methods to ease testing, r=adw
--HG--
extra : transplant_source : %1D%0D%D4%B2%05A%C6lD%02%F0%AB%F1%A7%88Y%AC%24%B4%1A
2012-07-13 09:36:00 -07:00
Mark Hammond
c12bb0f4a6 Bug 773165 - more robust removal of frameworker's iframe. r=dao 2012-07-12 18:04:52 +10:00
Dão Gottwald
7310e81dc0 Backed out changeset 184ba174e8a6 2012-07-12 10:23:56 +02:00
Mark Hammond
f523888c9e bug 773165 - more robust removal of frameworker's iframe. r=gavin 2012-07-12 18:04:52 +10:00