Commit Graph

2178 Commits

Author SHA1 Message Date
Andrea Marchesini
457a61c7ea Bug 1214300 - AsyncErrorReporter doesn't use JSRuntime param., r=smaug 2015-10-14 11:29:55 +01:00
Morris Tseng
62ed7ded96 Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku 2015-10-12 11:21:04 +08:00
Morris Tseng
3ea0cda3c7 Bug 709490 - Part 5: Add interfaces test. r=ehsan 2015-10-12 11:21:03 +08:00
Ehsan Akhgari
31bbdcfca1 Bug 1179397 - Disallow FetchEvent.respondWith() when the dispatch flag is unset; r=jdm 2015-10-09 13:36:53 -04:00
Ehsan Akhgari
72f32cf977 Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly 2015-10-07 18:06:26 -04:00
Bill McCloskey
f481f24fa4 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Andrew McCreight
0c62d00526 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
d7f143eaad Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Eddy Bruel
ec8b2add25 Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey 2015-10-07 12:20:59 +02:00
Carsten "Tomcat" Book
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Ben Kelly
f5df233048 Bug 1210941 P11 Use LOAD_BYPASS_SERVICE_WORKER in worker ScriptLoader. r=ehsan 2015-10-06 06:37:07 -07:00
Ben Kelly
50934f88eb Bug 1210941 P7 Use LOAD_BYPASS_SERVICE_WORKER in ServiceWorkerScriptCache. r=ehsan 2015-10-06 06:37:07 -07:00
Ehsan Akhgari
65c10472e9 Bug 1179401 - Call stopImmediatePropagation() on the Event object in respondWith(); r=jdm 2015-10-05 16:12:28 -04:00
Wes Kocher
0424030a6b Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00
Wes Kocher
f825cd467b Merge inbound to central, a=merge 2015-10-05 13:02:21 -07:00
Andrew McCreight
ebefdc0be5 Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-05 09:38:14 -07:00
Wes Kocher
38e6ef5aee Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Nick Fitzgerald
09d7559166 Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz 2015-10-02 16:44:00 +02:00
Nicholas Nethercote
f930151045 Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz. 2015-09-24 19:05:16 -07:00
Morris Tseng
9ae39aa599 Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku 2015-10-05 10:50:17 +08:00
Morris Tseng
7e35122c2a Bug 709490 - Part 5: Add interfaces test. r=ehsan 2015-10-05 10:50:16 +08:00
Wes Kocher
15f8ac0988 Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE 2015-10-02 16:17:05 -07:00
Andrew McCreight
48a2601390 Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-02 15:09:02 -07:00
Andrew McCreight
be7e493588 Backed out changeset 6fa9cdf4002b for breaking the build. 2015-10-02 10:49:28 -07:00
Andrew McCreight
4428f7b6fa Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
1955db09bc Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
404e79482a merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Ehsan Akhgari
cd927a3900 Bug 1204596 - Part 3: Store the responses with manual redirect in the tests added for bug 1164397; r=bkelly
This needs to be done so that we match the manual redirect mode
for navigations when the response is stored in the cache.
2015-10-01 18:47:07 -04:00
Yoshi Huang
697bf63dd6 Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
Catalin Badea
3ab43c8cbf Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly 2015-09-30 19:11:04 -04:00
Catalin Badea
a034468e87 Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
b7c0f4f391 Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
ddeb807fe7 Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
ec6bc64f09 Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
fa56ecda15 Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
7d4b36b058 Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
570cc4a460 Bug 1188545 - ServiceWorkerRegistrationInfo::Clear() should terminated workers. r=nsm 2015-09-30 19:11:03 -04:00
Catalin Badea
91b1e48a71 Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap 2015-09-30 19:11:03 -04:00
Wes Kocher
711e09ec3d Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Bill McCloskey
afe1d260d8 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Jason Orendorff
00bf86b02b Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
Jason Orendorff
de8a5d035d Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.

The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.
2015-03-20 14:02:55 -05:00
Catalin Badea
14d5d21691 Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly 2015-09-30 10:14:33 -04:00
Catalin Badea
08f9c32eb8 Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm 2015-09-30 10:14:33 -04:00
Catalin Badea
acbaa6621d Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 10:14:33 -04:00
Catalin Badea
17327033ff Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm 2015-09-30 10:14:33 -04:00
Catalin Badea
c1d2b19702 Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm 2015-09-30 10:14:33 -04:00
Catalin Badea
44723a9d54 Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm 2015-09-30 10:14:33 -04:00
Catalin Badea
efc8a14421 Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm 2015-09-30 10:14:33 -04:00