Commit Graph

20 Commits

Author SHA1 Message Date
roytam1 39a4e30ae8 import changes from `dev' branch of rmottola/Arctic-Fox:
- pointer style (db52d9c32)
- Bug 1158407 - Stop using this one weird allocation fallback for MCreateThisWithTemplate. (r=terrence) (5b489cd5d)
- Bug 1170124 - Remove unnecessary type monitoring in jit::InvokeFunction. r=bhackett (1603ee063)
- Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) (25cfa92ec)
- Bug 1129795 - Convert rest of docshell/ to Gecko style. r=mccr8 (20acc2d82)
- Bug 1162309 - Part 1: Remove instances of #ifdef PR_LOGGING in uriloader. r=froydnj (8768f60c0)
- Bug 1162309 - Part 2: Remove instances of #ifdef PR_LOGGING in docshell. r=froydnj (e9de046f3)
- Bug 1096908 - forward network security messages to the content process; r=hurley (69b38e624)
- Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell (507efbe2b)
- Bug 1017758 - Use infallible getters for appId/isInBrowserElement/unknownAppId; r=bz (8021f0ae8)
2020-09-18 21:45:13 +08:00
roytam1 d43d81d5ab import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1194905 - Build libvpx neon code without -mthumb and -mfloat-abi=softfp. r=mshal (24098bdb7)
- Remove spurious commandline.css from AF tree. (49cf2bb5c)
- Bug 969914 - Make developer toolbar match the light devtools theme when applied;r=jwalker,r=pbrosset (4047862bd)
- Bug 1152304 - Add displaying of block notes to dis() in the JS shell. (r=jimb) (9c1d7fa30)
- Bug 1126987 - Fix _lastEventSize initialization in stack.js. r=vporof (2083cb437)
- Bug 1140569 - Show async stacks attached to timeline markers. r=vporof (f05e1b60c)
- Bug 1141553 - Give function name the devtools-monospace class in the profiler r=vporof (0ca698ea2)
- Bug 1150112 - Markers overview should react to theme change, and other marker views now use CSS to automatically use theme change. r=vporof (6f72cde25)
- Bug 1050500 - Add entry reason to timeline marker. r=jsantell, r=smaug (db9cf8191)
- Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey (73e513562)
- Bug 1059908 - Merge FunctionType and FunctionSyntaxKind. r=efaust (2d765bde5)
- Bug 1059908 - Introduce a CONSTRUCTOR flag and make getter/setter/method non-constructable. r=efaust (fddb15f13)
- Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett (57a5c2861)
- pointer style (55ec84b3b)
- Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink (9ae473e29)
- pointer style (7d735a2b9)
- pointer style (987c0128b)
- Bug 1135629 - Rename Register::code to Register::encoding for Assembler functions. r=jandem (cf915c814)
- pointer style (ac97f0d0b)
- Bug 1150337 - OdinMonkey: Optimize the full range of immediate offsets on x64. r=luke (fffb82aa6)
- fix typos (511e17002)
- pointer style (c1b54384c)
- Bug 1135707 - Fix interaction between Arm NOP fill and calculation of IonCache rejoin label r=jandem (306365ec4)
- pointer style (a8fe90ade)
- Bug 1166809 - Remove DispatchIonCache and RepatchIonCache. r=bhackett (9b8b02bf1)
- Bug 1147403 part 3 - Make IonSpewer work during off-thread compilation. r=h4writer Bug 1147403 part 3.1 - Replace newly added IonSpewPass after KeepAlive transform. r=KWierso (01bd66aa3)
- Bug 1147403 part 4 - Extract the printer from the serializer. r=h4writer (290a8887e)
- pointer style (fc70e6a1a)
- Bug 1147403 part 0 - Replace contextual information of dispatchHook by lambdas. r=shu (e177990e5)
- Bug 1065657 - Allow multiple Debuggers to track allocations at the same time. r=shu (66b5a3ba9)
- pointer style (bb317bb87)
- Bug 1147403 part 5 - Add Debugger::onIonCompilation hook. r=shu (c14a28de1)
- Bug 1147403 part 6 - Remove GetJitContext from serializing functions. r=h4writer (6d3d605a5)
- pointer style (b2ec50945)
- Bug 1147403 part 7 - Fix inIon, only reset the counter when the function is executed. r=jandem (cb6c180ef)
- Bug 1165392, Bug 1165463 - Various unboxed array fixes and optimizations, r=jandem. (28ec85004)
2020-09-16 21:57:22 +08:00
roytam1 245bcf2f63 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1153148 - Add documentation comment for JSOP_SUPERBASE and JSOP_INITHOMEOBJECT. r=efaust (b6ecd21e1)
- Bug 1153057 - Properly initialize the [[HomeObject]] of methods with computed property names. (r=jorendorff) (6c2226674)
- Bug 1152304 - Record the end of block scope notes to be after emission of JSOP_POPBLOCKSCOPE. (r=jimb) (295502f81)
- Pointer style (7f3f22ce3)
- Bug 1155466 - Freshened blocks should pop their old blocks in debug scopes. (r=Waldo) (359fff80b)
- pointer style (107fb5b95)
- Bug 1156190 - Do not emit DEBUGLEAVESCOPE if we're also going to emit POPBLOCKSCOPE. (r=jimb) (af5fde7ef)
- cleanup (292b5baa7)
- do not inline (cc14b6170)
- pointer style (637cc4e01)
- pointer style (e203a150f)
- Bug 1149498 - Watch for preliminary object groups in more places, r=jandem. (a623a2d06)
- Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett (e45ebda33)
- Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv (9efb0c070)
- pointer style (d0c09e4ec)
- Bug 1149119 - Use Atoms in the template object hold by Baseline. r=jandem (63fe170e9)
- Bug 1149119 - Do not inline bound functions with non-atomized arguments. r=jandem (facc9cb06)
- Bug 1155807 - Watch for converted native groups with unknown properties, r=jandem. (257e11ff3)
- Bug 1136584 - Fix warning-as-errors error. r=me (11768280a)
- pointer style (f2234b36f)
- Bug 1157809 - Optimizing scanning of unboxed plain objects and typed objects during nursery collections, r=terrence. (f37855a60)
- Bug 1153266 - Allow turning on unboxed objects with an environment variable, r=h4writer. (504984da7)
- Bug 1145426 - Fix compilation of unboxed object construction stubs on ARM and x86, r=jandem. (be1491b56)
- Bug 1145795 - Remove LJSCallInstructionHelper::numStackArgs() footgun. (r=jandem) (c3e952856)
- Bug 1147629 - Use getStackPointer() and helper functions. r=jandem (97d6b4054)
- Bug 1147608 - Fixes for unboxed object creation stub compilation on x86 and ARM, r=jandem. (abc526773)
- Bug 1146363: Inline SIMD.int32x4.bool; r=sunfish (d655dc72e)
- Bug 1155793 part 1. Make it possible to safely change the number of bits in the slotIndex field in jitinfo. r=efaust (c6124396d)
- Bug 1155793 part 2. Split apart the concepts of movability and eliminatability in jitinfo, since some things are not movable but are eliminatable. r=efaust (848b751b8)
- Bug 1135040: Optimize SIMD shifts in Ion; r=nbp (a61b8ae26)
- pointer style (b9921d90f)
- rearrange (38c9a7c33)
- Bug 1142668: Fix int32x4 to float32x4 conversions in the JIT; r=sunfish (6f3ac7a59)
- pointer style (29df6bf54)
- pointer style (bebd7f1d6)
- Bug 1134198 - Refactor JS_GENERATOR_CLOSED checking. (r=jandem) (55c3062dd)
- Bug 1134198 - Rename assertNotInFrameMaps to inFrameMaps. (r=tromey) (e8a8ecfff)
- Bug 1134198 - Update tests to reflect new specced behavior on Debugger.Frame.onPop. (r=tromey) (8126f8ecf)
- Bug 1134198 - Update docs for new Debugger.Frame.onPop spec. (r=tromey) (7520665c1)
- Bug 1134198 - Fix up tests now that onPop and onExceptionUnwind may be called at different locations than previously. (r=tromey) (6651e74b7)
- Bug 1134198 - Don't call Debugger::slowPathOnLeaveFrame on frames no longer in Debugger frame maps. (r=jimb) (a8856ece8)
- Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the interpreter. (r=jimb) (84a4f3f70)
- pointer style and cleanup (5bc4c3114)
- no bug - fix windows includes for case sensitive file systems (48835fd8b)
- pointer style (ef70bfbcb)
- pointer style (f739ba488)
- pointer style (1cc9808f8)
- Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem. (d7b424fc3)
- pointer style (5877eb088)
- Bug 1157703 - Cache iterators involving unboxed objects, r=jandem. (f2670a817)
- pointer style (bfbb868b7)
- Bug 1146597 - Remove redundant check for unboxed object/array runtime option. (3b533c202)
- Pointer style (1984bb1e8)
- pointer style (6fbaea70a)
- Bug 1142828 - Refactor to avoid having [[Set]]-specific weird cases in the [[DefineOwnProperty]] code. r=Waldo. (4661cdecb)
- Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust. (824cb5e2b)
- Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust. (89a6bf7e0)
- Bug 1147660, part 3 - Rearrange NativeDefineProperty so that special cases are all dispensed with, and ES6 checks done, by the time we start thinking about how to update the object. r=efaust. (b0234d161)
- Bug 1147660, part 4 - Change NativeDefineProperty to use a PropertyDescriptor internally instead of a bunch of variables. This is a little ugly at first but it'll get better. r=efaust. (1c1999a57)
- Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust. (5dc0316b5)
- pointer style (f66459369)
- Bug 1148652, part 1 - Move array-specific special cases to the top of NativeDefineProperty; update ArraySetLength to be able to cope with incomplete attrs. r=efaust. (e2dca6628)
- Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust. (b5e8489ed)
- Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust. (0f44925f1)
- Bug 1148750, part 1 - Factor out the lookup common to three branches at the top of NativeDefineProperty. r=efaust. (b9e4e7254)
- Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust. (202f4e12e)
- Bug 1148750, part 3 - Implement ValidateAndApplyPropertyDescriptor step 2. r=efaust. (acb6afa35)
- Bug 1148750, part 4 - Strip out redundant if-conditions in parts of NativeDefineProperty where shape can't be null. r=efaust. (15d24b5f4)
- Bug 1148750, part 5 - CompletePropertyDescriptor upgrade. r=efaust. (69bd74ce3)
- Bug 1148750, part 6 - Implement ValidateAndApplyPropertyDescriptor up to step 5. r=efaust. (94aef08b5)
- Bug 1148750, part 7 - Fill in configurable and enumerable. r=efaust. (698bfa16d)
- Bug 1148750, part 8 - Implement ValidateAndApplyPropertyDescriptor step 6. r=efaust. (7459d31ba)
- Bug 1148750, part 9 - Implement ValidateAndApplyPropertyDescriptor step 7. r=efaust. (9593b3312)
- Bug 1148750, part 10 - js::NativeDefineProperty: Swap the order of the cases in the remaining old code. r=efaust. (90a61b163)
- Bug 1148750, part 11 - Remove some code for TypedArray cases rendered unreachable by part 1 of this bug. r=efaust. (d57f75b20)
- Bug 1148750, part 12 - Reject redefinition of non-writable non-configurable data property as writable. This fixes bug 1073808. r=efaust. (d1783a786)
- Bug 1148750, part 13 - Simplify code to fill in desc.writable, if not present, from the existing shape. r=efaust. (aa01780a6)
- Bug 895223 - Use JSNative instead of JSGetterOp for ctypes FieldGetter/Setter. r=jorendorff (01372b866)
- Bug 895223 - Always pass the holder to JSGetterOps. r=jorendorff,jandem (62bff004b)
- Bug 895223 - Test for the now correctly behaving properties (e.g array.length). r=jorendorff (5238a0c44)
- Bug 1153651 - Define array.length as JSPROP_SHADOWABLE. r=jorendorff (6645ed732)
- Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust. (1777ad24d)
- Bug 1148750, part 14 - Reject redefining a non-writable non-configurable data property to have a different value. r=efaust. (a2e81df42)
- Bug 1148750, part 15 - Stop retaining getter and setter ops when redefining a data property. r=efaust. (1c6f67821)
- Bug 1148750, part 16 - Implement ValidateAndApplyPropertyDescriptor step 9 (redefining an existing accessor property). Remove CheckAccessorRedefinition. r=efaust. (0affd1437)
- pointer style (0697799b8)
- Bug 1153475 - Always ignore desc.object() in DefineProperty functions that take a PropertyDescriptor argument. r=efaust. (d9615554e)
- pointer style (f883227a9)
- Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv (83530a9b4)
- Bug 1125567 - Remove FindClassPrototype/FindClassObject. r=jorendorff (f89fd6b99)
- Bug 1125302 - Remove NativeLookupProperty. r=luke (b6dc7bac8)
- Bug 1062473: Add 'const' qualifiers to this for some NativeObject methods and free functions. r=terrence (7e4cc56cd)
- Bug 1062473: Add 'pointer-byte-size' to getBuildConfiguration results. r=sfink (93edbaca6)
- pointer style (ff234eb8b)
- Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence (9151ceb5f)
- Bug 1062473: Make JSObject::allocKindForTenure out of GetObjectAllocKindForCopy. r=terrence (9575ad90e)
- Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence (aeacda1ca)
- Bug 1160986 - Update Histograms.json for RegExp#source access (followup for bug 1153963). r=gfritzsche (9defab499)
-  Bug 1154296 - Small GetOwnPropertyDescriptor cleanup. r=jorendorff (fef8fb35e)
- Bug 1134865 - Part 1: Add JSObject::constructorDisplayAtom; r=djvj (db97321c4)
- pointer style (f237fad9c)
- Bug 1154079 - Add the allocated object's [[class]] name to the allocations log. r=shu (d5bab15fa)
- Bug 1134865 - Part 2: Add constructor name to the allocations log; r=djvj (c11125323)
- Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink (491b25b28)
- Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj (dd74ed300)
- Bug 1158463 - Reorder property creation in js::FromPropertyDescriptorToObject. r=Waldo (afb9f302d)
- Bug 1161077 - Allocate unboxed arrays in the nursery, r=terrence. (df198da45)
- Bug 1159806 - Replace macro assertions with inline functions; r=sfink (c493b7a83)
- Bug 1161353 - Remove the post-barrier verifier; r=sfink (3c64f8b44)
- pointer style (0f1785941)
- Bug 1148921 - Check correctness of hash table modifications later on during minor GCs, r=jonco. (6f8cf20b0)
- Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence. (7d5c9d20d)
- Bug 1161726 - Use a custom tracer for tenuring to avoid the indirect calls; r=jonco (f2088e2ae)
- Bug 1161353 - Follow-up to remove more post-barrier verifier cruft; r=terrence (903a81bd5)
- Bug 1160887 - Fix various unboxed object bugs, r=jandem,terrence. (a7aca9fc9)
- Bug 1161762 - Fix test used for whether an unboxed object layout is too large, r=jandem. (772157822)
- Bug 1161346 - Add missing capacity for unboxed arrays, r=jandem. (9810cbf73)
- Bug 1163810 - Use type-based dispatch for IncrementalReferenceBarrier; r=jonco (caf1273bd)
- Bug 1162301 - Move tenuring implementation to TenuringTracer; r=sfink (5e51a3341)
- Bug 1162303 - Simplify TenuringTracer's implementation; r=jonco (813446aa1)
- fix order (15279b7ed)
- Bug 1163643 - Fix unified build errors following recent marking changes r=terrence (83fe5b47a)
- Bug 1161664 - Stay inline when visiting the WholeObject store buffer; r=sfink (d5efe7867)
- Bug 1112627: Implement shift count saturation; r=Waldo (4f82dcabd)
- Bug 1112627: Remove redundant inline specifier in SIMD operators impl; r=Waldo (0e6f1a31b)
- Bug 1063946 SIMD: Group tests in logical units - conversions; r=bbouvier (35930b52c)
- Bug 1155081 - Part 12: Replace ThrowError(JSMSG_TYPEDOBJECT_ARRAYTYPE_BAD_ARGS) with ThrowTypeError(JSMSG_TYPEDOBJECT_BAD_ARGS) in TypedObject.js. r=till (01152b406)
- Bug 1155081 - Part 1: Replace ThrowError with ThrowTypeError in Array.js. r=till (002a1f3b9)
- Bug 1155081 - Part 2: Replace ThrowError with ThrowTypeError in Error.js. r=till (4a76cc576)
- Bug 1155081 - Part 3: Replace ThrowError with ThrowTypeError in Generator.js. r=till (08f8d6ae1)
- Bug 1155081 - Part 4: Replace ThrowError with ThrowTypeError/ThrowRangeError in Intl.js. r=till (978326c2d)
- Bug 1155081 - Part 5: Replace ThrowError with ThrowTypeError in Map.j…s/Set.js/WeakSet.js. r=till (217998d56)
- Bug 1155081 - Part 6: Replace ThrowError with ThrowTypeError in Object.js. r=till (1c0e15e13)
- Bug 1155081 - Part 7: Replace ThrowError with ThrowTypeError in RegExp.js. r=till (d23d58be8)
- Bug 1155081 - Part 8: Replace ThrowError with ThrowTypeError/ThrowRangeError in String.js. r=till (c80fa9060)
-  Bug 1155081 - Part 9: Replace ThrowError with ThrowTypeError in TypedArray.js. r=till (8311344de)
- Bug 1155081 - Part 10: Replace ThrowError for TypeError with ThrowTypeError in TypedObject.js. r=till (44cee08bb)
- Bug 1145058 - Annotate the SpeciesConstructor utility function with step-by-step comment numbering to make clear where we do (and do not!) follow the spec. Also fix issues related to our half-pretense of implementing this method without having first implemented the well-known @@species symbol. r=efaust (c0c60afe1)
- Bug 1154532 - Add ThrowRangeError and ThrowTypeError intrinsics to make self-hosted code's behavior clearer -- and also have each assert that error number and requested error type are consistent. (It appears no self-hosted code throws SyntaxError, ReferenceError, or URIError yet, so no adding functions for those yet.) r=till (12b2f552f)
- Bug 1155081 - Part 11: Replace ThrowError with ThrowTypeError in Utilities.js. r=till (b06c0c6d9)
- Bug 1154542 - Remove a few unused error messages. r=till (f0248f8cd)
- Bug 1147214 - Allow app: urls to use sw. r=baku (e3e1c02f5)
- Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier (3281bf2d6)
- Bug 1161628 - Fix leak in ErrorWrongTypeArg. r=bbouvier (7e9c0f5f9)
- Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) (d5ab6dff8)
- Bug 1137569 - Stream and save samples and markers in the profiler on JSRuntime destruction. (r=mstange) (b1a6b9a7f)
- Pointer style (67b999b2b)
- Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) (78d743512)
- pointer style (716a0f543)
- Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj) (cda2fe426)
- Bug 1147224 - Only keep the optimization information of the last time IonBuilder visits a bytecode location. (r=djvj) (ad93a60b3)
- pointer style (d29b2ac28)
- Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj) (c38845397)
- pointer style (073a0adf4)
- Bug 1150714 - Mark and sweep JitcodeGlobalMap IC entries. (r=djvj) (e9fe3dc34)
2020-08-25 09:18:51 +08:00
roytam1 017cbb1f8d import changes from `dev' branch of rmottola/Arctic-Fox:
- more pointer style... take away, put again... (640edf447)
- Bug 1139683 - Rewrite SetExistingProperty with comments and references to the standard. r=efaust. (0da1e634b)
- Bug 1142775 - Rename NativeSet -> NativeSetExistingDataProperty and simplify it since it is only called for data properties. Delete Shape::set. Add comments. No change in behavior. r=efaust. (1fec7be0a)
- Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo. (032f78c22)
- Bug 1149377 - Disable PGO on ICCallStubCompiler::guardFunApply. r=jandem (aa0617c41)
- Revert Bug 1137180 - Allow unboxed objects to be extended with new properties, r=jandem. (1970f92f0)
- Bug 1137180 - Add most functionality necessary for extensible unboxed objects, r=jandem. (30768aa93)
- Bug 1137180 - Add baseline caches for extensible unboxed objects, and enable extensible unboxed objects (still off by default), r=jandem. (8c6aa02f9)
- Bug 1143011 - Extract the has/add/take logic out of the register sets to distinguish between allocatable and live sets. r=jandem,Waldo (430b0830f)
- Bug 1143011 - Use AllocatableSet or LiveSet for all register set uses. r=jandem (69dc22ad9)
- Bug 1150384 - IonMonkey: MIPS: Fix build failure caused by Bug 1143011. r=rankov (f532d5095)
- Bug 1145811 - Remove simdSet argument of PushRegsInMask. r=bbouvier (7c1dd4847)
- Bug 1148880 - Make Trampoline-arm.cpp compile with Clang again. r=nbp (b89564285)
- Bump the XDR version two more to account for yet more branch-versioning oddities. No bug, r=me as trivial, DONTBUILD because really building bytecode-bumping patchwork twice is just too much for an opaque identifier that we already built once, pushing in a CLOSED TREE because version bumps are risk-free and these versions are needed for a branch backport and otherwise I'm spinning wheels waiting on the tree to reopen right now (ab7ac9762)
- partial of Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff (9e27b1ba4)
- Bug 1134626 part 1 - Move all x86-shared files into their own directory. r=jandem (6267cdb05)
- Bug 1134626 part 2 - Move x86 & x64 Architecture into a shared file. r=jandem (467731dfc)
2020-05-30 12:48:59 +08:00
roytam1 a013252167 import changes from `dev' branch of rmottola/Arctic-Fox:
- Ensure input events account for APZ transforms on Windows. (bug 1143567 part 4, r=jmathies) (e9df7b3cb)
- Fix mouse event handling regression from bug 1143567. (bug 1142866, r=jmathies) (91b195614)
- Fix regression from bug 1143567 that broke context menus. (bug 1144827, r=jmathies, a=kwierso) (c852a6554)
- fix typo in applying bug 1143567 part 3 (b246c45a8)
- fix typo in applying bug 1143567 part 3 (6f1e6084f)
- Bug 1130089 - Use constexpr for JitStackValueAlignment. r=bbouvier (59793733b)
- pointer style (b3a4de187)
- Bug 1121613 - Move MacroAssemblerSpecific::Push to the generic MacroAssembler. r=jandem (54d0c7e82)
- Bug 1151382 - Fix Alignment mismatch for none jit. r=luke (05cce8627)
- fix typo (66dd065dd)
- pointer style (2fe56af71)
- remove MOZ_HAVE_CXX11_OVERRIDE and MOZ_HAVE_CXX11_FINAL - may break some older compilers, let's hope not anything currently used (a883df8d7)
- Bug 1135428 - OdinMonkey: remove compileAndGo restriction (r=bbouvier) Bug 1135428 - OdinMonkey: return nullptr, not false (r=warnings-as-errors CLOSED TREE) (378f1047e)
- Bug 1135428: Fix test to run with --no-asmjs as well (76b45cc55)
- pointer style (e85078674)
- Bug 1142784, part 1 - In NativeObject.cpp, move some Lookup functions out of the way and make a big swath of this file the [[DefineOwnProperty]] section. r=Waldo. (5452ceb3a)
- Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo. (26afaeb1e)
- Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo. (0cf9f0f6d)
- more pointer style.... soon to be changed again, boring (88956061f)
- Bug 1146165 - Stop calling Proxy::set directly from Ion IC stub. EmitObjectOpResultCheck is retained because GenerateCallSetter still uses it in the JSSetterOp case. r=efaust. (28d368865)
- Bug 1138157 - Change ScriptedDirectProxyHandler to inherit from BaseProxyHandler. r=efaust (1ecb895cc)
- missing bit of Bug 1113369, part 4 - [[Set]] ObjectOpResult support. (ac03ea66d)
- pointer style (b966f0173)
- pointer style (883527058)
2020-05-30 12:48:57 +08:00
roytam1 d83c58e95f import change from rmottola/Arctic-Fox: Bug 1133081, part 5 - Remove non-asserting PropertyDescriptor accessors in favor of the new PropDesc-inspired asserting accessors. (9da3866fa)
import change from tenfourfox: #399: null check in FindNearestCommonAncestorFrame from PM 978 (23f303460)
2019-04-02 23:13:26 +08:00
roytam1 e1ef2cd0b3 import change from rmottola/Arctic-Fox:
- further pointer style tweak for patching (90943bf7a)
- Bug 1137910 part 1. Don't lose track of the original 'this' object in THIS_SAVEDFRAME, so we can actually do things based on the principal of the object we're working with. (0c6bf89dc)
- Bug 1137910 part 2. Give chrome callers that are indirectly (e.g. via nsIStackFrame) poking at content-captured stacks the content view of the stack. (9b9d8981d)
- more pointer style to pach easier (210ef0c78)
- even more pointer style (8dad567c6)
- Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. (0714aa290)
- Bug 1083359 - Part 1 - Add the asyncCause and asyncParent properties to the native SavedFrame object. (1c99ec1bc)
- more pointerstyle (21148a28d)
- Bug 1135827 - Don't root more times than necessary in js::SavedStacks::insertFrames. (904461ae0)
- comment fix (9401372c6)
- Bug 1083359 - Part 2 - Allow C++ code to provide an async stack when calling a JS function. (e5ce833fa)
- Bug 1133081, part 1 - Switch from js::PropDesc to JSPropertyDescriptor for all users of js::StandardDefineProperty (mainly Object.defineProperty/Properties and the corresponding Debugger.Object methods). (4754703df)
- pointer style (58e1befc2)
- Bug 1133094 - Object.defineProperty() on scripted proxy incorrectly sets {[[Configurable]]: true} if it's missing. (c4da7e6c6)
- Bug 1133081, part 2 - Switch from js::PropDesc to JSPropertyDescriptor for js::StandardDefineProperty implementation. (07efac725)
- Bug 1133081, part 3 - Switch from js::PropDesc to JSPropertyDescriptor for more odds and ends. (119b5711e)
- more pointer style (b2c2a8383)
- Bug 1133294 - Object.getOwnPropertyDescriptor(obj, key) must always return either undefined or a complete property descriptor, even if obj is a proxy. (39bc723a7)
- Bug 1133081, part 4 - Reimplement the remaining PropDesc methods and delete PropDesc. (3b447fb7b)
- Bug 1130537 - Reimplement js::SetPropertyIgnoringNamedGetter to follow ES6 draft rev 32 9.1.9 [[Set]]. (7a681465a)
2019-03-31 19:41:12 +08:00
roytam1 d86d78c8b6 import change from rmottola/Arctic-Fox:
- Bug 1133085 - PropDesc::initFromPropertyDescriptor should understand JSPROP_GETTER without JSPROP_SETTER and vice versa. (d83f16200)
2019-03-30 07:48:34 +08:00
roytam1 c1ae338aef import changes from rmottola/Arctic-Fox:
- Bug 1140670 part 1. Just use the global, not the proto's parent, as the default parent in NewObjectWithGivenTaggedProto. (d2ef7ee90)
- Bug 1140670 part 2. Just use the global as the parent in js::CreateThis and js::CreateThisForFunctionWithProto. (025d25703)
- Bug 1140670 part 3. Add an assertParentIs() for asserting the parent is something specific and use it in various places to eliminate getParent() calls. (d814a6344)
- Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. (d657e25c7)
- Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. (2259f4027)
- Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. (84ab2d944)
- Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. (a10821f1a)
- Bug 1142266. Remove the parent argument from js::NewObjectWithProto. (efe9144e3)
- Bug 1142241. Stop using getParent() in js::GetObjectEnvironmentObjectForFunction. (b04a4a38e)
- some pointer style for better patching (608e1a6ad)
2019-03-28 22:10:21 +08:00
roytam1 fcb2b3aa12 import changes from rmottola/Arctic-Fox:
- Bug 1136516. Stop using JS_DeprecatedNewObjectWithGivenProtoAndParent in XPCWrappedNative. (627d0c40f)
- Bug 1136523. Stop doing weird things with parents in ctypes code and remove the JS_DeprecatedNewObjectWithGivenProtoAndParent API. (075a3be27)
- Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. (6caf6189b)
- Bug 928336. Make defining unforgeable properties on objects faster by just copying them from an unforgeable holder object. (e7d32668d)
- Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. (3237f9b70)
- Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. (e4ab29f7a)
2019-03-23 12:08:07 +08:00
roytam1 c5cfe29d26 import changes from rmottola/Arctic-Fox:
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb)
- Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34)
- Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da)
- Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
- Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. (5cad9c256)
- Bug 1136980 part 2. Remove JS_SetParent, even though we have a CLOSED TREE (96cf58c85)
- Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. (15663c476)
- Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. (e063faf08)
- Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. (cf8326017)
- Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. (e16605a90)
- Bug 1113369, part 4 - [[Set]] ObjectOpResult support. (6f94604d4)
- Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. (6feef9887)
- const override -> const MOZ_OVERRIDE (fa0ff1802)
- adapt pointer style writing to better accept patch (1a6627036)
- Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. (5fa15660e)
- pointer style before applying patches (06380aade)
- const override -> const MOZ_OVERRIDE (fe5f9f3c0)
- Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. (67e8d1987)
and some follow-up patches:
bug1140737, bug1141154, bug1141329
2019-02-22 23:25:13 +08:00
roytam1 8fa1300bcd reverting rmottola/Arctic-Fox changes in order to bisect memory leak and greasemonkey issue:
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb)
- Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34)
- Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da)
- Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
- Bug 1130679: IonMonkey: Make it possible to guard on type changes/bailouts (ecec18313)
- Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. (5cad9c256)
- Bug 1136980 part 2. Remove JS_SetParent, even though we have a CLOSED TREE (96cf58c85)
- Bug 1066229 - Part 5: Emitter support for basic ES6 ClassStatements. (e2a3cc979)
- Bug 1135423 - Use unboxed objects for object literals where possible, clean up object literal creation and property initialization code (1d9e381c2)
- Bug 1137523 part 2 - Unprefix a few js_* functions I forgot in part 1 (e6beaf0d8)
- Bug 1135816 - Handle unboxed object receivers when compiling getter/setter calls in baseline/Ion (82233087e)
- Bug 1138265 - TraceLogger: Throw error when trying to enable in AsmJS (64c799042)
- Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. (15663c476)
- Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. (e063faf08)
- Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. (cf8326017)
- Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. (e16605a90)
- Bug 1113369, part 4 - [[Set]] ObjectOpResult support. (6f94604d4)
- Bug 1077002 - Give a better error message when showModalDialog is used (18d8ecc12)
- Bug 1135792. Stop assuming that every binding for a global with a non-worker descriptor is a binding for Window. (dd0260c12)
- Bug 1135810. Add more explicit checks for whether a descriptor wants Xrays or not instead of assuming that Xrays are desired if and only if descriptor.workers is false. (17ef71544)
- Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog (173044922)
- Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper (ac680a5f7)
hopefully we can re-apply them later.
2019-02-08 12:19:14 +08:00
roytam1 fbd797d49d import changes from rmottola/Arctic-Fox:
- Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. (15663c476)
- Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. (e063faf08)
- Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. (cf8326017)
- Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. (e16605a90)
- Bug 1113369, part 4 - [[Set]] ObjectOpResult support. (6f94604d4)
2019-02-07 18:42:28 +08:00
roytam1 702e897b00 import changes from rmottola/Arctic-Fox:
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb)
- Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34)
- Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da)
- Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
- Bug 1130679: IonMonkey: Make it possible to guard on type changes/bailouts (ecec18313)
- Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. (5cad9c256)
- Bug 1136980 part 2. Remove JS_SetParent, even though we have a CLOSED TREE (96cf58c85)
- Bug 1066229 - Part 5: Emitter support for basic ES6 ClassStatements. (e2a3cc979)
- Bug 1135423 - Use unboxed objects for object literals where possible, clean up object literal creation and property initialization code (1d9e381c2)
2019-01-31 11:24:41 +08:00
roytam1 9f3e30f71b import changes from rmottola/Arctic-Fox:
- change some pointer style, or patches do not apply (0de8fac13)
- Bug 1137523 - Unprefix most js_* functions. (16507a434)
2019-01-29 10:29:22 +08:00
roytam1 9638eeef71 reverting these changes in order to fix crash for now:
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb)
- Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34)
- Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da)
- Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
2019-01-12 18:20:33 +08:00
roytam1 7434b4813b import changes from rmottola/Arctic-Fox:
- Bug 1135535 part 1 - Suppress C4805 unsafe mix type warnings in js/src and mark that warning an error on MSVC. (dc6556208)
- Bug 1135535 part 2 - Fix C4067 unexpected token in js/src and mark this warning an error on MSVC. (5ee1a479e)
- Bug 1135535 part 3 - Fix C4258 definition ignored warnings and mark it an error in js/src on MSVC. (0d6bdd2ff)
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb)
- Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34)
- Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. (43015c1fa)
- Bug 1131803 comment fix followup. (80f08fbdd)
- Bug 1136292 part 1. Stop passing a parent to BindingJSObjectCreator methods, since it's always the global anyway. (80cdbc44d)
- Bug 1136292 part 2. Stop passing an explicit JS::NullPtr parent to JS_NewObjectWithGivenProto in nsDocument. (4b9a421b2)
- Bug 1136292 part 3. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in bindings code. (82e58f2c4)
- Bug 1136292 part 4. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XBL code. (8b0920249)
- Bug 1136292 part 5. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XPConnect. (d8d834ecd)
- add missing parts of Bug 1138967 - Part 3 (f7dfd5865)
- Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da)
- Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
with some changes to fix building, reported to upstream:
- https://github.com/rmottola/Arctic-Fox/commit/f7dfd58658595b9c5251b9258c625a7eeebdfbf6#r31909537
2019-01-11 21:18:57 +08:00
roytam1 82118b9d74 import changes from wicknix/Arctic-Fox:
- Backport of Mozilla Bug 1500759 - Root parameter dictionaries in AesTask::Init() r=keeler a=abillings (1cddfcec4)
- Better scoping for code in IDBObjectStore::GetAddInfo. (bcfce71cb)
- backport of Mozilla Bug 1507907 - null check result of CFDateFormatterCreate (a68b23bec)
- backport of Mozilla Bug 1505181 - Use canonical function in TypeNewScript::rollbackPartiallyInitializedObjects (ffc7b3714)
- Backport of Mozilla Bug 1506640 - Trace wrappers rooters during sweep phase (16af4fd05)
- Backport Mozilla Bug 1245024 (b399b918f)
- Backport mozilla Bug 1279303 - Implement change to O.getOwnPropertyDescriptors and update tests (314c7cc76)
- Backport of mozilla Bug 1416774 - Ensure that imgRequestProxy::CancelAndForgetObserver removes itself from the cache validator + Some necessary other dependent backports (a0faf6ec4)
- emable hasInstace among well known symbols (bfd9210d5)
- add InstaceOfOperator (3c391b52c)
- provide ReportValueError for newer code retaining for now js_ReportValueError (279617b0b)
- backport of Mozilla Bug 1054906 - Implement ES6 Symbol.hasInstance (b778ff1d0)
- add testfile for Bug 1278599 - Function[Symbol.hasInstance] should return false when called with a non-callable 'this' (782d21b60)
- Mozilla backport Bug 1252228 - Fix heuristic in PropertyReadNeedsTypeBarrier to avoid bogus type information (2415d5ecf)
- refactor js_ReportValueError to ReportValueError as FF code to better import patches, the actual function itself needs some updating (7029d375b)
- Backport of Mozilla Bug 1492823 - Ensure user input suppression works correctly even after document.open. (e915368c5)
- Backport of Mozilla bug 1496340 - make sure each nsISupports is an nsIX509Cert in nsNSSCertList::Read (45af216f3)
- Backport of Mozilla Bug 1492524 (b0b14f5d4)
- backport of mozilla Bug 1423278 - Correctly instantiate proxy authenticator with a lowercase schema (6acbed687)
- Backport of mozilla Bug 1487098 - Reorder boolean expression to take advantage of short-circuiting (92ac69111)
- Backport of Mozilla Bug 1493347: Drop DataChannelListener on Destroy() (2469aad46)
- first add _setCanonicalName and then apply Mozilla Bug Bug 1236638 - Add JSFunction::setAtom and use it in _SetCanonicalName intrinsic to fire the pre-barrier (3405e66a5)
- Backport of Mozilla Bug 1226762 - Add support for getting original builtin constructors and prototypes in self-hosted code. (a67be4304)
2018-12-14 23:50:02 +08:00
Pale Moon 18e2173c3d Fix CallArgs usage.
This resolves #667.
2018-07-25 06:35:32 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00