Commit Graph

2479 Commits

Author SHA1 Message Date
Justin Lebar
51896dceac Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
extra : rebase_source : 1de945d5933824d79866bbc61e2493f96217a9ee
2012-07-11 16:02:20 -04:00
Gregor Wagner
29007fc7cc Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm 2012-07-11 11:09:53 -07:00
Boris Zbarsky
0c79c85561 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
L. David Baron
cda7a1ab86 Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky 2012-07-07 21:41:27 -07:00
Mihai Sucan
4ef0b7553a Bug 770993 - ConsoleAPI.js consumes excessive amounts of memory; r=dbaron,rcampbell 2012-07-07 13:21:04 +03:00
Nicholas Nethercote
d9d85b82d7 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Bonnie Surender
f1f083f6f9 fixing bug 770656, idle fuzz time for idle notifications. r=jst@mozilla.com 2012-07-04 13:21:40 -07:00
Masayuki Nakano
a010f5444e Bug 769190 part.2 Rename nsInputEvent::IsWin() and widget::MODIFIER_(SCROLL|WIN) to nsInputEvent::IsOS() and widget::MODIFIER_(SCROLLLOCK|OS) r=smaug 2012-07-06 09:42:05 +09:00
Masayuki Nakano
7ac1e9bb32 Bug 769190 part.1 Rename Scroll and Win to ScrollLock and OS for the argument of getModifierState() r=smaug, sr=jst 2012-07-06 09:42:05 +09:00
Mounir Lamouri
76d382c04f Bug 769571 - Unprefix Battery API. r=sicking sr=smaug
--HG--
rename : dom/battery/nsIDOMNavigatorBattery.idl => dom/battery/nsINavigatorBattery.idl
2012-07-05 12:05:09 +02:00
Mounir Lamouri
c84d60f166 Bug 769571 - Unprefix Vibrator API. r=jlebar sr=smaug 2012-07-05 12:04:45 +02:00
Bill McCloskey
943f752751 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Hessam Salehi
1257ec8a23 Bug 722976 - Stop using nsIPrivateBrowsingService in ConsoleAPIStorage. r=gavin
Stop using the global private browsing state and instead use
PrivateBrowsingUtils to find out the privacy state of the relevant docshell.
2012-04-24 20:22:11 +04:30
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Mounir Lamouri
a022987766 Bug 770491 - Fix leak introduced by System Message Handler API. r=khuey 2012-07-03 15:49:56 +02:00
Fabrice Desré
14de8ea9c9 Bug 755245 - Implement System Message Handler : Part 3, DOM implementation [r=vingtetun,mounir] 2012-07-02 17:16:55 -07:00
Fabrice Desré
9bc82b5cb5 Bug 755245 - Implement System Message Handler : Part 2, Add a getApp() method to nsGlobalWindow [r=mounir] 2012-07-02 17:16:55 -07:00
Bonnie Surender
dc4826bb04 Fixing bug 770175 and bug 770171. Idle API moz assert fix. r=jst@mozilla.com 2012-07-02 16:18:57 -07:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Bill McCloskey
aa9581a5fd Bug 758034 - Avoid compartment changed GC resets (r=smaug) 2012-06-30 14:18:10 -07:00
Bill McCloskey
0dd01290a1 Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Jeff Walden
50fcd2f8a2 Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin 2012-05-23 10:22:46 -07:00
Jeff Walden
489df3d6ae Bug 769040 - Remove JSACC_PARENT. r=dmandelin 2012-06-27 14:03:49 -07:00
Ryan VanderMeulen
a77927c028 Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Ms2ger
aae562ed57 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Huey
d3b6b42885 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Bobby Holley
fb16bc5a98 Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Bobby Holley
3531f53d51 Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-28 23:47:55 +02:00
Peter Van der Beken
f8c3fdf0be Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Jeff Walden
f6f2596934 Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin
--HG--
extra : rebase_source : 0aa62ffa45751a55708f904079d901347e6dc9ea
2012-05-23 10:22:46 -07:00
Jeff Walden
0fd899a913 Bug 769040 - Remove JSACC_PARENT. r=dmandelin
--HG--
extra : rebase_source : 2890ae28d325fb2d280f7d781e536e264cb30530
2012-06-27 14:03:49 -07:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Peter Van der Beken
52a7369c47 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Andrew McCreight
a2ef9080d9 Bug 754495 - fix assertion. rs=Ms2ger 2012-06-29 09:09:17 -07:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vivien Nicolas
23fcbde395 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Martin Stransky
8e60b812d6 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Matt Brubeck
250881f221 Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Andrew McCreight
1f3a34a0da Bug 754495, part 9 - Don't merge too much. r=smaug 2012-06-27 08:10:43 -07:00
Andrew McCreight
e61bd264d3 Bug 754495, part 8 - do merging CCs when there's a gray global. r=smaug,mrbkap 2012-06-27 08:10:32 -07:00
Andrew McCreight
c3d36b5f58 Bug 754495, part 7 - indicate if CycleCollectNow is forced. r=smaug 2012-06-27 08:10:20 -07:00
Andrew McCreight
4203a503a6 Bug 754495, part 6 - indicate in error console if we do a merged CC. r=smaug 2012-06-27 08:10:09 -07:00
Andrew McCreight
95a987d18a Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Peter Van der Beken
c05ad472fc Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Peter Van der Beken
61a79011e0 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
--HG--
extra : rebase_source : 8e7a2722aa1fb089baa6c1aa8604dcd0e91c1ff2
2012-06-13 17:14:15 +02:00
Peter Van der Beken
f52cfd0a51 Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Bill McCloskey
d04e607eed Bug 762199 - Don't use tinyids in indexeddbg (r=Waldo) 2012-06-26 13:35:34 -07:00
Nicholas Nethercote
cd23690fd5 Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd.
--HG--
extra : rebase_source : d58788d8d47eeac7d4ecac85eb016c5fd6c4b739
2012-06-25 17:06:50 -07:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Geo Mealer
b7f1775dd3 Bug 760735 - Write mochitests for Screen Orientation API. r=mounir 2012-06-21 14:59:40 -07:00
Chris Jones
32a72b6e00 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Mats Palmgren
cdca8af1f4 Bug 575294, bug 760946. part=1/5 r=enndeakin,smaug 2012-06-23 03:13:56 +02:00
Mounir Lamouri
bd73eddbb2 Bug 766903 - Cleanup eventlisteners when nsScreen is reseted. r=smaug 2012-06-22 10:53:23 +02:00
Mounir Lamouri
f664bf419b Bug 764753 - Unlock screen orientation when the document is left without explicitly exiting fullscreen. r=smaug 2012-06-22 10:52:47 +02:00
Mounir Lamouri
1139be49b7 Bug 766902 - Don't listen for fullscreenchange when screen has been locked by an application. r=smaug 2012-06-22 10:53:03 +02:00
Jeff Walden
9bfb3aa19b Bug 758912 - Don't use JSCLASS_NEW_RESOLVE_GETS_START in XBL code. r=bz 2012-05-29 12:01:30 -07:00
Ryan VanderMeulen
7990326241 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Martin Stransky
02b62af313 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Jeff Muizelaar
fcd170071d Bug 767088. Add SAMPLE_LABEL to nsDOMWindowUtils::SendMouseEventToWindow. r=ehsan
This is useful for profiling android text selection.
2012-06-11 16:22:14 -07:00
Jeff Walden
fdc16c2d6a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Ed Morley
976e703db3 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Bobby Holley
199645d62c Bug 732870 - Have nsDOMStringMapSH::PreCreate use the element as its parent, rather than the window. r=peterv 2012-06-21 10:02:36 +02:00
Johnny Stenback
f69c008dd5 Fixing bug 616353. Make DOM constants constant. r=peterv 2010-12-03 09:10:46 -08:00
Mike Hommey
e1f994d15f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Masatoshi Kimura
0a16a56d7f Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Mike Hommey
f600664217 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
Peter Van der Beken
eeca8d5fd4 Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz. 2012-06-04 21:41:51 +02:00
Peter Van der Beken
470c53a48e Fix for bug 764277 (New DOM bindings codegen doesn't register classes with constructors). r=jst. 2012-06-14 16:56:38 +02:00
Ehsan Akhgari
30e49b6b7c 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
31e3951f19 Bug 762455 - Make nsGlobalWindow::InnerSetNewDocument not return nsresult; r=peterv 2012-06-17 10:11:16 +02:00
Ms2ger
587f726fbe Bug 762436 - Get rid of the nsresult return value for nsIXPCScriptable::GetScriptableFlags(); r=mrbkap 2012-06-17 10:11:16 +02:00
Gregor Wagner
1011a23af6 Bug 764682 - Fix B2G build. r=red 2012-06-16 11:47:04 -07:00
Gregor Wagner
690cbd60df Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Ryan VanderMeulen
1df0bbcdcc Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Tim Taubert
cbc36efcd3 merge m-c to fx-team 2012-06-16 12:36:20 +02:00
Mike Hommey
2536fb188a Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Bobby Holley
bb38fbaa32 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
a89a82fe3d 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
Mihai Sucan
56912e0ccb Bug 761257 - Further improve Web Console output performance; r=dcamp f=bz 2012-06-12 14:25:07 +03:00
Mike Hommey
3acf5d646d 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
Masatoshi Kimura
5e1cdc109a Bug 743888 - Part 1: Remove SVGException and XPathException. r=jonas 2012-06-13 21:12:37 -04:00
Justin Lebar
b51e2722c9 Bug 764130 - Don't crash if NULL pointers are passed to nsIDOMRequestService methods. r=smaug 2012-06-13 17:26:10 -04:00
Nathan Froyd
369613449f Bug 763247 - remove bogus assert added in bug 748464; r=bz 2012-06-13 15:27:14 -04:00
Nicholas Nethercote
51b1dd666a Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
d09087aa9d Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Fabrice Desré
e703351031 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Andrew McCreight
6cc6d55a6b Bug 750820 - make oldFocusedContent an nsCOMPtr in nsGlobalWindow::PageHidden. r=bz 2012-05-18 15:19:34 -07:00
Jim Mathies
d0b684c0ba Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Gregor Wagner
b8dd529aa2 Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Peter Van der Beken
c13ddebfa6 Fix for bug 760131 (Quickstub argument unwrapping fails for security-wrapped list proxy and paris binding objects). r=bz.
--HG--
extra : rebase_source : 945d58f3b73f25f05528e6c6d69745215cb4793a
2012-06-01 18:24:52 +02:00
Boris Zbarsky
44edd4a058 Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob 2012-06-15 16:25:51 -04:00
Andrew McCreight
61537ff496 Bug 749385 - use deferred release in nsHTMLDocumentSH::ReleaseDocument. r=peterv 2012-05-18 15:00:19 -07:00
Ed Morley
35dfac289e Merge mozilla-central to mozilla-inbound 2012-06-15 15:18:20 +01:00
Nathan Froyd
630362934d Bug 752952 - account for nsIDocument's property tables in about:memory; r=njn,f=smaug 2012-06-15 00:10:08 -04:00
Justin Lebar
13518ec124 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
a7929094ad 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
Ed Morley
2840374911 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00