Commit Graph

18360 Commits

Author SHA1 Message Date
Jared Wein
642a4f48c0 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
8d8cf286e2 Merge m-c to m-i 2012-03-27 21:21:11 -07:00
Tim Taubert
04ee0113a8 merge m-c to fx-team 2012-03-28 00:33:42 +02:00
Robert Strong
ec6279523d Bug 491947 - Disable DDE shell integration. r=jmathies 2012-03-26 12:45:29 -07:00
Ed Morley
9bbadf613d Merge mozilla-central and mozilla-inbound 2012-03-25 11:39:22 +01:00
David Mandelin
905c0f1adb 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
728b59a986 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
d323bd4ae2 Build changes to support gonk-ics (bug 737167, r=cjones, patch by mwu). 2012-03-25 03:13:35 +02:00
Ed Morley
d17518487f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-24 16:05:07 +00:00
Jared Wein
e34baf2131 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Bill McCloskey
e792f2501f Bug 739694 - Fix script filename saving in exception traces (r=luke) 2012-03-27 14:41:50 -07:00
Bill McCloskey
aa4cb7443f Bug 703474 - Fix memory leak in GC write barrier verifier (r=igor) 2012-03-23 17:18:09 -07:00
Bill McCloskey
7fb7c9d680 Bug 737573 - Fix leak in SaveScriptFilename (r=igor) 2012-03-23 17:11:51 -07:00
Bobby Holley
2672787670 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
db60d031a5 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
9146523a9f Bug 667388 - Introduce the PUNCTURE wrapper action. r=mrbkap 2012-03-23 14:59:27 -07:00
Bobby Holley
57296aa50b 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
041837d99f 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
011c97a205 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
a44b6d76ac 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
4d5b2ef225 Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap 2012-03-23 14:59:04 -07:00
Ginn Chen
8df6eccad7 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
d856a02082 Bug 737997 - Ensure we never do compartment GCs if preference is unset (r=igor) 2012-03-26 16:29:08 -07:00
Gregor Wagner
746c6fda8d Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Jeff Walden
f71904b894 Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin 2012-03-21 13:32:43 -07:00
Jared Wein
30d9fd445e Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Mike Hommey
916407a772 Bug 734050 - Build stlport as part of our build process. r=ted 2012-03-23 17:35:09 +01:00
Makoto Kato
50d65689bb Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey 2012-03-23 14:45:51 +09:00
Nicholas Nethercote
78439dc8b2 Bug 738153 - Remove JSScript::inlineData. r=luke.
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Jared Wein
589f9135f9 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
6c75c64ae7 Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey 2012-03-22 08:01:27 +01:00
Nicholas Nethercote
616b0f275a merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
256772d52e Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Pranav Ravichandran
75b8ad96ec Bug 535594 - Fix/Clean-up 'security.enable_java' preference references. r=bsmedberg 2012-03-21 19:52:23 -04:00
Peter Van der Beken
4c5904d14e Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Ms2ger
1b0103ba21 Bug 736619 - remove the unused struct ClearedGlobalObject from XPCJSRuntime; r=bholley 2012-03-24 09:18:22 +01:00
Jared Wein
4920fd9f8d Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Nicholas Nethercote
1859bc3ea6 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Jeff Walden
62474517e5 Bug 738075 - Remove JSFunction::u::n::clasp, and change associated code accordingly. r=dmandelin 2012-03-12 16:16:40 -07:00
Jeff Walden
06e1d63c36 Bug 738072 - Slot numbers are uint32_t, so use uint32_t rather than unsigned for slot numbers, slot counts, and so on. r=dmandelin
--HG--
extra : rebase_source : f67146dbd510e1e94b1298344d8335c35350b7c8
2012-03-22 11:50:49 -07:00
Jeff Walden
ff4b24bb54 Bug 728411 - Move private data bits from JSObject to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 69aa2fae9e9a3a43496329ed939468214ee7c9d1
2012-03-21 13:32:55 -07:00
Bill McCloskey
91a79500fe Bug 737384 - Use reserve rather than resize for iterator wrapping (r=luke) 2012-03-26 11:06:49 -07:00
Jeff Walden
6d2861cf63 Windows build bustage fix -- looks like Windows doesn't recognize nested method definitions with const, implicitly namespace-nested argument types (?). No bug, r=red, all hail MSVC 2012-03-21 14:55:12 -07:00
Jeff Walden
11cec064bd Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 49934cb03e1cde5ea44bda525d2502227117aa2a
2012-03-21 14:12:51 -07:00
Jeff Walden
64398b2a15 Bug 728411 - Move a couple more slot methods over to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : e9e872a9557d87cb545c1c209a946a6b87d85e4d
2012-02-24 20:01:05 -08:00
Jeff Walden
00596da6c2 Bug 728411 - Move checkShapeConsistency into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 92525ff32e1d27c335eb0d2c73a8b54b0d5b8a54
2012-02-23 15:45:01 -08:00
Jeff Walden
5451b477d4 Bug 728411 - Move most other slot-access methods into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 34a66226584835cdedc5958d0475606de972180a
2012-02-23 15:39:35 -08:00
Jeff Walden
8fe8c16233 Bug 728411 - Move slot range operations into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 704d67267923e019df82de7f77f60b48c6c62128
2012-02-23 15:39:32 -08:00
Jeff Walden
48e59df2bd Bug 737996 - Remove some essentially-obsolete configuration options from jsversion.h. r=luke
--HG--
extra : rebase_source : 4b54a0ab0a6fcdb15ee671ee8c1b460d4b4f4180
2012-03-21 12:23:07 -07:00
Terrence Cole
a592913d0e Bug 735761 - Fix a cosmetic error in the test suite; r=dmandelin
This patch pushes our null results for non-run tests before running other tests
so that when we do not try to update the progress bar after we finish running.

--HG--
extra : rebase_source : 02e53cddcab4c5898ef2636f78c806509ae33dcf
2012-03-21 11:49:01 -07:00