Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Boris Zbarsky
884fc2ea5c
Bug 1316616 part 1. Replace some redundant code in GetCurrentThreadWorkerPrivate() with a call to a function that we already have. r=bkelly
2016-11-18 16:13:06 -05:00
Cervantes Yu
f0f2a09c5a
Bug 1278443 - Part 2: Continue to run the worker even if BackgroundChild fails to create. r=mrbkap
...
MozReview-Commit-ID: LBBN4hfXigf
--HG--
extra : rebase_source : f35e75eebf051ec5eb6948bbeb7742a573168602
2016-10-05 16:57:31 +08:00
Valentin Gosu
08a83ff913
Bug 1307491 - (Part 2) Remove support for per-app-offline in dom/ [nukeb2g] r=baku
...
MozReview-Commit-ID: DV58awPq98
--HG--
extra : rebase_source : 5372e7095fc5cefe2ccacfca4a3e23be76ff24fd
2016-10-17 03:58:54 +02:00
Boris Zbarsky
0b7535dfdc
Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly
2016-10-10 15:09:00 -04:00
Andrea Marchesini
ba090ed697
Bug 1304489 - part 2 - Better naming for suspend/resume: parentWindowPaused/parentWindowResumed, r=ejpbruel
2016-10-04 12:14:07 +02:00
Arthur Edelstein
dfebfaa34a
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>
review tweaks
2016-09-19 21:13:00 -04:00
Bill McCloskey
a51047b439
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-09-16 20:33:49 -07:00
Jan de Mooij
919372cf5c
Bug 1302448 part 3 - Rename WorkerJSRuntime to WorkerJSContext. r=baku
...
--HG--
extra : rebase_source : a1df9ae95f0c80f67ce21bc494bb92a20cbc5784
2016-09-14 15:48:42 +02:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Ben Kelly
8df5d9263a
Bug 1301519 Don't crash if GetCurrentThreadWorkerPrivate() is called during worker shutdown. r=baku
2016-09-12 06:09:32 -07:00
Olli Pettay
8744d0ccf8
Bug 1298661, let meta-stable state runnables run during sync loops, r=baku
2016-09-05 18:54:04 +03:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Luke Wagner
cc5c2c3ffc
Bug 1283924 - Implement AsyncTask hooks for worker thread JSContexts (r=bkelly)
...
MozReview-Commit-ID: CU4tiYaREik
--HG--
extra : rebase_source : 35a1017de6844af78ec124ef84f355727f19cd80
2016-08-19 14:00:53 -05:00
Wes Kocher
b38dbd1378
Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
...
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Andrea Marchesini
13c30aacfd
Bug 1286895 - Fix a talos regression, r=me
2016-08-22 12:13:15 +02:00
Andrea Marchesini
3f20309ae8
Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly
2016-08-19 08:38:58 +02:00
Sebastian Hengst
3be5f0ac43
Backed out changeset f4c8b3de527e (bug 1286895) for crashing in test_bug1241485.html. r=backout
2016-08-21 11:31:35 +02:00
Andrea Marchesini
70fd734aff
Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly
2016-08-19 08:38:58 +02:00
Luke Wagner
44699344bb
Backed out changeset b6cf6d7a95f9
...
MozReview-Commit-ID: JtuQh7USSWX
--HG--
extra : rebase_source : 19e2f58ab5d26e36b24d0d5a80e1805f013f67d5
2016-08-19 17:09:56 -05:00
Bill McCloskey
1613c2cbc9
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-08-19 14:40:52 -07:00
Luke Wagner
9003b8a8b4
Bug 1283924 - Implement AsyncTask hooks for worker thread JSContexts (r=bkelly)
...
MozReview-Commit-ID: F31bzEH5rPR
--HG--
extra : rebase_source : ef27bc3fdc7aae1a5882672a50e0be802dffdf4e
2016-08-19 14:00:53 -05:00
Wes Kocher
3a31be9c17
Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
...
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
95c5d71549
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-08-19 09:59:39 -07:00
Jeff Walden
c07ca36127
Bug 1174386 - Fix a rebase-induced pointer-to-bool conversion error. r=bustage in a CLOSED TREE
2016-08-16 09:08:00 -07:00
Arthur Edelstein
215601494b
Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
...
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Jan de Mooij
0ad12515f4
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Jeff Walden
5a875fc573
Backed out changeset c3f06ba15fda -- worker setup isn't happening quite as early as it was assumed to occur, so we have impermissible cross-thread happenings occurring sometimes. r=three-to-five-oranges-per-push-per-philor
2016-08-08 19:43:15 -07:00
Arthur Edelstein
099e7246db
Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden
2016-08-08 13:33:39 -07:00
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Jan de Mooij
c7e88a5ad8
Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz
2016-07-23 19:54:19 +02:00
Jan de Mooij
b68d3ea4c4
Bug 1285134 part 1 - Move the runtime private to the context. r=efaust
2016-07-18 14:36:13 +02:00
Andrea Marchesini
f14639d187
Bug 1279498 - Force WorkerPrivate->SetThread(nullptr) using a RAII, r=khuey
2016-07-18 11:46:36 +02:00
Jan de Mooij
a53a99aab6
Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
...
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
Jan de Mooij
96da4695c8
Bug 1283855 part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence
2016-07-06 11:40:20 +02:00
Jan de Mooij
28662f4214
Bug 1283855 part 23 - Make more callback setters take JSContext instead of JSRuntime. r=evilpie
2016-07-06 11:40:20 +02:00
Jan de Mooij
c1ed92b71b
Bug 1283855 part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust
2016-07-06 11:40:20 +02:00
Jan de Mooij
e4ae5f26da
Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
...
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij
078a91ca56
Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
...
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Nathan Froyd
2c2b9296bc
Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey
...
We can save an AddRef/Release pair by passing in the reference to the queue.
2016-07-05 18:49:06 -04:00
Jan de Mooij
fb15cb143c
Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu
2016-07-05 14:35:26 +02:00
Jan de Mooij
3e6263744c
Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen
2016-07-05 14:35:23 +02:00
Jan de Mooij
c8334f438a
Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink
2016-07-05 14:35:21 +02:00
Jan de Mooij
b6c8bdd67a
Bug 1283855 part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier
2016-07-05 11:06:06 +02:00
Jan de Mooij
3ffa1fd00d
Bug 1283855 part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink
2016-07-05 11:06:05 +02:00
Jan de Mooij
7c1a1cec44
Bug 1283855 part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke
2016-07-05 11:06:05 +02:00
Kyle Huey
902d2d23ef
Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm
2016-06-30 13:54:06 -07:00
Jan de Mooij
fb0436ba41
Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke
2016-06-22 09:47:52 +02:00