Граф коммитов

3670 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 0f251a891e Bug 1020609 - Make configurability check in Xray defineProperty match the spec. r=bz
This code is basically emulating the ES semantics with respect to non-configurable
properties. Non-configurable value properties can still be writable, in which case
their value and writability may be updated.
2014-06-11 15:16:06 -07:00
Boris Zbarsky bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Ed Morley 91ca7607e9 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-06-11 17:14:10 +01:00
Wes Kocher 37bbc01ac7 Merge m-c to b2g-inbound 2014-06-10 18:57:00 -07:00
Vicamo Yang 8d5be851b4 Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Jason Orendorff 94981132ff Bug 1023109 - Update nsIXPCScriptable.idl UUID. (Interface changed in rev a470806c3553.) r=Waldo.
"[...] nothing can go wrong with this" --Jeff Walden.

--HG--
extra : rebase_source : 95640f61aae830080c96ff6db849b9da36ad4bcf
2014-06-10 12:20:11 -05:00
Gijs Kruitbosch a8d21bcbd4 Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley 2014-06-09 19:09:51 +01:00
Ed Morley f9eb828517 Backed out changeset 6d172e86ce2e (bug 1022002) for tipping Android 2.3 reftest-6 runtimes over the max time limit 2014-06-10 15:08:49 +01:00
Gijs Kruitbosch 96799d26ab Bug 1022002 - make cloneInto create functions that clone their arguments, r=bholley 2014-06-09 19:09:51 +01:00
Eric Faust 755a9e6057 Backout changesets 654a3fc28fa2 and 88fefd05fb64 (bug 1017862) for Cpp and mochitest failures on a CLOSED TREE. r=bustage 2014-06-09 15:48:55 -07:00
Eric Faust 96f3022119 Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-06-09 14:12:17 -07:00
Bill McCloskey 94dcca9b50 Bug 1016738 - Back out for webrtc crashes. 2014-06-09 12:30:38 -07:00
Nicholas Nethercote feeaf7db9a Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 5a842c36cf7202f6751290da80cefb005fd8db95
2014-04-15 19:43:18 -07:00
Chris Peterson c04dc8b035 Bug 1018680 - Fix jsd_xpc.cpp warning and mark js/ductwork, js/jsd, and js/xpconnet as FAIL_ON_WARNINGS. r=ejpbruel 2014-05-31 19:50:24 -07:00
Bobby Holley 699946fc90 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Boris Zbarsky e37365280d Bug 1020715. Remove the quickstubs for quota API. r=peterv 2014-06-10 22:38:06 -04:00
Jim Chen 809db03f75 Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke 2014-06-06 18:39:40 -04:00
Bobby Holley 5aecb1c33a Bug 1021312 - Followup to fix incorrect test. r=me on a CLOSED TREE 2014-06-06 13:49:38 -07:00
Wes Kocher 2f2f97f987 Backed out 2 changesets (bug 1021312, bug 1020460) for apparently causing jsreftest orange on a CLOSED TREE
Backed out changeset eca7bdeb0c6e (bug 1020460)
Backed out changeset 965578443062 (bug 1021312)
2014-06-06 15:00:10 -07:00
Bobby Holley 5be28d2508 Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Trevor Saunders dd19f59774 bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo 2014-06-06 15:31:30 -04:00
Jason Orendorff 3362b05761 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Bobby Holley 32a5b36c8a Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Bobby Holley 22f18674b7 Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley 9db935d49b Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley 42f7024f5e Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley cad5e8f936 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley 88e63325ae Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley a2ee510ecb Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley bbc449149e Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley 6bb5e95a97 Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-05 22:32:38 -07:00
Bobby Holley 1951af9fcf Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-05 22:32:37 -07:00
Bobby Holley 6cdd30ff08 Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley 1a478c5c5d Bug 1021312 - use a fresh zone for xpcshell. r=mccr8 2014-06-05 22:32:36 -07:00
Bobby Holley 5122cdb7ff Bug 1021312 - Wrap strings in CloneNonReflectors. r=mccr8 2014-06-05 22:32:36 -07:00
Wes Kocher ac2eeb8a93 Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE 2014-06-05 18:23:22 -07:00
Bobby Holley adc4df5c66 Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-05 16:24:07 -07:00
Bobby Holley 8ff8fc55e2 Bug 1021124 - Bail out of InterruptCallback if we're too early in startup. r=bz 2014-06-05 12:29:42 -07:00
Vivien Nicolas bc803a18da Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Wes Kocher 915f3c652a Backed out 13 changesets (bug 987111) for disagreeing with some patch from b-i or fx-team in tonight's merge to hopefully fix a CLOSED TREE
Backed out changeset d4e390ceac27 (bug 987111)
Backed out changeset 5f88b5ef9496 (bug 987111)
Backed out changeset cdfd24ddf448 (bug 987111)
Backed out changeset 7883150e5471 (bug 987111)
Backed out changeset 407c7ca82ada (bug 987111)
Backed out changeset e7140ccf7e09 (bug 987111)
Backed out changeset 0a4d18d6306f (bug 987111)
Backed out changeset e7b7548867d9 (bug 987111)
Backed out changeset 944d128f135a (bug 987111)
Backed out changeset 33860f30fc4f (bug 987111)
Backed out changeset 518a915fb81b (bug 987111)
Backed out changeset 7576a51cf72e (bug 987111)
Backed out changeset 1a8dc1af9de6 (bug 987111)
2014-06-04 22:12:50 -07:00
Bobby Holley 59b2495ac6 Bug 987111 - Tests. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley c6742de97a Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley a9aed971d9 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 98b02626d5 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 6e9bc694e8 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 5fce5dd4ab Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley 6c6c52d3ec Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley ce6b82c251 Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-04 15:12:26 -07:00
Bobby Holley 16aa8bb904 Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-04 15:12:26 -07:00
Ryan VanderMeulen 3d3ce28f0f Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas 34a46b6121 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Kyle Huey 7ffb8ff042 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Kyle Huey 4118dbe6e7 Back out bug 1019248 due to test failures. 2014-06-02 20:18:17 -07:00
Kyle Huey 38ae93d63c Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-02 19:02:37 -07:00
Bill McCloskey 9157c8fd4d Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley) 2014-06-02 18:04:21 -07:00
Ryan VanderMeulen 31441571eb Merge m-c to inbound. 2014-06-02 17:21:11 -04:00
Ryan VanderMeulen 2190bd2057 Merge mozilla-inbound to m-c. 2014-06-02 17:20:08 -04:00
Bobby Holley 13813ca2bf Bug 972987 - Implement Xrays to self-hosted methods and properties. r=till,gabor 2014-06-02 13:55:20 -07:00
Steve Fink 5a86ec4061 Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
Bill McCloskey c6897ddf69 Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-05-30 07:46:12 -07:00
Brian R. Bondy df5e435180 Bug 1017945 - Make the XPConnect shell Vista aware to avoid registry virtualization. r=rstrong 2014-05-29 22:54:25 -04:00
Terrence Cole e82db4c03a Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
--HG--
extra : rebase_source : 95229e907222dd7335f92ae13dd83f1065eabf58
2014-05-28 17:34:36 -07:00
Ryan VanderMeulen 1206378822 Backed out 2 changesets (bug 1016738, bug 1017150) for spikes in GC-related crashes.
Backed out changeset 93c5b9181c84 (bug 1016738)
Backed out changeset c3ce56241969 (bug 1017150)
2014-05-30 15:23:02 -04:00
Bill McCloskey 2bfdd537fd Bug 1016738 - Simplify/fix "dead compartment" logic (r=luke,jonco) 2014-05-30 07:46:12 -07:00
Wes Kocher 1525b44b45 Backed out changeset 004d84a6905a (bug 1017862) for assertion failures on a CLOSED TREE 2014-05-29 15:49:07 -07:00
Eric Faust 136c794d90 Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-05-29 15:07:19 -07:00
Bobby Holley d7c81ebddb Bug 1017777 - Tune the trusted script buffer parameters on mac again. r=luke
Just like bug 938429. The test has been failing locally for me for a few weeks
now.
2014-05-29 11:54:00 -04:00
Brian Hackett 4e0b65ef88 Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm. 2014-05-29 13:06:23 -06:00
Ryan VanderMeulen 5822c2ae12 Backed out changeset 0d61bcf08362 (bug 1013531) for bustage.
CLOSED TREE
2014-05-29 13:26:55 -04:00
Terrence Cole a3d66fba38 Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
--HG--
extra : rebase_source : ce44e4a4428414a132eae7167c485ff366b1f0a6
2014-05-28 17:34:36 -07:00
Ed Morley 0c1d7d6020 Merge latest green b2g-inbound changeset and mozilla-central 2014-05-29 15:43:28 +01:00
Bill McCloskey 6f5327bb6c Bug 1014993 - Add Cu.isCrossProcessWrapper (r=mrbkap) 2014-05-28 18:05:22 -07:00
Drew Willcoxon c18470f959 Bug 1016721 - nsIXPCComponents_Utils.cloneInto's comment should mention cloneFunctions (plural), not cloneFunction. r=bholley 2014-05-28 17:07:33 -07:00
Vincent Chang 07345883f9 Bug 774582 - Unable to know if there is a user connected to Wifi tethering network. r=mrbkap 2014-01-22 16:37:40 +08:00
Bobby Holley 7f390b6bd2 Bug 1007207 - Don't treat self-implemented classinfo instances differently during XPCWN creation. r=peterv 2014-05-28 12:04:13 -07:00
Bobby Holley dab24150e9 Bug 1015380 - Fix up tests that will break with Object Xrays. r=gabor 2014-05-28 11:14:27 -07:00
Landry Breuil 3ecf3826d1 Bug 961488: fix crash in mozJSComponentLoader::Import on 32-bits powerpc/sparc unix-but-non-mac oses. r=bz,glandium f=stevesn,spectre 2014-05-27 07:56:54 +02:00
Ehsan Akhgari 5b0272c079 Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem 2014-05-25 21:46:24 -04:00
Peter Van der Beken 034f5ffcab Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Peter Van der Beken de5fbc64a7 Backout 82e3d6f25c5f (bug 789261). 2014-05-25 18:50:27 +02:00
Peter Van der Beken 6a33e9b71a Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Bobby Holley 09f9f51b84 Bug 992958 - Add support for prototype JSPropertySpecs on ClassSpec. r=luke 2014-05-23 16:53:03 -07:00
Andrea Marchesini 447dc76d13 Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger 2014-05-23 08:33:24 +01:00
Julien Levesy 38b0b1f449 Bug 1006692 - Replaced nsScriptSecurityManager::SubjectIsPrivileged and AccessCheck::IsCallerChrome by nsContentUtils::IsCallerChrome. r=bholley 2014-05-19 13:39:00 +02:00
Carsten "Tomcat" Book d928ed6914 Merge mozilla-central to mozilla-inbound 2014-05-22 15:44:47 +02:00
Jason Orendorff 6f2b5025bf Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8. 2014-05-22 08:18:02 -05:00
Jason Orendorff 9f145037d7 Bug 987995, part 2 - Add a data parameter to two memory-pressure-related callbacks. r=luke. 2014-05-22 08:18:01 -05:00
Carsten "Tomcat" Book 886c128123 merge fx-team to mozilla-central 2014-05-22 15:17:20 +02:00
Wes Kocher 31f725c890 Merge m-c to fx-team 2014-05-21 20:40:01 -07:00
Gijs Kruitbosch 1dae1fff12 Bug 1012750 - nitfix, DONTBUILD because immaterial, rs=mak/firebot 2014-05-22 00:48:19 +01:00
Gijs Kruitbosch 08c675f07b Bug 1012750 - defineLazyModuleGetter should log failing URL if there was an error loading, r=mak 2014-05-19 18:12:49 +01:00
Birunthan Mohanathas f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Honza Bambas 9934b65091 Bug 1014103 - Fix XPCShellImpl.cpp/GetLine() to use 4096 byte buffer as its caller, r=bz 2014-05-21 23:42:09 +02:00
Bobby Holley 303a25c97c Bug 997440 - Stop associating XPCWrappedNativeScopes with an XPCContext. r=bz 2014-05-20 22:52:20 -07:00
Bobby Holley e326d85b2a Bug 997440 - Use the WrappedJS's global as an entry global. r=bz
This basically means that baseURI will be relative to global in which the code
is defined, which seems reasonable.
2014-05-20 22:52:20 -07:00
Bobby Holley 2ec8d277ee Bug 997440 - Introduce a special null principal to return when we're not in any compartment at all. r=bz 2014-05-20 22:52:20 -07:00
Bobby Holley 51dbaf59da Bug 997440 - Fix an XPConnect test bug. r=bz
This failure is currently being silently squelched on trunk.
2014-05-20 22:52:19 -07:00
Wes Kocher 1a69acc2e4 Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE 2014-05-19 15:20:43 -07:00
Nathan Froyd b80b3999b9 Bug 1012748 - part 3 - remove nsIXPCSecurityManager; r=bholley 2014-05-19 12:59:30 -04:00