Peter Van der Beken
e462957b02
Fix for bug 740064 (Refactor XrayWrapper). r=bholley.
...
--HG--
extra : rebase_source : 60559d74b10761a794d83a0a63dc60a92b2d48eb
2012-03-27 16:31:37 -07:00
Andrew McCreight
27816a4c77
Bug 708825 - set mIdentity to null if compartment enter fails. r=bholley
2012-03-09 18:41:13 -08:00
Terrence Cole
2c0bc63017
Backout 00f2e1e9adc2 after mq malfunction.
2012-03-29 17:52:45 -07:00
Terrence Cole
2f9cd7725c
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Terrence Cole
7885c4776d
Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=?
...
This does not build jsdhash.cpp for SpiderMonkey, but does keep it in tree for
the remaining users in xpconnect.
--HG--
extra : rebase_source : 5780e1e024a247d619a548541ad84cbeeba6c75b
2012-03-23 16:00:01 -07:00
Bobby Holley
83879a9142
Bug 740469 - JSNative->JSFunction fixup should happen in DefinePropertyById, not DefineProperty. r=luke
2012-03-29 13:34:36 -07:00
Dão Gottwald
a13dabd86a
Backed out changeset 6cb9adc02c12
2012-03-29 20:35:49 +02:00
Masatoshi Kimura
160e1c0fcc
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-03-29 19:49:21 +02:00
Doug Turner
b47e1fac99
Bug 739760 - doubles and floats can't be used in dictionaries. r=khuey
2012-03-29 00:05:44 -07:00
Luke Wagner
2704caef24
Bug 733793 - Check for null return from JS_ObjectToOuterObject (r=bholley)
...
--HG--
extra : rebase_source : 2b7fbb3a72f641785de7f7707e9b6e8013b4eb6d
2012-03-28 16:15:38 -07:00
Andrew McCreight
980ef286d3
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Andrew McCreight
76cceac62b
Bug 712735 - Don't add JS holders with no gray children as XPConnect roots. r=smaug
2012-03-28 21:23:01 -07:00
Boris Zbarsky
2c1acbadbb
Bug 739541. Add faster versions of JS_ValueToNumber and JS_ValueToECMAInt32. r=dmandelin
2012-03-28 16:35:21 -07:00
Ben Turner
201db1d3e0
Bug 737911 - 'Shrink bits for CACHED_PROTO_KEYs and add two new JSClass flags for the new DOM bindings'. r=lukew.
2012-03-28 14:50:31 -07:00
Luke Wagner
9dd56c77d3
Fix warnings in js/src (no bug, r=me)
2012-03-28 09:11:54 -07:00
Luke Wagner
538bf24c70
Bug 739520 - rm JSOP_SETLOCALPOP (r=bhackett)
...
--HG--
extra : rebase_source : d81a637b6b8ba873a78ea6971b3ef5010a0823a3
2012-03-26 22:29:55 -07:00
Luke Wagner
9fb0d43934
Bug 736742 - Fix decompiler precedence for destructuring assignment with comma-expression (r=jorendorff)
...
--HG--
extra : rebase_source : d38dc6e2eec3a90e5bf1d86862da4734d374e6e2
2012-03-27 14:48:10 -07:00
Luke Wagner
80a5106175
Bug 739685 - rm useless makeAtom calls in BindNameToSlot (r=dvander)
...
--HG--
extra : rebase_source : 9c057d2e9a07738cdc2b6530c3d5aae79f6cb095
2012-03-26 22:33:28 -07:00
Luke Wagner
bfcee2ce85
Bug 739532 - don't malloc BytecodeEmitter (r=jorendorff)
...
--HG--
extra : rebase_source : e831aeba4813e6a7eea7c0dedf9b3946525518ce
2012-03-23 11:29:30 -07:00
Jared Wein
ab34b8f798
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-28 08:53:56 -07:00
Phil Ringnalda
6ca3d29401
Merge m-c to m-i
2012-03-27 21:21:11 -07:00
Tim Taubert
7327b06aa0
merge m-c to fx-team
2012-03-28 00:33:42 +02:00
Robert Strong
885df8ebbc
Bug 491947 - Disable DDE shell integration. r=jmathies
2012-03-26 12:45:29 -07:00
Ed Morley
32c252e50a
Merge mozilla-central and mozilla-inbound
2012-03-25 11:39:22 +01:00
David Mandelin
1d3521bbe3
Bug 739808: Remove method cloning optimization and method barrier, r=luke
...
--HG--
extra : rebase_source : d383c3704c3efd08f9fbf1324433a94fc4a8dbb8
2012-03-23 17:59:56 -07:00
Jeff Walden
e92d71e8cc
Bug 736591 - Check for exceeding the operation limit when iteratively matching a global regexp against a string. r=luke
...
--HG--
extra : rebase_source : 2a24b4a15909cfd2c04347b60131175fe77e83fe
2012-03-27 12:13:13 -07:00
Andreas Gal
8dfb4a8ca6
Build changes to support gonk-ics (bug 737167, r=cjones, patch by mwu).
2012-03-25 03:13:35 +02:00
Ed Morley
648d5412a8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-24 16:05:07 +00:00
Jared Wein
726d85a760
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Bill McCloskey
72fd373f24
Bug 739694 - Fix script filename saving in exception traces (r=luke)
2012-03-27 14:41:50 -07:00
Bill McCloskey
f290c1604a
Bug 703474 - Fix memory leak in GC write barrier verifier (r=igor)
2012-03-23 17:18:09 -07:00
Bill McCloskey
b171c214ba
Bug 737573 - Fix leak in SaveScriptFilename (r=igor)
2012-03-23 17:11:51 -07:00
Bobby Holley
7039a94106
Bug 733984 - Explicitly disallow shadowing on location wrappers. r=mrbkap
...
This was taken care of in other ways before, but we need to be more explicit about it now that we're doing more Xray stuff with Location wrappers.
2012-03-23 15:58:18 -07:00
Bobby Holley
1e986914e4
Bug 667388 - Handle wrappers during structured clone. r=mrbkap
...
We also remove the declared-but-never-implemented JSObject::getWrapperHandler.
2012-03-23 14:59:27 -07:00
Bobby Holley
02d5765e81
Bug 667388 - Introduce the PUNCTURE wrapper action. r=mrbkap
2012-03-23 14:59:27 -07:00
Bobby Holley
6eee34997f
Bug 667388 - Make the chrome-to-content Xray wrapper derive CrossCompartmentWrapper. r=mrbkap
...
The current situation seems incorrect, especially given the behavior of CrossOriginWrapper and XrayProxy. Currently it doesn't matter, but it probably will in the future.
2012-03-23 14:59:27 -07:00
Bobby Holley
a41865ae59
Bug 733984 - Apply Location wrappers for same-origin cross-compartment wrapping. r=mrbkap
...
This isn't an issue right now, since it can't ever happen outside of sandboxes, which content can't use. But if it could, it could get a pure CrossCompartmentWrapper to a Location object, which is bad.
2012-03-23 14:59:23 -07:00
Bobby Holley
a8eb45af36
Bug 733984 - Use the Location security policy even for content accessing chrome. r=mrbkap
...
I'm adding asserts about when we do and don't have a Location object behind the wrapper, and this case was hitting them. What we do here doesn't so much matter given how this stuff all works. On the one hand, statically using a restrictive policy is slightly more defense-in-depth. On the other hand, if this stuff is broken we're screwed in much more serious ways than content reading chrome locations, and using a consistent wrapper scheme allows us to make stronger asserts and assumptions.
I opted for stronger assumptions and more understandable security code. If Blake feels strongly though, I could go the other way and sprinkle '|| isChrome(obj)' throughout the asserts though.
2012-03-23 14:59:19 -07:00
Bobby Holley
61b04fb742
Bug 733984 - Clarify the security characteristics of Location objects. r=mrbkap
...
I was getting confused by some of the naming and lack of comments here.
2012-03-23 14:59:07 -07:00
Bobby Holley
0bc1eebe87
Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap
2012-03-23 14:59:04 -07:00
Ginn Chen
7a03ba3e9f
Bug 737344 make the jsval_layout field in JS::Value public on SPARC for binary compatibility across C and C++ r=luke
2012-03-27 10:51:49 +08:00
Bill McCloskey
45a76d1ab4
Bug 737997 - Ensure we never do compartment GCs if preference is unset (r=igor)
2012-03-26 16:29:08 -07:00
Gregor Wagner
ec045e370f
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Jeff Walden
bfba482500
Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin
2012-03-21 13:32:43 -07:00
Jared Wein
e8d8a40761
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Mike Hommey
1b07eff883
Bug 734050 - Build stlport as part of our build process. r=ted
2012-03-23 17:35:09 +01:00
Makoto Kato
1b153892b4
Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey
2012-03-23 14:45:51 +09:00
Nicholas Nethercote
a9513b7c82
Bug 738153 - Remove JSScript::inlineData. r=luke.
...
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Jared Wein
97c6f75ef3
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-22 13:53:59 -07:00
Mike Hommey
92ee6771d6
Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey
2012-03-22 08:01:27 +01:00