Commit Graph

4461 Commits

Author SHA1 Message Date
Ed Morley
098c3f7141 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Ed Morley
a7f0c8ab55 Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Vicamo Yang
349d13eac4 Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-06 16:11:34 +08:00
Ms2ger
dcea1fc7e7 Bug 909003 - Part d: Remove some includes from nsHistory.h; r=bz 2013-09-06 08:43:16 +02:00
Ehsan Akhgari
36280b9569 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Ms2ger
4abf38566a Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Boris Zbarsky
24c69b775f 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
33cdb42706 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
ad36ee41a9 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
82a82c7965 Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Nicholas Nethercote
43ad5b4dcf 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
4f18e183bb 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
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Bobby Holley
8c6eaad72a 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
2eaf03fbf6 Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn 2013-08-30 13:22:33 -04:00
Bobby Holley
b8f437054d 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
401b0ffa0b Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-09-04 14:06:56 -07:00
Bobby Holley
6d001e824e 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
7932b397fb Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
be3b15d07d Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d 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
8abcb2d562 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
5cfc3855a5 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
5300eb05e8 Bug 887364 - URL API for Workers. r=khuey 2013-09-04 13:07:34 -04:00
Andrea Marchesini
4715ba2404 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Ed Morley
17f2f82cdb Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Benoit Jacob
1f20f10e0d Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Ed Morley
2a2f5c9d13 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Phil Ringnalda
8b4379a664 Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage 2013-09-03 22:33:35 -07:00
Vicamo Yang
d2b683037b Bug 864485 - 2/3: DOM & IPC. r=khuey 2013-09-04 12:46:01 +08:00
Pin Zhang
8397e0b9ea Bug 870676: Part 1 - Implement mozFMRadio in WebIDL, r=khuey,baku 2013-09-03 15:26:33 -07:00
Ryan VanderMeulen
a1cfae0032 Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Ryan VanderMeulen
ec74045b5e Merge inbound to m-c. 2013-09-03 17:40:56 -04:00
Ryan VanderMeulen
f32d0c6006 Merge m-c to inbound. 2013-09-03 17:43:47 -04:00
Kartikaya Gupta
b77f1bc2b4 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
3368290646 Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:23 -04:00
Jose Antonio Olivera Ortega
ff65edd28f 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
aa3daea368 Bug 677638 - MessageChannel and MessagePort disabled by pref, r=smaug 2013-09-03 14:39:03 +02:00
Andrea Marchesini
b075f7288e Bug 677638 - unshipped message port queue, r=smaug 2013-09-03 14:39:01 +02:00
Andrea Marchesini
1fed76e9bd Bug 677638 - cycle collection and timeout, r=smaug 2013-09-03 14:38:58 +02:00
Andrea Marchesini
75eefc4c47 Bug 677638 - Start() method 2013-09-03 14:38:56 +02:00
Andrea Marchesini
7d723f3d7e Bug 677638 - MessagePort.PostMessage 2013-09-03 14:38:54 +02:00
Andrea Marchesini
861af1ae77 Bug 677638 - MessagePorts in Structured Clone Algorithm, r=smaug 2013-09-03 14:38:51 +02:00
Andrea Marchesini
15e2ddeb72 Bug 677638 - Patch 1 - MessageChannel and MessagePort interfaces, r=smaug 2013-09-03 14:38:49 +02:00
Nicholas Nethercote
191ed08f6a 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
90e148799a Merge m-c to mozilla-inbound. 2013-08-30 13:43:55 -04:00
Tim Taubert
44ca1b454c Bug 910161 - Remove nsIHistoryEntry and replace it with nsISHEntry; r=bz 2013-08-30 06:14:59 +02:00
Kan-Ru Chen (陳侃如)
4ad4688f38 Bug 910088 - Follow up: Return false if failed to get JS::Value. r=bz 2013-08-29 22:38:56 +08:00
Ed Morley
3562d328d5 Merge latest green inbound changeset and mozilla-central 2013-08-29 14:45:19 +01:00
Ed Morley
ff17bffde0 Merge mozilla-central and b2g-inbound 2013-08-29 10:50:31 +01:00
Ed Morley
51afc03d5c 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
003f2d1a27 Merge mozilla-central and inbound 2013-08-29 10:50:04 +01:00
Ryan VanderMeulen
89bb1cc5bf Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Kan-Ru Chen (陳侃如)
bb0801e102 Bug 910088 - Use webIDL dictionaries for DOMWindowResize event details r=bz 2013-08-29 11:54:31 +08:00
Pin Zhang
39055cc1a0 Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 10:24:23 -07:00
Kyle Huey
68c202cebc Back out my failed attempt to land bug 870676. 2013-08-28 10:23:32 -07:00
Kyle Huey
0ebcb654ef Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 10:11:53 -07:00
Kyle Huey
462f24c69f Back out my failed attempt to land bug 870676. 2013-08-28 10:10:39 -07:00
Kyle Huey
21373abc55 Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku 2013-08-28 09:44:33 -07:00
Olli Pettay
0b15954f57 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
ec93636aa6 Bug 903419 part 2. Report unhandled rejections in promises. r=smaug,bholley,luke 2013-08-29 00:30:06 -04:00
Boris Zbarsky
7891c84fba 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
1df155c4fd Bug 910291 - Hide TraceMalloc debug functions from content. r=bz 2013-08-29 07:48:43 +09:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Boris Zbarsky
03d632d917 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ed Morley
455a738589 Merge latest green inbound changeset and mozilla-central 2013-08-28 16:18:51 +01:00
Ed Morley
470c8ac4f9 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-28 12:22:00 +01:00
Boris Zbarsky
a6ce34f2cf 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
d7e2aadfa7 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Nicholas Nethercote
3f5d413d90 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
c79d7d39c7 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 (陳侃如)
a7e64cb3fe Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ed Morley
d4ffac9dcd Merge latest green b2g-inbound changeset and mozilla-central 2013-08-27 15:17:56 +01:00
Vicamo Yang
8e3aab1af3 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
2f3de4dea0 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
5779bb4c77 Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Bobby Holley
6274710e79 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
cff26b12ce Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
05b0b5e0f2 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
5fe7a003d5 Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-08-27 15:21:39 -07:00
Bobby Holley
5813ab4158 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
c93dc7b4a1 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
add3235319 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
b7966edcf1 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
cf9819b5d1 Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Trevor Saunders
6d4bc4993b bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Terrence Cole
7eda53daed Bug 908942 - Fix some exact rooting hazards in dom; r=bz 2013-08-23 17:23:37 -07:00
David Zbarsky
b35165ce9e Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-24 10:08:55 -04:00
Gabriele Svelto
c8251ce6f3 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
944d17423c Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d 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
a912d1fc13 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
7da23c2946 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
39b79afdce 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
e8dd2ef338 Back out 27eb88629c56:a26582e3c44d (bug 906901)
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
9ab8e39be1 Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-23 21:11:47 -04:00
Mounir Lamouri
ef7241ef15 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
4fd557dbb9 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Peter Van der Beken
618698c524 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