Matt Brubeck
22d4409672
Back out bug 769254 (a81e5e60dca3, 0afba80f60a1, d5e4f42b8540, 636dfa176232) because of Windows M3 leaks
...
--HG--
extra : rebase_source : b1dfca300a71e60feafd46a5e93ee99a79d56051
2012-07-11 17:30:30 -07:00
Justin Lebar
910d854fbe
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
L. David Baron
22e6bbc578
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
Bonnie Surender
9de6e1be26
fixing bug 770656, idle fuzz time for idle notifications. r=jst@mozilla.com
2012-07-04 13:21:40 -07:00
Mounir Lamouri
7f16d363cf
Bug 770491 - Fix leak introduced by System Message Handler API. r=khuey
2012-07-03 15:49:56 +02:00
Fabrice Desré
661080aac7
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
664f271620
Fixing bug 770175 and bug 770171. Idle API moz assert fix. r=jst@mozilla.com
2012-07-02 16:18:57 -07:00
Ms2ger
9f56b60843
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
Kyle Huey
3b3b755501
Bug 726378: Unprefix IndexedDB. r=sicking
2012-06-29 09:48:35 -07:00
Bonnie Surender
e360fa128a
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
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
Phil Ringnalda
cf09173698
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
230139f702
Bug 714358: Time manager implementation. r=jlebar
2012-08-07 19:11:00 -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
Kyle Huey
bba98d1710
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
30ce54f7ce
Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
...
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Nathan Froyd
cbe7708512
Bug 751314 - fix -Wsign-compare warnings in nsGlobalWindow.cpp; r=khuey
2012-05-02 15:38:17 -04:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ms2ger
ba6a163e0e
Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap
2012-05-05 11:00:04 +02:00
Steve Fink
2c59d5586c
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.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
86b2714480
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Andrew McCreight
3ac11cfc5b
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Matt Brubeck
996c153f96
Bug 750051 - Disable window.find in Fennec because it breaks and/or crashes [r=jst]
2012-05-03 09:15:38 -07:00
Josh Aas
a91941c89a
Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE
2012-05-01 16:47:35 -04:00
Kyle Huey
7f0a8a30db
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Matt Brubeck
d5da39b00f
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Steve Fink
c7e97d8358
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.
--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
0f3ecde4b7
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Mark Capella
329ec5f3aa
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
David Anderson
f84d3b7b8d
Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap).
2012-04-16 12:30:04 -07:00
Ms2ger
03682a37f1
Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab
2012-04-14 15:06:32 +02:00
Ms2ger
17ded04bad
Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz
2012-04-14 15:03:16 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00
Ms2ger
9989b037f1
Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab
2012-04-14 15:06:32 +02:00
Ms2ger
f88fab52fb
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-04-14 15:05:01 +02:00
Ms2ger
3cce5883de
Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz
2012-04-14 15:03:16 +02:00
Marco Bonardo
1962679385
Merge central and inbound
2012-04-14 13:56:15 +02:00
Olli Pettay
646212a8d4
Bug 743416, crash with showModalDialog, r=jst
2012-04-14 11:03:28 +03:00
Matt Brubeck
7330ce5b0e
Bug 735237 - Disable window.showModalDialog in Fennec [r=jst]
2012-04-12 21:55:25 -07:00
Bobby Holley
ac0a01ac3b
Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap
2012-04-12 11:21:12 -07:00
Olli Pettay
b7882b811f
Bug 743199 - Unmark Document's and Window's ELM, r=mccr8
2012-04-07 10:12:03 +03:00
Bill McCloskey
c8af5eba7e
Bug 739810 - Make cycle collector traverse nsGlobalWindow::mLocalStorage (r=smaug)
...
--HG--
extra : rebase_source : 7da46b5d1e5871dbd59078aa93f0f1d8da75799e
2012-04-05 15:38:01 -07:00
Gabor Krizsanits
c306ffc838
Bug 733035 - postMessage support for sandboxes. r=khuey
2012-04-05 18:33:20 -04:00
Nathan Froyd
69d33a0304
Bug 732708 - remove nsIDOMStorageList; r=honzab
2012-03-28 12:33:41 -04:00
Marco Bonardo
63e298422a
Merge central to inbound
2012-04-04 13:39:52 +02:00
Marco Bonardo
5eb9c1dad8
Merge last green PGO from inbound to central
2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db
Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking
2012-04-04 09:23:45 +03:00
Masayuki Nakano
b2f0fc7b65
Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst
2012-04-04 13:09:20 +09:00
Matt Brubeck
82e8c9aa19
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Kyle Huey
03a553e469
Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert
2012-04-01 19:23:51 -07:00
Tim Taubert
895f7fcd35
merge m-c to fx-team
2012-04-01 18:52:12 +02:00
Olli Pettay
aef37dab12
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Tim Taubert
726363a9bd
Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug
2012-03-30 19:31:16 +02:00
Marco Bonardo
31496b4a78
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
09fa74771d
Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst
2012-03-29 23:09:13 +02:00
Terrence Cole
f39a8777a1
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Doug Turner
d3be2a0385
Bug 740268 - DisableDeviceSensor doomedElement isn't being set correctly. r=mwu
2012-03-28 23:54:53 -07:00
Mark Capella
3519b46a3e
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Justin Lebar
6e2bfcabd9
Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
...
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Matt Brubeck
a82726585c
Bug 739038 - Disable window.print on Fennec [r=jst]
2012-04-13 12:45:06 -07:00
Doug Turner
f209a96f5b
Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
...
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
9b325a2539
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Matt Brubeck
f83a9ab93e
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Peter Van der Beken
6fd0c1b877
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Ms2ger
57ac657dfb
Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst
2012-03-24 09:18:22 +01:00
Ms2ger
aafc6a951d
Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley
2012-03-24 09:18:21 +01:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Mark Capella
1e7fdd17b2
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Mounir Lamouri
220849f37b
Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar
2012-03-15 10:58:56 +01:00
Mounir Lamouri
fe9374bc32
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Mark Finkle
c5c1e891ea
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Mounir Lamouri
81b3fa1bc1
Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar
2012-03-15 10:58:56 +01:00
Mounir Lamouri
390107621f
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Bobby Holley
92d741e6a0
Bug 734910 - Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. r=mrbkap
2012-03-16 12:47:20 -07:00
Peter Van der Beken
526e189372
Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst.
2012-03-14 15:22:10 +01:00
Olli Pettay
85ef818664
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst
2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Ms2ger
f86aa6d879
Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst
2012-03-11 09:53:05 +01:00
Ms2ger
51265ab0b6
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Ms2ger
7aad511ab7
Bug 734468 - Make SetTerminationFunction return void; r=jst
2012-03-11 09:49:15 +01:00
Jacob Holzinger
acfe99c129
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Bobby Holley
e6b5d5e506
Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
...
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Daniel Holbert
3f2d277287
Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst
2012-03-08 13:06:38 +01:00
Justin Lebar
d77dae5390
Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz
2012-03-04 11:02:00 -05:00
Matheus Kerschbaum
89b7db65ac
Bug 687579 part 1: Remove globalStorage implementation. r=jst
...
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
Nicholas Nethercote
726ecd352b
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
4a81f55553
Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc
2012-02-16 04:30:22 +01:00
Bas Schouten
a001434e6c
Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc
2012-02-16 04:08:41 +01:00
Igor Bukanov
3732e3e290
bug 730281 - remove cx argument from GC and compartment related functions. r=:billm
2012-02-29 13:18:16 +01:00
Peter Van der Beken
b3213dcf89
Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
...
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Wes Johnston
f236dbc153
Bug 725458 - Dispatch touch events notification, even if window isn't focused. r=felipe,smaug
2012-02-27 13:23:06 -08:00
Olli Pettay
6c798e3681
Bug 728577 - nsGlobalWindow::mFocusedNode seems to keep documents alive longer than needed, r=Enn
2012-02-22 19:08:40 +02:00
Olli Pettay
77efecd0c1
Backout Bug 704623, a=dromaeo regression
...
--HG--
extra : rebase_source : ab8b467e3aac40a56b5df6d56477603dacfc7c69
2012-02-20 14:54:45 +02:00
Chris Pearce
b683a7c0e3
Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc
2012-02-20 10:02:08 +13:00
Johnny Stenback
742aa9d9eb
Bug 704623, part 1. Track orphan DOM nodes so that they can be reported in about:memory. r=smaug
2012-02-14 15:13:19 -08:00
Ed Morley
04d8171793
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-10 12:14:39 +00:00
Ms2ger
e7718fdf3a
Bug 718287 - Remove plugins ForceRedraw functions; r=bz
2012-02-10 11:04:45 +01:00
Igor Bukanov
18e6a2e079
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
eb3cfce3dc
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Ed Morley
7307ed3da9
Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage
2012-02-09 16:42:07 +00:00
Mounir Lamouri
78778ee58e
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-02-09 16:55:54 +01:00
Ed Morley
08ace01a8b
Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform
2012-02-09 12:06:50 +00:00
Mounir Lamouri
78ec05a20b
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-02-09 11:29:09 +01:00
Saint Wesonga
dd27ef3bf5
Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst
2012-02-07 15:28:08 -05:00
Matt Brubeck
7e74c1f71e
Merge mozilla-central and mozilla-inbound
2012-02-01 17:09:34 -08:00
Ed Morley
348060a7c3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-01 10:55:34 +00:00
Josh Aas
b0e5e866d9
Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg
2012-01-31 16:55:54 -05:00
Wes Johnston
651bf81f36
Bug 722627 - Send window with touch event listener notification. r=smaug
2012-01-31 09:48:54 -08:00
Nathan Froyd
8e520a8e46
Bug 715953 - add telemetry for recent background timers; r=bz
2012-01-18 09:35:05 -08:00
Christian Holler (:decoder)
d6e6498fe1
Bug 703912 - Avoid format string problem in window.dump on mobile; r=blassey
2012-01-26 11:46:48 -08:00
Olli Pettay
5a5b5fea2b
Bug 720808 - Add nsJSEventListener and nsGlobalWndow to BBP, r=mccr8
...
--HG--
extra : rebase_source : e6512fe1b8b19b3ddd959b992ce0f2672b0b072f
2012-01-26 16:03:21 +01:00
Bill McCloskey
b5b7133e4b
Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8)
2012-01-25 10:59:55 -08:00
Nicholas Nethercote
2806f8e46a
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
2012-01-02 18:19:14 -08:00
Wes Johnston
38ab14764c
Bug 603008 - Only delay panning on pages with touch listeners. r=mfinkle
2012-01-25 01:31:33 +01:00
Simon Montagu
07bbd70b32
Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz
2012-01-24 11:52:04 +02:00
Johnny Stenback
b659e2c570
Bug 706381. Re-create the dummy java plugin when re-using the inner window. r=joshmoz@gmail.com
2012-01-18 15:50:14 -08:00
Olli Pettay
88794b2443
Bug 718340 - Don't traverse black windows, r=mccr8,jst
2012-01-17 12:20:57 +02:00
Olli Pettay
d24913d5f3
Backout bug 718340 since there was unknown orange
2012-01-16 18:30:06 +02:00
Olli Pettay
369f08480b
Bug 718340 - Don't traverse black windows, r=mccr8,jst
2012-01-16 13:08:44 +02:00
Ms2ger
37abe21b9b
Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Nathan Froyd
db97962e07
Bug 715947 - add telemetry for timers fired; r=bz
2012-01-10 13:33:31 -05:00
Masatoshi Kimura
65cb5fcc01
Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking
...
--HG--
rename : content/base/src/nsFileDataProtocolHandler.cpp => content/base/src/nsBlobProtocolHandler.cpp
rename : content/base/src/nsFileDataProtocolHandler.h => content/base/src/nsBlobProtocolHandler.h
2012-01-12 11:36:03 +01:00
Ms2ger
b320983b67
Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
...
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Bobby Holley
9fb9ba7af0
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Blake Kaplan
70edc96c3a
Bug 707749 - For document.write move the navigator forward to the new inner window. r=jst
...
--HG--
extra : rebase_source : ab7684c31094af6f11ff4101999f51fca1b35179
2011-12-28 14:39:55 +01:00
Boris Zbarsky
72db2a36af
Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap
2011-12-19 12:47:52 -05:00
Phil Ringnalda
26b3306837
Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures
2011-12-19 18:40:16 -08:00
Boris Zbarsky
22d709de28
Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap
2011-12-19 12:47:52 -05:00
Matt Brubeck
446588a020
Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures
2011-12-19 10:42:27 -08:00
Boris Zbarsky
3960bc9a31
Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap
2011-12-19 12:47:52 -05:00
Ms2ger
a69df32e9b
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Nathan Froyd
40b05d36da
Bug 709205 - use GetObserverService in dom,docshell; r=bz
2011-12-09 14:35:37 -05:00
Jeff Walden
87d3f92e61
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Jignesh Kakadiya
ba75090ec9
Bug 709493 - Return JSObject* from nsIScriptHandler::GetScriptObject() rather than returning void to remove casting. f=Ms2ger r=bz
2011-12-15 21:03:33 +01:00
Masatoshi Kimura
ef45bcacdc
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Boris Zbarsky
94b37b5e64
Bug 710981. Add the new name for cancelAnimationFrame. r=roc
2011-12-15 08:53:06 -05:00
Boris Zbarsky
3e61b77627
Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc
2011-12-15 08:53:06 -05:00
Boris Zbarsky
ccbdfa3576
Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc
2011-12-06 23:43:18 -05:00
Boris Zbarsky
f7e02b9898
Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc
2011-12-06 23:43:18 -05:00
Chris Pearce
c2405549e1
Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz
2011-12-07 10:59:39 +13:00
Phil Ringnalda
31e8371c3f
Back out 827420c6b756 (bug 700080) to investigate browser-chrome leaking
2011-12-02 20:59:03 -08:00
Gavin Sharp
a24ea30d35
Bug 700080: don't show prompts for tabs that are closing, r=jst
2011-11-30 13:17:21 -08:00
Justin Lebar
02f303732b
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
7b02d27fdb
Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin
2011-12-01 13:56:41 -06:00
Boris Zbarsky
9e7395e332
Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc
2011-12-01 14:24:00 -05:00
Johnny Stenback
e57eb36355
Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com
2011-12-01 00:28:16 -08:00
Boris Zbarsky
54a511fc76
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
d14b17243a
Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
...
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00