Commit Graph

4606 Commits

Author SHA1 Message Date
Olli Pettay
e7c80fd294 Bug 915832, don't trigger a new GC if we're in middle of an iGC, r=billm 2013-09-13 02:07:02 +03:00
Wes Kocher
07008d4914 Backed out changeset 492fdd7c06fd (bug 914182) for Marionette failures 2013-09-12 16:01:12 -07:00
Masatoshi Kimura
382ac14e2b Bug 914182 - Hide Telephony API from regular Web pages. r=vyang,khuey 2013-09-13 06:34:51 +09:00
Sid Stamm
3d7137a7d2 bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson 2013-09-12 09:25:32 -07:00
Masayuki Nakano
726c0f99b1 Bug 911951 part.4 Clear the wrong clause information and the caret information at failing to dispatch event r=smaug 2013-09-13 00:19:00 +09:00
Masayuki Nakano
f0182b0d88 Bug 911951 part.1 Redesign nsIDOMWindowUtils::SendTextEvent() with nsICompositionStringSynthesizer r=smaug, sr=roc 2013-09-13 00:19:00 +09:00
Karl Tomlinson
08aaa3b223 b=914030 don't keep alive used AudioContexts from the window r=ehsan,bz
--HG--
extra : transplant_source : %9D%94%FF%AA%92%C7%5B8%FA%C7%DD%3A%E3W%9E%BD%7F%25%5C%19
2013-09-12 16:16:53 +12:00
Ryan VanderMeulen
10c13ed83a Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Bobby Holley
9cb475bcc4 Bug 856437 - Remove LookupMethod test coverage. r=gabor 2013-09-11 11:28:20 -07:00
Vicamo Yang
e62aba3732 Bug 910568 - WebTelephony: move DOM classes to namespace mozilla::dom. r=khuey 2013-09-12 05:47:14 +02:00
Steven Michaud
f2dfaf81f3 Bug 892547 - Sheets on Mac don't have a default option selected. r=enndeakin 2013-09-10 20:35:47 -05:00
David Zbarsky
80f9a49a06 Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger
--HG--
rename : dom/power/nsIDOMPowerManager.idl => dom/webidl/MozPowerManager.webidl
2013-09-10 19:03:56 -04:00
Andrea Marchesini
99caa39879 Bug 913761 - Something is wrong when transferring MessagePort object via MessageChannel. r=smaug
CLOSED TREE
2013-09-10 13:42:22 -04:00
Andrew McCreight
3047b2a24e Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Terrence Cole
64cd017449 Bug 912813 - Do not store an unrooted object in CompartmentOptions; r=bholley
--HG--
extra : rebase_source : b14639e8c2c2806401077c6bea3d4ce21be51886
2013-09-10 10:01:10 -07:00
Andrea Marchesini
fcc425445c Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Ryan VanderMeulen
b1ff092f33 Backed out 10 changesets (bug 914944, bug 871445) for mochitest failures on a CLOSED TREE.
Backed out changeset a840638b5b18 (bug 914944)
Backed out changeset f40c7d5790bd (bug 914944)
Backed out changeset e1b288e29663 (bug 871445)
Backed out changeset 6242ddf7b6c7 (bug 871445)
Backed out changeset 7679185a8cf3 (bug 871445)
Backed out changeset 639ec7a627f8 (bug 871445)
Backed out changeset 93b050a79db4 (bug 871445)
Backed out changeset ec3382ceef99 (bug 871445)
Backed out changeset 51c0d5230306 (bug 871445)
Backed out changeset 76c9069bdb56 (bug 871445)
2013-09-11 11:45:51 -04:00
David Zbarsky
20dd453dbf Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Andrea Marchesini
443f276420 Bug 848294 - Update MessageEvent to be compatible with the spec, r=bz 2013-09-11 16:10:01 +02:00
Andrea Marchesini
fc124929c3 Bug 871445 - patch 3 - DataStore: getChanges + revisionID, r=ehsan, sr=mounir, r=bent 2013-09-11 15:47:51 +02:00
Andrea Marchesini
ff7dd0b5ea Bug 871445 - patch 1 - DataStoreService and getDataStores(), r=mounir, r=fabrice, r=ehsan
--HG--
rename : dom/apps/tests/file_app.sjs => dom/datastore/tests/file_app.sjs
rename : dom/apps/tests/file_hosted_app.template.webapp => dom/datastore/tests/file_app.template.webapp
2013-09-11 15:47:46 +02:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Nicholas Nethercote
fbf85946b7 Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Brian Hackett
50b241c8d8 Bug 906371 - Use off thread JS parsing when loading async scripts, r=bz,billm. 2013-09-11 17:42:09 -06:00
David Zbarsky
0f9e2adcb1 Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
David Zbarsky
3fe447f42f Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger 2013-09-11 10:35:04 -04:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Jan Varga
e9492bcd36 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Ehsan Akhgari
354328adc4 Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley 2013-09-09 22:37:37 +02:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
48268c5407 Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence. 2013-09-02 22:01:18 -07: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
Kyle Huey
c6389ea0fa Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Kyle Huey
bf2b356316 Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Kyle Huey
b248805896 Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Kyle Huey
888aba875b Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Phil Ringnalda
cd7158c6cd Merge b2g-inbound to m-c 2013-09-08 08:28:14 -07:00
Vicamo Yang
da62cf5ddc Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-07 14:19:53 +08:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Ryan VanderMeulen
4dec0a7644 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
6e6b0eb9c7 Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Ryan VanderMeulen
3b1087b464 Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Bobby Holley
99b9464952 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Ed Morley
f607ac80fe Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Ed Morley
1717198314 Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Vicamo Yang
3d3267810b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Ms2ger
93af66a4c0 Bug 909003 - Part d: Remove some includes from nsHistory.h; r=bz 2013-09-06 08:43:16 +02:00
Ehsan Akhgari
82b9523028 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Ms2ger
486a5c3769 Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Boris Zbarsky
81c3bee6e8 Bug 909642. Don't include nsNPAPIPluginInstance in headers so much, since it pulls in lots of gunk. r=bsmedberg 2013-08-27 01:05:29 -04:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Phil Ringnalda
51f479662d Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
22a073b7ea Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Bobby Holley
d5c8bbe0ba Bug 899367 - Followup bustage fix for some functions that were renamed out from under me. r=me CLOSED TREE 2013-09-04 14:58:23 -07:00
Botond Ballo
3c1ca05731 Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn 2013-08-30 13:22:33 -04:00
Bobby Holley
83c76ab760 Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Bobby Holley
666aaa00ac Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-09-04 14:06:56 -07:00
Bobby Holley
44f0d562b5 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Bobby Holley
c8fbffcb9d Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
921c772767 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
d4eab5f3af Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-09-04 14:06:54 -07:00
Bobby Holley
6188191d87 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-09-04 14:06:54 -07:00
Bobby Holley
7367a3a5b8 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Andrea Marchesini
af0e64af33 Bug 887364 - URL API for Workers. r=khuey 2013-09-04 13:07:34 -04:00
Andrea Marchesini
4c65dc3395 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Ed Morley
81c848fe67 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Benoit Jacob
6977a4abd2 Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Ed Morley
3d679673b4 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Phil Ringnalda
1fdd0f4c23 Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
c0dad73b20 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
a7ec6f9b82 Bug 870676: Part 1 - Implement mozFMRadio in WebIDL, r=khuey,baku 2013-09-03 15:26:33 -07:00
Ryan VanderMeulen
cac805671d Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Ryan VanderMeulen
1623103fc3 Merge inbound to m-c. 2013-09-03 17:40:56 -04:00
Ryan VanderMeulen
cdbc6d8fb3 Merge m-c to inbound. 2013-09-03 17:43:47 -04:00
Kartikaya Gupta
66b37ff496 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
ad299f8964 Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:23 -04:00
Jose Antonio Olivera Ortega
31d9f4a28a Bug 888593 - Move MozVoicemail to WebIDL. r=Ms2ger
--HG--
rename : dom/voicemail/nsIDOMMozVoicemail.idl => dom/webidl/MozVoicemail.webidl
2013-09-03 16:38:53 +02:00
Andrea Marchesini
177b65d83a Bug 677638 - MessageChannel and MessagePort disabled by pref, r=smaug 2013-09-03 14:39:03 +02:00
Andrea Marchesini
99339eb328 Bug 677638 - unshipped message port queue, r=smaug 2013-09-03 14:39:01 +02:00
Andrea Marchesini
7fb712e638 Bug 677638 - cycle collection and timeout, r=smaug 2013-09-03 14:38:58 +02:00
Andrea Marchesini
66418bbbe5 Bug 677638 - Start() method 2013-09-03 14:38:56 +02:00
Andrea Marchesini
1b6e3e25d2 Bug 677638 - MessagePort.PostMessage 2013-09-03 14:38:54 +02:00
Andrea Marchesini
b1842412ca Bug 677638 - MessagePorts in Structured Clone Algorithm, r=smaug 2013-09-03 14:38:51 +02:00
Andrea Marchesini
56512865a8 Bug 677638 - Patch 1 - MessageChannel and MessagePort interfaces, r=smaug 2013-09-03 14:38:49 +02:00
Nicholas Nethercote
01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ryan VanderMeulen
056669a343 Merge m-c to mozilla-inbound. 2013-08-30 13:43:55 -04:00
Tim Taubert
001962a236 Bug 910161 - Remove nsIHistoryEntry and replace it with nsISHEntry; r=bz 2013-08-30 06:14:59 +02:00
Kan-Ru Chen (陳侃如)
9eea91897d Bug 910088 - Follow up: Return false if failed to get JS::Value. r=bz 2013-08-29 22:38:56 +08:00
Ed Morley
90b1996255 Merge latest green inbound changeset and mozilla-central 2013-08-29 14:45:19 +01:00
Ed Morley
5a50d7121b Merge mozilla-central and b2g-inbound 2013-08-29 10:50:31 +01:00
Ed Morley
f33c529c8d Backed out changeset cd99d10fc665 (bug 870676) for breaking B2G device image builds on a CLOSED TREE 2013-08-29 10:43:09 +01:00
Ed Morley
9693a383b1 Merge mozilla-central and inbound 2013-08-29 10:50:04 +01:00
Ryan VanderMeulen
fd8cb786a2 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Kan-Ru Chen (陳侃如)
5e12906fbd Bug 910088 - Use webIDL dictionaries for DOMWindowResize event details r=bz 2013-08-29 11:54:31 +08:00
Pin Zhang
f4439163ed Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 10:24:23 -07:00
Kyle Huey
2aa7b2971e Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
d4da372687 Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 10:11:53 -07:00
Kyle Huey
9f28dfc5b2 Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
2488a88c0b Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 09:44:33 -07:00
Olli Pettay
5f197612f1 Bug 904351, make MimeType/Array, PluginArray/Element to hold strong reference to their parent object, r=mccr8
--HG--
extra : rebase_source : 955958237c5b4dd5a062b5d40ae976f7da31a33f
2013-08-28 23:55:29 +03:00
Boris Zbarsky
b8e47c2682 Bug 903419 part 2. Report unhandled rejections in promises. r=smaug,bholley,luke 2013-08-29 00:30:06 -04:00
Boris Zbarsky
08a8354b88 Bug 903419 part 1. Change js::GetErrorTypeName to take a JSRuntime, not a JSContext. r=luke 2013-08-29 00:30:06 -04:00
Masatoshi Kimura
d34342055c Bug 910291 - Hide TraceMalloc debug functions from content. r=bz 2013-08-29 07:48:43 +09:00
Andrew McCreight
01af9297c7 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Boris Zbarsky
c713072098 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ed Morley
bd9df24b9d Merge latest green inbound changeset and mozilla-central 2013-08-28 16:18:51 +01:00
Ed Morley
ba8dc3c2f7 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-28 12:22:00 +01:00
Boris Zbarsky
169d28c38a Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE. 2013-08-28 01:46:00 -04:00
Boris Zbarsky
6a10c247ac Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Nicholas Nethercote
3c5b0c6b29 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Nicholas Nethercote
12d6eb61be Bug 831193 (part 21) - Make NumGhostsReporter a subclass of MemoryReporterBase. r=jlebar.
--HG--
extra : rebase_source : 8777a4dabebdb5928c200401445d7c29f5bf3bcb
2013-08-22 22:26:23 -07:00
Kan-Ru Chen (陳侃如)
f742e5eb23 Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ed Morley
fe89e116ad Merge latest green b2g-inbound changeset and mozilla-central 2013-08-27 15:17:56 +01:00
Vicamo Yang
3dc67fc5ed Bug 865403 - Move MozCellBroadcast to WebIDL. r=Ms2ger
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcast.idl => dom/webidl/MozCellBroadcast.webidl
2013-08-27 11:38:37 +08:00
Ryan VanderMeulen
6f0d3838c9 Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Nicolas Pierron
702e2628d5 Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Bobby Holley
3ef78b339d Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
0542144683 Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
0a90738ba7 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
a322d019a4 Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-08-27 15:21:39 -07:00
Bobby Holley
66f5004091 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
d8ec53aa09 Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
a9a3af4e97 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-08-27 15:21:37 -07:00
Bobby Holley
ba0f5bdd30 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Ed Morley
eec3c3ab64 Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Trevor Saunders
54fb4bac29 bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Terrence Cole
3bf51d9f30 Bug 908942 - Fix some exact rooting hazards in dom; r=bz 2013-08-23 17:23:37 -07:00
David Zbarsky
ce689aa42e Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-24 10:08:55 -04:00
Gabriele Svelto
91c1a25d52 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Boris Zbarsky
8955ed2808 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
7393f81fff Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Phil Ringnalda
6e36a4c14b Back out a35a5681fe2f (bug 887703) for b2g mochitest-8 failures
--HG--
rename : dom/tests/mochitest/general/test_donottrack.html => dom/tests/mochitest/general/test_bug629535.html
2013-08-23 19:38:25 -07:00
Phil Ringnalda
3f16f41e18 Back out 27eb88629c56:a26582e3c44d (bug 906901)
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
f9ae450dad Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-23 21:11:47 -04:00
Mounir Lamouri
2d514ba291 Bug 887703 - navigator.doNotTrack returns { "0", "1", "unspecified" }. r=jlebar
--HG--
rename : dom/tests/mochitest/general/test_bug629535.html => dom/tests/mochitest/general/test_donottrack.html
2013-08-24 00:28:43 +01:00
Kyle Huey
52234568d4 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Peter Van der Beken
9d5218c77b Bug 904147 - crash in mozilla::dom::WindowNamedPropertiesHandler::getOwnPropertyDescriptor. Let only nsLayoutStatics call nsGlobalWindow::ShutDown and nsDOMClassInfo::ShutDown. r=bz. 2013-08-19 18:46:06 +02:00
Ryan VanderMeulen
bc2000a956 Merge b2g-inbound to m-c. 2013-08-23 10:50:14 -04:00
Kyle Huey
ffc165fd35 Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
7be62a98b2 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
d2e93ff015 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Nicholas Nethercote
36ec1052f2 Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Ryan VanderMeulen
a3784baa5f Merge m-c to b2g-inbound. 2013-08-22 15:45:52 -04:00
Gregor Wagner
560bcc356d Bug 907996 - Contacts: Fix error callbacks. r=reuben 2013-08-22 12:05:01 -07:00
Masatoshi Kimura
37640717b2 Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley 2013-08-22 22:44:19 +09:00
Brian Hackett
e6289f59db Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm. 2013-08-22 07:22:33 -06:00
Ms2ger
f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
8040c0cadd Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
05f294ce31 Bug 906503 - Remove nsIExceptionProvider; r=bholley
It is replaced by a direct special case in the caller.
2013-08-22 08:56:02 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4fb1aa6786 Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
609e778c1f Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey 2013-08-22 08:33:59 +02:00
Ms2ger
18cd92e9b4 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Ms2ger
c6ed78509a Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ms2ger
34addaf4e6 Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Ms2ger
af8841fe56 Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey 2013-08-22 08:29:30 +02:00
Guillaume Abadie
166bf211b3 bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert 2013-08-21 21:11:03 -04:00
Olli Pettay
e5e63a48e9 Bug 906269, don't start a GC cycle so likely while we're in middle of a CC cycle, r=mccr8
--HG--
extra : rebase_source : 90d3ad3d19159613f2cb83f0d28dd37a1a429b75
2013-08-22 00:02:12 +03:00
Nicholas Nethercote
b62bcfa0e3 Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Till Schneidereit
b6f4813baa Bug 907201 - Enable activating TI and IonMonkey for chrome scripts via about:config. r=jandem
--HG--
extra : rebase_source : ee45b0108b4516cff12ecc91014cb566d432a4fa
2013-08-20 11:26:44 +02:00
Ehsan Akhgari
f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Nicholas Nethercote
2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Botond Ballo
e2eae8dab7 Bug 898580 - Add nsIDOMWindowUtils.getViewId(element). r=smaug 2013-08-08 15:56:09 -04:00
Nicholas Cameron
0514eb1ecd Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Andrew McCreight
474d786e4b Bug 906272 - Remove unused CC declarations for nsScreen. r=khuey 2013-08-19 14:18:07 -07:00
Masatoshi Kimura
7bcce3ab11 Bug 910751 - Hide UserDataHandler from content. r=smaug 2013-08-30 20:39:37 +09:00
Guillaume Abadie
b34f7bed28 bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Ehsan Akhgari
2621b190f1 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Bobby Holley
9d466e12cc Bug 901106 - Eliminate the nsJSRuntime namespace. r=mrbkap 2013-08-19 16:24:29 -07:00
Bobby Holley
b1f301a7a7 Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
ae0d0745b3 Bug 901106 - Get rid of vestigial nsJSRuntime instance and make it a namespace. r=mrbkap
We'll rename the namespace shortly.
2013-08-19 16:24:29 -07:00
Bobby Holley
c334ce29a3 Bug 901106 - Make sure sure the nsDOMScriptObjectFactory gets instantiated.
This used to happen implicitly when we created the first nsJSContext, but that
goes away in the next patch. Without this, we get a couple of odd exception-
related failures in the IPC indexedDB tests.
2013-08-19 16:24:28 -07:00
Bobby Holley
b4dde9a0ba Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Bobby Holley
9ccecb62c8 Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug 2013-08-19 16:24:27 -07:00
Masatoshi Kimura
ad384dbcf6 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Andrea Marchesini
7e55100f66 Bug 896535 - Promise: then(console.log) is not working as expected. r=msucan 2013-08-19 09:13:47 -04:00
Gabor Krizsanits
f73f401b21 Bug 877673 - Part 1: AutoDontReportUncaught. r=bholley 2013-08-19 11:46:24 +02:00
Tom Schuster
8812f84312 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Andrew McCreight
bfd6bdbcf8 Bug 889193 - Remove DOMRequest::mRooted. r=smaug 2013-08-14 11:29:20 -07:00
Olli Pettay
05d99e99a0 Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Ehsan Akhgari
1ed269270a Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE 2013-08-15 18:20:00 -04:00
Tom Schuster
63f6d15be9 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Brian Hackett
cbc8048e52 Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke. 2013-08-15 14:14:43 -07:00
Ehsan Akhgari
99058b577c Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Jan de Mooij
dc64810021 Bug 905300 - Remove dead code in SpiderMonkey. r=bhackett 2013-08-15 13:45:30 +02:00
Gregory Szorc
df453f8483 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Bobby Holley
27a832e507 Bug 903212 - Remove explicit compartment GC machinery. r=smaug 2013-08-14 14:00:03 -07:00
Bobby Holley
03c1b0ddf4 Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap 2013-08-14 14:00:03 -07:00
Bobby Holley
0846601377 Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap 2013-08-14 14:00:03 -07:00
Bobby Holley
4c9559f8e1 Bug 903212 - Remove activity tracking from nsJSContext. r=smaug
This only has an impact when we enable explict compartmental GCs, which have
been preffed off for a while.
2013-08-14 14:00:02 -07:00