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

70 Коммитов

Автор SHA1 Сообщение Дата
Nikhil Marathe 3927633b56 Bug 1151916 - Set worker principalinfo on cache load. r=bkelly
--HG--
extra : rebase_source : ac5c81a995badf835a9d81f76d674c55c38bd6bb
2015-04-10 14:14:44 -07:00
Nikhil Marathe 68a8b2850e Bug 931249 - Patch 15 - assert later. r=baku
--HG--
extra : rebase_source : a311232492d5e135aa383757eadd4efc117d713f
2015-03-27 13:29:40 -07:00
Nikhil Marathe 7821a17b77 Bug 931249 - Patch 14 - kungfuDeathGrip. r=baku
--HG--
extra : rebase_source : 9ef21438c85cb30aa7b2579e4ac6efdb6980b49d
2015-03-27 10:00:59 -07:00
Nikhil Marathe a715e011ee Bug 931249 - Patch 13 - Fix finish condition in CacheScriptLoader::Fail. r=baku
--HG--
extra : rebase_source : abd3b49a789b256eeb7aa763f4f8996afa77d5b3
2015-03-26 15:56:02 -07:00
Nikhil Marathe 8983db35fe Bug 931249 - Patch 12 - Call LoadingFinished even if channel is not present. r=khuey
If the failure was due to inability to create a channel (csp, other restrictions) we still want to mark the load as finished

--HG--
extra : rebase_source : e8e6705984ce3895604fdff358df7375e5c4c1c5
2015-03-24 17:11:57 -07:00
Nikhil Marathe 78132f902f Bug 931249 - Patch 8 - Provide direct getter to the fact that we are loading a worker instead of relying on cache name. r=khuey
--HG--
extra : rebase_source : ad85e2de17f562449f041fcb66a061a319da45f0
2015-03-19 16:39:01 -07:00
Nikhil Marathe 42de02a529 Bug 931249 - patch 2 - cachename integration. r=nsm
--HG--
extra : rebase_source : 8a5bd6a3ec53ccd83c08e58f7a74f6ae1f0edea7
2015-03-18 09:46:38 -07:00
Nikhil Marathe e0c3f020d5 Bug 931249 - Patch 1.1 - Set baseURI when script is obtained from cache. r=khuey
--HG--
extra : rebase_source : f8bd9b047518b3e5e220eddc3eab1f0918b83f6b
2015-03-18 16:14:30 -07:00
Nikhil Marathe 238374c507 Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey
--HG--
extra : rebase_source : c81b13a05ec04a68c3acd25807fcf997bd9db81e
2015-03-19 11:41:42 -07:00
Eddy Bruël b86b9bb514 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book 5245fa5a7b Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël 0c47b481d2 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 10:19:04 +02:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Eddy Bruël 2d0841a4c7 Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey 2015-03-17 11:15:19 +01:00
Boris Zbarsky fe0f33e72f Bug 1097987 part 7. Require callers of JS::Evaluate to either use the global as the scope or pass in an explicit scopechain. r=waldo 2015-03-14 01:36:16 -04:00
Ben Kelly 28e0242799 Bug 1107516 - Part 3: Make sure all workers have an nsILoadGroup when loading scripts. r=sicking, r=bent 2014-12-12 11:06:00 -05:00
Boris Zbarsky 67d7197390 Bug 1100579 part 1. Remove the overloads of JS::Evaluate that don't take an rval mutable handle, and control the behavior via the JS::CompileOptions instead. r=waldo,bholley 2014-11-18 23:27:16 -05:00
Christoph Kerschbaumer 29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Christoph Kerschbaumer 4e801b4d7b Bug 1038756: Callsites creating a channel in /dom/workers/ (r=bent) 2014-09-21 09:39:57 -07:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Christoph Kerschbaumer 68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Andrea Marchesini 0c788084d3 Bug 1036484 - empty 404 worker script should emit a 'error' event, r=khuey
--HG--
rename : dom/workers/test/test_404.html => dom/workers/test/test_bug1036484.html
2014-08-10 15:33:06 +02:00
Bobby Holley a23211976d Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem 2014-07-31 09:55:20 -07:00
Bobby Holley 6807884378 Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Kyle Huey 8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Ben Turner 42455fcdcb Bug 999274 - Wait for the last runnable before calling ShutdownScriptLoader. r=sicking 2014-05-20 08:34:25 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ben Kelly ba737351be Bug 987556 Part 9 Use JS::SourceBufferHolder in worker ScriptLoader. r=bz 2014-04-25 10:11:57 -04:00
Bobby Holley e1d5378ac6 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-22 14:08:28 -07:00
Jon Coppeard fb6ccb11db Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Luke Wagner 1f15bc50e0 Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Andrew McCreight 22928ce074 Bug 947592 - Streamline ReportLoadError. r=bent 2014-01-23 17:20:53 -08:00
Kyle Huey 87cce0f558 Bug 959070: Make sure to call ScriptExecutorRunnable's base class's Cancel method too. r=janv 2014-01-13 09:41:02 -08:00
Kyle Huey 8da7a3e86b Bug 957693: Fix a worker hang and other related bugs. r=bent 2014-01-10 16:37:47 -08:00
Ben Turner 357b12898a Bug 914762 - Switch Workers to use a normal nsThread event loop, r=mrbkap.
--HG--
extra : transplant_source : /%93%60%CC%3A%16%B16%A1%5Bmx%9F%FA%7B%10JD%F0%E7
2013-10-23 06:16:49 -07:00
Ms2ger 0fdc697b63 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Kyle Huey 020d8b6c36 Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Nikhil Marathe d4d7f9747c Bug 484305 - Worker scripts should always be decoded as UTF-8. r=bent 2013-10-09 18:23:47 -04:00
Ben Turner 866302e69b Bug 643325 - Implement SharedWorker. r=khuey.
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Ehsan Akhgari 7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Kyle Huey bf7d0aa16a Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Bobby Holley 98a0425f0f Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Joshua Cranmer 36673bcae2 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Bobby Holley 66cbfb2448 Bug 869800 - Remove JS_GetGlobalObject from workers. r=bent 2013-05-08 10:45:46 -07:00
Trevor Saunders 9c14887d75 bug 856700 - don't check the result of infalible nsTArray::SwapElements() in dom/ r=khuey 2013-04-01 13:35:13 -04:00
Masatoshi Kimura 030c7764da Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey 2013-03-08 07:27:21 +09:00
Jon Coppeard a0a3f88913 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley 3a53c22824 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard 6a98a4532a Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00