Commit Graph

43 Commits

Author SHA1 Message Date
Bobby Holley
e7b38639ee 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
9553ec8b64 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
40ca742163 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
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
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
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
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
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
Mark Hammond
93a9e9fe7b Bug 788405 - variables created via importScripts should be globals. r=gavin 2012-09-12 12:48:38 +10:00
Phil Ringnalda
ac5f640447 Back out df2ddcab7143 (bug 788100), d9e96444da92 (bug 788405), 092a8add22fd (bug 787511) for xpcshell bustage 2012-09-11 20:46:34 -07:00
Mark Hammond
78b3d11180 Bug 788405 - variables created via importScripts should be globals. r=gavin 2012-09-12 12:48:38 +10:00
Gavin Sharp
da154a0bcb Bug 755122 - remove bufferToArrayHack from frameworker. r=markh 2012-09-04 10:27:49 +10:00
Mark Hammond
a9bd1399ee Bug 784508 - Stop using setIsBrowserElement in Frameworker.jsm. r=gavin 2012-09-04 10:26:57 +10:00
Shane Caraveo
863c9841a5 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
88440ef4b9 Bug 773351: hook up the mozSocial API to social provider windows, r=markh 2012-07-13 13:51:35 -07:00
Mounir Lamouri
38a7f3af0d Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Mounir Lamouri
fe2bf13acd 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
196cc9b6ff 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
d9542ba6f0 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
bb507d18ac 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
ea02e3ec30 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
cb9faf6363 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
c6a65c91de Bug 773934 - Make the social API not rely on Function.prototype.toSource. r=mhammond 2012-07-18 11:36:48 +10:00
Mark Hammond
e560374339 Bug 773160: expose a reduced 'navigator' object to social frameworker workers. r=gavin 2012-07-16 15:35:39 +10:00
Mark Hammond
51b60f6196 Bug 773164: remove social frameworker load listener. r=gavin 2012-07-16 15:31:22 +10:00
Mark Hammond
2c468e7634 Backout 777fbc99f40b and 27e4b9cbed74 due to leak bustage 2012-07-16 15:00:43 +10:00
Mark Hammond
659f8c3ebc Bug 773160: expose a reduced 'navigator' object to social frameworker workers. r=gavin 2012-07-16 11:59:37 +10:00
Mark Hammond
bc96ce9570 Bug 773164: remove social frameworker load listener. r=gavin 2012-07-16 11:59:37 +10:00
Gavin Sharp
03519d96e1 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
49fd13eb7d Bug 773165 - more robust removal of frameworker's iframe. r=dao 2012-07-12 18:04:52 +10:00
Dão Gottwald
76f8d29102 Backed out changeset 184ba174e8a6 2012-07-12 10:23:56 +02:00
Mark Hammond
b96d6a8058 bug 773165 - more robust removal of frameworker's iframe. r=gavin 2012-07-12 18:04:52 +10:00
Ekanan Ketunuti
deca8f5eca Bug 771365 - Fix typo in FrameWorker.jsm. r=jaws 2012-07-06 09:26:57 +07:00
Gavin Sharp
1df67eb5d9 Bug 770550: change exported symbol for FrameWorker.jsm from FrameWorker to getFrameWorkerHandle, r=markh
--HG--
extra : transplant_source : %407%A9%FE%EE%90%04%D1%86%FB-P%81%F2%1A%BE%B4%D1%988
2012-07-03 19:34:28 -04:00
Gavin Sharp
bf528b2b0c Bug 762569: add "FrameWorker" module, implementing a SharedWorker-like API for use by social providers. Original code by Mark Hammond <mhammond@skippinet.com.au>, Shane Caraveo <mixedpuppy@gmail.com>, and Michael Hanson <mhanson@mozilla.com>, r=me/shane/markh
--HG--
extra : transplant_source : %92%D8Q%B7gP4%2A%D3%B7%B3%1E%E6%18T%A7%08%F6%D9%9A
2012-06-28 21:12:01 -04:00