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

46245 Коммитов

Автор SHA1 Сообщение Дата
ziyunfei 5f470bd4a1 Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2014-12-10 20:50:00 -05:00
ziyunfei fa6d464d58 Bug 1102219 - Part 2: Replace String.prototype.contains with String.prototype.includes in JS code. r=till 2014-11-23 06:24:00 -05:00
ziyunfei a239fb194d Bug 1102219 - Part 1: Add String.prototype.includes and keep String.prototype.contains around as an alias with a (non-release builds only) warning. r=till 2014-12-11 05:42:00 -05:00
Benjamin Bouvier 5b0bef6d63 Backed out changeset dd24124194d5 (bug 1108825) for SM(e) failures 2014-12-11 12:57:24 +01:00
Jon Coppeard bd8f236e07 Bug 1108836 - Fix race condition starting background sweeping r=terrence 2014-12-11 11:19:56 +00:00
Benjamin Bouvier fc140a436a Bug 1108825: Implement SIMD.int32x4.mul in Odin; r=sunfish 2014-12-11 12:10:35 +01:00
Benjamin Bouvier ca1995fa93 Bug 1073910: Fix ARM's roundf codegen for negative numbers; r=mjrosenb 2014-12-11 12:10:27 +01:00
Steve Singer 2e2eb384e4 Bug 1108834 - Add visitSubstr to Lowering-None. r=h4writer 2014-12-10 19:02:00 +01:00
Carsten "Tomcat" Book ff2d11f5f3 Backed out changeset 364d6f79d87c (bug 1084177) for unified build and valgrind test failures 2014-12-11 08:59:23 +01:00
Benjamin Peterson 7e524d721b Bug 1084177 - Maintain only one zlib compression context per helper thread. r=njn
--HG--
extra : rebase_source : 0966f6cbfc1c8548b00ba5745b20136a6e2aad10
2014-12-10 23:41:36 -05:00
Lars T Hansen 1e616e1c6f Bug 1108904 - correct a typo in pjs. r=shu 2014-12-10 16:50:45 -08:00
Lars T Hansen 3f7dffb99a Bug 1109886 - Use unsigned compare for bounds checking. r=luke 2014-12-10 16:48:40 -08:00
Nick Fitzgerald 7ad137e321 Bug 1106919 - Add Debugger.Script.prototype.displayName; r=ejpbruel 2014-12-10 14:31:12 -08:00
Jason Orendorff 92f1bf16c5 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Jason Orendorff 1c534dd02f Bug 1103368, part 4 - Ban stub getter/setter arguments to js::CheckDefineProperty. r=bhackett.
--HG--
extra : rebase_source : 407e9adaca3ee23e768f750cd84a0a8f3432e2fa
2014-11-22 08:43:56 -06:00
Jason Orendorff 37a9b9a235 Bug 1103368, part 3 - Ban stub getter/setter arguments to JSObject::define{Generic,Property,Element} and js::SetPropertyIgnoringNamedGetter. r=bhackett.
--HG--
extra : rebase_source : c22527613154df11344f2e66060d7e6dae61b6de
2014-11-22 08:10:20 -06:00
Jason Orendorff 317e18f2b5 Bug 1103368, part 2 - Ban stub getter/setter arguments to js::baseops::Define{Property,Generic,Element}, DefineNativeProperty, and DefinePropertyOrElement. r=bhackett.
--HG--
extra : rebase_source : 1b8524aebf85aa27fa9542b8001cae489888e887
2014-11-21 21:07:13 -06:00
Jason Orendorff 9cb6951475 Bug 1103368, part 1 - Forbid stub getter/setter arguments to NativeObject::{add,change,put}Property. r=bhackett.
--HG--
extra : rebase_source : b3ab127f31c2ac83907f493e916b95ce19d1e7fc
2014-11-21 19:33:45 -06:00
Nick Fitzgerald 3a35ba79f1 Bug 1108149 - Make ObjectQuery::findObjects use JS::ubi::RootList; r=shu 2014-12-10 09:47:21 -08:00
Johannes Schulte 664702ca14 Bug 1105498 - Fix strict-handling for MCalllSetElement. r=efaust 2014-12-07 21:09:03 +01:00
Luke Wagner 3fb30dd3ff Bug 1109009 - OdinMonkey: don't increment sp in ARM/MIPS profiling epilogue until activation.fp has been updated (r=dougc) 2014-12-10 09:16:26 -06:00
Benjamin Bouvier 0ea8e1da1f Bug 1109096: Tweak error message in SIMD load/store arguments checking in Odin; r=luke 2014-12-10 13:26:12 +01:00
Benjamin Bouvier 19e7e66b81 Bug 1108870: Support ternary conditionals with SIMD operands in asm.js; r=luke 2014-12-10 13:26:06 +01:00
Benjamin Bouvier 0a817609b7 Bug 1108807: Group SIMD.js shift tests; r=till 2014-12-10 13:26:00 +01:00
Benjamin Bouvier fde88e4faa Bug 1108807: Rename SIMD shifts; r=till 2014-12-10 13:25:49 +01:00
Jon Coppeard 10074da8f7 Bug 1106784 - Restore loop order of background sweeping to hopefully fix Dromaeo regression r=terrence 2014-12-10 11:06:33 +00:00
James Long b0c3fcc5dd Bug 1095206 - update Debugger API docs for `findScripts`. r=jlong 2014-12-09 15:18:00 +01:00
Shu-yu Guo 9729dce1ba Bug 1107525 - Fix corner case of in-place debug mode bailout and SPS pseudo frame popping. (r=jandem) 2014-12-09 23:10:38 -08:00
Shu-yu Guo 7412acaf8c Bug 1108159 - Fix debuggers sweeping logic for off-thread "debuggee" compartments. (r=jimb) 2014-12-09 23:10:38 -08:00
Shu-yu Guo 3d5a8bbff4 Bug 1107937 - Part 2: Correctly rematerialize CallObjects on heavyweight function frames. (r=jandem) 2014-12-09 23:10:37 -08:00
Shu-yu Guo 2d820bf5c4 Bug 1107937 - Part 1: Move RematerializedFrames from ThreadSafeContext back to JSContext and remove the PJS use case. (r=me) 2014-12-09 23:10:37 -08:00
Shu-yu Guo c41522f1f6 Bug 1107913 - Fix yet another corner case for onExceptionUnwind debug mode OSR. (r=jandem) 2014-12-09 23:10:37 -08:00
Jason Orendorff 3cda9fc4af Follow-up to bug 1083211 to fix non-unified build breakage. r=bustage, a=philor. CLOSED TREE.
--HG--
extra : rebase_source : 0e0365064e25c9fd47ea5f5d2cbdc31309ce17af
2014-12-09 23:14:09 -06:00
Chris Peterson 0fbc78fa8e Bug 1108938 - Suppress -Wunused-function warning-as-error by changing strerror_message() to inline. r=sfink 2014-12-08 21:39:13 -08:00
Jason Orendorff acdfa74202 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Jason Orendorff b272eae7e4 Bug 1083211 - Reimplement BaseProxyHandler::set from scratch to follow ES6 draft rev 27 9.1.9. r=bholley.
The handlers affected by this change are:
  SandboxProxyHandler
  XrayWrapper
  DeadObjectProxy (but not really)

In the near future, I will change Proxy::set() to use this code when mHasPrototype is true.

Handlers that do not override set() but nonetheless are not affected:

*   WindowNamedPropertiesHandler. Not affected yet because hasPrototype=true, so
    set() is never called. However it's worth thinking about this one. It will be
    changing to use this code soon.

*   ScriptedIndirectProxyHandler. This class was the original motivation for the
    old bad code; its old bad behavior has been preserved (by changing it to
    override set() with the old code). This is necessary, alas -- there's in-tree
    code depending on these details of Proxy.create()'s behavior.

--HG--
extra : rebase_source : d969ba9db3f59beabcb9203201f4db2083b328db
extra : source : c69e27e865656ccd9180a82e5ca761e32140860c
2014-10-13 16:46:04 -05:00
Jason Orendorff 41631f9631 Bug 1097694 - js::HasOwnProperty sanity surgery. r=efaust.
*   Rename the clownshoes js::HasOwnProperty signature to js::NonProxyLookupOwnProperty,
    which is what it really is.

*   Change the sane js::HasOwnProperty signature to use the hasOwn handler when the
    argument is a proxy, as that's what it's there for.

*   Change the DirectProxyHandler::hasOwn implementation to use js::HasOwnProperty, so
    that when target is also a proxy, we end up calling its hasOwn handler.  Similar
    changes in ScriptedDirectProxyHandler.cpp.

--HG--
extra : rebase_source : de218abcc9faab7452d5e6a512905d7a7b1fd852
extra : source : ff97ac763705dd01700fc605500047a1bd374297
2014-11-11 11:14:48 -06:00
Terrence Cole c74065a925 Bug 1105069 - Part 12: Convert VisitGrayWrapperTargets to GCCellPtr; r=jonco, r=mccr8
--HG--
extra : rebase_source : e74a8a70f5110cb64787fa3ef9669819f0d24c85
2014-12-05 09:38:33 -08:00
Terrence Cole 81bda611c6 Bug 1105069 - Part 11: Convert UnmarkGrayGCThingRecursively to GCCellPtr; r=jonco, r=mccr8
--HG--
extra : rebase_source : da3b54ac1300838bbe66dbd74af89ff56302ba23
2014-12-05 09:38:33 -08:00
Terrence Cole b3fb25bc3f Bug 1105069 - Part 10: Convert NoteWeakMapping to GCCellPtr; r=jonco, r=mccr8
--HG--
extra : rebase_source : b660a676c03c4a0bbdc521a6401a2a619543aa2a
2014-12-05 09:38:32 -08:00
Steve Fink 8f6ad5c30b Bug 972089 - Fix paths for Windows SM(...) builds, r=glandium 2014-12-05 18:04:33 -08:00
Terrence Cole d0e0d193b8 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Terrence Cole 10cb7f0ea7 Bug 1107288 - Always build in incremental GC support; r=billm
--HG--
extra : rebase_source : e8137ea9c404fc6e658527c903e6867d6d9a4273
2014-12-04 09:43:22 -08:00
Terrence Cole 6e27669729 Bug 1108824 - Remove an excess js_ReportOutOfMemory in refillFreeLists; r=jorendorff
--HG--
extra : rebase_source : 3ae79e32dfa8be98e241479338d4ba60e01120bb
2014-12-09 08:56:34 -08:00
Nick Fitzgerald 1bfe75470c Bug 1102549 - Make Debugger::slowPathPromiseHook handle various JSTrapStatus results. r=shu 2014-12-09 11:59:25 -08:00
Boris Zbarsky b9657f03cb Bug 1100757. Don't emit a guard in testCommonGetterSetter when our getter/setter is is a non-configurable property on a native object. r=efaust 2014-12-09 14:44:38 -05:00
Boris Zbarsky 212b09964c Bug 1101123. Don't allow redefining the getter of a non-configurable accessor property on native objects, even via the low-level JSAPI methods. r=efaust,bholley 2014-12-09 14:44:38 -05:00
Boris Zbarsky 19e3190828 Bug 1012798 part 3. When doing a DOM slot get in Ion, check whether we're doing a get of a constant value on a singleton object (e.g. .window) and if so just use the constant value directly. r=efaust 2014-12-09 14:44:37 -05:00
Boris Zbarsky 4e904df02d Bug 1012798 part 1. Add one more available reserved slot on globals, because we need it for Window. r=jorendorff 2014-12-09 14:44:37 -05:00
ziyunfei 00d3b634a2 Bug 1108467 - Implement RegExp.prototype.flags. r=till 2014-12-08 19:41:00 -05:00