Commit Graph

1834 Commits

Author SHA1 Message Date
Mike Hommey
a48992b5a1 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Nathan Froyd
693aaa53f1 Bug 763247 - remove bogus assert added in bug 748464; r=bz 2012-06-13 15:27:14 -04:00
Phil Ringnalda
3cb2df7ba7 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Steven Lee
b1efdeeeb4 Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Justin Lebar
4bbfac36e1 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones 2012-06-12 18:01:25 -04:00
Justin Lebar
d7e094ffdb Bug 742944 - Part 2: Allow getInterface'ing an nsGlobalWindow to an nsIDocShell. r=bz 2012-06-12 18:01:24 -04:00
Olli Pettay
2146ee62af Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
David Zbarsky
80c5296b81 Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst 2012-06-09 15:15:12 -07:00
Doug Turner
5f4dff317a Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-07 10:58:33 -07:00
Justin Lebar
adeefe8e20 Bug 757182 - Handle window.close in <iframe mozbrowser>. r=smaug 2012-06-07 13:26:34 -04:00
Justin Lebar
286762d728 Bug 741587 - Part 1: Make alert/prompt/confirm work with <iframe mozbrowser>. r=smaug 2012-06-07 10:43:23 -04:00
Nathan Froyd
68040a6240 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Ed Morley
b62a43d5ba Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
853bc83d00 Bug 760049 - Move nsIScriptContext::CreateNativeGlobalForInner to nsGlobalWindow.cpp; r=jst 2012-06-06 09:38:51 +02:00
Ms2ger
fbe9bf563d Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
f44288ddda Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Geoff Lankow
e0db21e1ac Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Kyle Huey
49409f3f41 Bug 752468: Remove some code accidentally reintroduced in Bug 751999. r=jst 2012-06-04 20:39:21 -07:00
Anant Narayanan
fca373b659 Bug 752353: DOM bindings for getUserMedia; r=jst 2012-06-03 00:35:15 -07:00
Ben Turner
78880eb792 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Eddy Bruel
2ae989479a Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley 2012-06-01 12:51:20 +02:00
Nathan Froyd
0a1ab582e4 Bug 748464 - refactor nsGlobalWindow::RunTimeout; r=bz 2012-04-24 14:16:29 -04:00
Doug Turner
897f73468a Backout of 2f4307a63c18 - Bug 759989. 2012-06-04 12:22:23 -07:00
Jason Orendorff
63f82c9d34 Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Kyle Huey
9888c863f8 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
b6f71cf0d2 Bug 751999: Followup to fix build bustage from bitrot. 2012-05-25 15:13:58 -07:00
Kyle Huey
7aebbfba53 Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Neil Deakin
73742603fa Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Justin Lebar
3c0422584a Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz 2012-05-23 11:27:10 -04:00
Nils Maier
689174165b Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
0823045c0f Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Ed Morley
13b349afcd Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
be0d86f532 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Doug Turner
66d4b16567 Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-04 10:23:18 -07:00
Benjamin Smedberg
2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Mounir Lamouri
594a708bff Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00
Mounir Lamouri
8f4063b6f6 Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar 2012-05-16 12:40:09 +02:00
Robert O'Callahan
336cf2ae5e Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Bobby Holley
dc59c194b6 Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap 2012-05-14 12:52:16 +02:00
Mounir Lamouri
2f25d98160 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Oleg Romashin
c03d9b129c Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal 2012-02-07 12:24:15 -08:00
Brian Hackett
5b77038a66 Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm 2012-05-09 14:14:10 -07:00
Kyle Huey
b2dd18900f Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz 2012-05-09 08:10:18 -07:00
Justin Lebar
2f047bd04d Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones 2012-05-08 09:20:35 -07:00
Nathan Froyd
e2f5e12604 Bug 751314 - fix -Wsign-compare warnings in nsGlobalWindow.cpp; r=khuey 2012-05-02 15:38:17 -04:00
Ms2ger
b8c940e642 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
eef1eac9e2 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Steve Fink
9de394302c Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
2012-03-14 09:32:58 -07:00
Steve Fink
418fb9605b Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug 2012-03-20 21:29:47 -07:00