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