Commit Graph

15 Commits

Author SHA1 Message Date
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 c08eaf90ca import change from rmottola/Arctic-Fox:
- Bug 1142761 - Move CallSetter into ScriptedIndirectProxyHandler so it will eventually be deleted along with its only remaining caller. (a5a0b3f6b)
- Bug 1143810 - Remove some XPConnect JSClass::setProperty hooks that are not needed anymore. (4eda6a60b)
- Bug 1142195 - Remove some unused class declarations in the DOM Cache code (afd802623)
- Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates (6a41f34f3)
- Bug 1145787 - Put a misplaced assertion into its proper place. (7f760a66d)
- Bug 1146059 - Remove Response.finalURL. (230d9fa50)
- Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal (772fcac8f)
- Bug 1136200 - Verify request type is not no-cors if response is opaque (396c9bfb4)
- Bug 1144249 - fix fetch no-cors mode. r=bkelly (af9656291)
- Bug 1144876 - Stop spamming stderr with a warning every time that we encounter a document that is not controlled by a service worker; (0a5c5fbfd)
- Bug 1117172 part 1. Allow passing an optional aGivenProto to binding Wrap methods. (8aea85046)
- Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv (13146be83)
- Bug 1117172 part 3. Change the wrappercached WrapObject methods to al low passing in aGivenProto. r=peterv (1621ef48d)
- Bug 1146293 - Fix coding style break (intent and line length) caused by Bug 1117172 and Bug 1145631. (0822709f1)
- Bug 1121298 - Part 1: refactor MozNDEFRecord cstor. (6e57a37ec)
- Bug 1121298 - Part 2: Add Constructor(uri) for MozNDEFRecord. (46f921bcf)
- Bug 1121298 - Part 3. add getAsURI. (e67cad94b)
- Bug 1138886 - Structured Clone for MozNDEFRecord. (With adaptations of Bug 1117172 part 3) (b83b7f684)
- Bug 1143504 - Disconnect the Cache object from its actor when it gets cycle collected. (dae58dcdd)
2019-06-21 11:00:47 +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 f66a5071eb import changes from rmottola/Arctic-Fox:
- change pointer style (08ae3786b)
- Bug 1138538 - Display GC zeal help text in shell help message (6c25ae0a8)
- Bug 1135723 - Traverse layout properties instead of object group properties in makeNativeGroup, handle int32->double coercion in ensureDefiniteType, (e53d9bfe1)
- Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. (ed0660603)
- change pointer style (31d69f5d9)
- Bug 1135985 - Use typed members to implement pushMarkStack (42c197cbe)
- Bug 1137978 - Access an object's compartment and zone via its group, remove ObjectGroup::singleton_ (bcc16c922)
- Bug 1137497 - Remove shape from unboxed objects (eb874ad5a)
- Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. (40479d546)
- Bug 1136896. Speed up fill() and dedent() by memoizing some of the work they currently end up doing on each call. (e7d60964c)
- add header include (d7f3b53ac)
- Bug 1134425 - Part 1: move the allocator interface code out of line (73a0b7e67)
- change pointer style for better patching (7ff55e7a5)
- Bug 1134425 - Part 2: templatize the GC's allocation routines (10f091bb5)
- Bug 1136345. Drop the parent arg from JS_NewObjectWithGivenProto and introduce a JS_DeprecatedNewObjectWithGivenProtoAndParent for the few cases that still pass in a custom parent. (ebff19bb0)
- Bug 1136520. Stop parenting Xray expando objects to a non-global. (d58a73a3d)
- Bug 1134970 part 1. Add JS friend API to allocate an object which is guaranteed to have no attached metadata. (3e8fa3b3e)
- Bug 1134970 part 2. Add JS friend API to quickly copy properties from one object to another if the objects are similar enough. (a53538b91)
- Bug 1138874 - Change ReparentWrapper() to avoid multiple JS objects pointing to the same native (16224aa3d)
- Bug 1138874 - Generalise assertion that source object has a preserved wrapper (bff647e8a)
2019-03-20 23:08:50 +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