Commit Graph

691 Commits

Author SHA1 Message Date
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Mounir Lamouri
950bfc0ccb Bug 764753 - Unlock screen orientation when the document is left without explicitly exiting fullscreen. r=smaug 2012-06-22 10:52:47 +02:00
Mike Hommey
c533a83b6c 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
Ehsan Akhgari
d8df82ca0f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Ms2ger
a592bdccbb Bug 762455 - Make nsGlobalWindow::InnerSetNewDocument not return nsresult; r=peterv 2012-06-17 10:11:16 +02:00
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Bobby Holley
a25e476e78 Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Etienne Segonzac
3be58ec2e7 Bug 764414 - Let <iframe mozapp> content open popups even when it's in the background. r=bz 2012-06-15 07:48:15 +02:00
Mike Hommey
88257ed076 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
2b97d92578 Bug 763247 - remove bogus assert added in bug 748464; r=bz 2012-06-13 15:27:14 -04:00
Justin Lebar
d19ebc4677 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Justin Lebar
879007e561 Bug 742944 - Part 2: Allow getInterface'ing an nsGlobalWindow to an nsIDocShell. r=bz
--HG--
extra : rebase_source : d753f06497e4b6859be45fd9fa4173ec18f0c2e5
2012-06-12 18:01:24 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
David Zbarsky
249b4fb9fa Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst 2012-06-09 15:15:12 -07:00
Doug Turner
4f84a9c167 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
36e9d9804d Bug 757182 - Handle window.close in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : e2c4038f36338af70fa6842d0146a63335002a9b
2012-06-07 13:26:34 -04:00
Justin Lebar
ba730e6e3a Bug 741587 - Part 1: Make alert/prompt/confirm work with <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : f418da542453f8b0f5853a8da48bea1c8c95969e
2012-06-07 10:43:23 -04:00
Nathan Froyd
8937b9cb32 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Ed Morley
22d9b9afc4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
7be9f2c7f1 Bug 760049 - Move nsIScriptContext::CreateNativeGlobalForInner to nsGlobalWindow.cpp; r=jst 2012-06-06 09:38:51 +02:00
Ms2ger
1a2d55bdac Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
b036a6ed71 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Kyle Huey
511c23f364 Bug 752468: Remove some code accidentally reintroduced in Bug 751999. r=jst 2012-06-04 20:39:21 -07:00
Anant Narayanan
beefeb5f37 Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Eddy Bruel
3a1af88d80 Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley 2012-06-01 12:51:20 +02:00
Nathan Froyd
26ff3c4c35 Bug 748464 - refactor nsGlobalWindow::RunTimeout; r=bz 2012-04-24 14:16:29 -04:00
Doug Turner
468be7f46a Backout of 2f4307a63c18 - Bug 759989. 2012-06-04 12:22:23 -07:00
Jason Orendorff
80dda6d7a5 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
daec3cf6f2 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
2cf0060022 Bug 751999: Followup to fix build bustage from bitrot. 2012-05-25 15:13:58 -07:00
Kyle Huey
9c34c902d6 Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Neil Deakin
b9d2d5f9e3 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Justin Lebar
6cd1b97cff Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Nils Maier
35431284b1 Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
f799ef06a1 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
05ff81b305 Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
11cd0538f9 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
d2f59a7b2a 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
4f91700da9 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
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Mounir Lamouri
632f949ad0 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
952519ccff 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
91cae0fac8 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
b41868c759 Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap 2012-05-14 12:52:16 +02:00
Mounir Lamouri
d46108bdce 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
49e2ef33de 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
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Brian Hackett
bf76d70428 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