Commit Graph

630 Commits

Author SHA1 Message Date
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