Miko Mynttinen
7c33519b6c
Bug 1648282
- Create active layers for container items that have child items with different ASRs, similar to AGRs r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D92907
2020-10-09 12:47:08 +00:00
Ted Campbell
d08f5fb108
Bug 1623766 - Remove js::IterateLazyScripts. r=arai,jonco
...
Remove the `IterateLazyScripts` API and have `IterateScripts` fire for all
BaseScript whether they have bytecode or not. Update the uses in the debugger
to support this change in behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D93040
2020-10-09 13:38:57 +00:00
Ted Campbell
d0851b5422
Bug 1623763 - Remove Realm::ensureDelazifyScriptsForDebugger() mechanism. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D93039
2020-10-09 13:38:55 +00:00
Ted Campbell
f2fbc74168
Bug 1623761 - Avoid global delazification for Debugger findScripts "line" queries. r=arai
...
Querying a specific line number in the Debugger requires candidate scripts to
have bytecode in order to known the ending line number. Previously we would
delazify all scripts in a Realm before performing such queries. In this patch
we instead gather partial matches during the CellIter<BaseScript> visit and
do post-processing to delazify recursively if it may contain matches. This
system does no more compilations than before and since we visit every script
in the gc::Zone regardless, there is no additional impact.
In this new system we use the CellIter to collect all scripts that have been
exposed to script that are partial query matches. This includes scripts with
bytecode and lazy scripts with non-lazy parents. This handles cases where
enclosing scripts (such as in an eval) are GC'd but inner functions remain
live.
After the CellIter completes, we take the lazy scripts that are partial
matches, delazify them, and check if they still match with full information.
There inner lazy functions can then be recursively added to the work queue.
This gives the same results as before but without Realm-wide impact.
Differential Revision: https://phabricator.services.mozilla.com/D93038
2020-10-09 13:38:52 +00:00
Ted Campbell
60fc5b01df
Bug 1623761 - Simplify Debugger::QueryScript::findScripts handling of "innermost". r=arai
...
Instead of tracking the innermost script under the CellIter, collect the
results as though innermost was not specified and then do the filtering at
the end. This allows us to modify how line-matching works in later patches.
The tradeoff is that enclosing functions get collected in a vector
temporarily this is a very small cost compared to everything else that
happens in `findScripts`. Note that the "innermost" query is only used in
tests now.
Differential Revision: https://phabricator.services.mozilla.com/D93037
2020-10-09 13:38:50 +00:00
Ted Campbell
d71612796d
Bug 1623761 - Use field initializers in Debugger::QueryScript code. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D93036
2020-10-09 13:38:48 +00:00
Kartikaya Gupta
9ecba1647e
Bug 1667124 - Add a reftest that captures improper picture caching behaviour, in at least some of the cases. r=gw
...
Differential Revision: https://phabricator.services.mozilla.com/D92944
2020-10-09 14:47:02 +00:00
dev
d07fc51750
Bug 1667124 - Fix invalidation of picture cache tiles attached to zoom nodes. r=aosmond
...
Detect when the scale of the root spatial node of a picture cache
changes, and invalidate tiles when that occurs.
Differential Revision: https://phabricator.services.mozilla.com/D92870
2020-10-09 03:21:43 +00:00
Mark Banner
33dec86beb
Bug 1511065 - Switch Search Provider telemetry probes to Remote Settings. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D92202
2020-10-09 14:33:45 +00:00
Mark Banner
95cf7925c0
Bug 1511065 - Update existing search telemetry provider field names to match those of the new remote settings schema. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D92244
2020-10-09 08:25:46 +00:00
Mark Banner
4acf1656a8
Bug 1511065 - Update SearchTelemetry logging to use console.createInstance. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D92243
2020-10-09 08:28:18 +00:00
André Bargull
28ca25e42d
Bug 1668576 - Part 14: Remove ObjectClassName and InitScriptSourceElement. r=tcampbell
...
Those two aren't even defined anymore.
Differential Revision: https://phabricator.services.mozilla.com/D92086
2020-10-09 14:24:48 +00:00
André Bargull
f02423f3e1
Bug 1668576 - Part 13: Remove AssertCompartmentHasSingleRealm. r=tcampbell
...
Added in bug 1514672, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92085
2020-10-09 13:56:56 +00:00
André Bargull
536167150d
Bug 1668576 - Part 12: Remove GetScriptRealm. r=tcampbell
...
Added in bug 1428072, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92084
2020-10-09 13:55:52 +00:00
André Bargull
b24fec5c84
Bug 1668576 - Part 11: Remove GetPropertyNameFromPC. r=tcampbell
...
Added in bug 1151679, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92083
2020-10-09 13:55:03 +00:00
André Bargull
815d917f12
Bug 1668576 - Part 10: Remove JS_CopyPropertyFrom from jsfriendapi. r=tcampbell
...
Added in bug 911864, but today only used in JSObject.cpp.
Drive-by change:
- Remove unused PropertyCopyBehavior parameter.
Differential Revision: https://phabricator.services.mozilla.com/D92082
2020-10-09 13:54:20 +00:00
André Bargull
a83f32de00
Bug 1668576 - Part 9: Remove IsAtomsZone. r=tcampbell
...
Added in 1024774
, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92081
2020-10-09 13:53:31 +00:00
André Bargull
341a7f245d
Bug 1668576 - Part 8: Remove GetPrototypeNoProxy. r=tcampbell
...
Added in bug 1065452, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92080
2020-10-09 13:52:48 +00:00
André Bargull
1c046778f1
Bug 1668576 - Part 7: Remove StringIsArrayIndex overload only used in tests. r=tcampbell
...
The `char*` overload for `StringIsArrayIndex` is only used in test. Change
the test to use `char16_t*` to avoid instantiating `StringIsArrayIndexHelper`
for `char`.
Drive-by change:
- Avoid macro usage in the test.
Differential Revision: https://phabricator.services.mozilla.com/D92079
2020-10-09 13:52:12 +00:00
André Bargull
67cd4f464a
Bug 1668576 - Part 6: Remove RegExpToSharedNonInline. r=tcampbell
...
Added in bug 1067009, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92078
2020-10-09 13:51:54 +00:00
André Bargull
648ea47dc3
Bug 1668576 - Part 5: Remove unused ChromeCompartmentsOnly and ContentCompartmentsOnly. r=tcampbell
...
ChromeCompartmentsOnly was added in bug 769273, but no longer used.
ContentCompartmentsOnly is even older, but also unused.
Differential Revision: https://phabricator.services.mozilla.com/D92077
2020-10-09 13:51:16 +00:00
André Bargull
fa9b50064f
Bug 1668576 - Part 4: Remove GetFunctionObjectNative and inline FunctionObject{ToShadowFunction,IsNative}. r=tcampbell
...
These were added in bug 1140399, but nowadays they're only used in
`FUNCTION_VALUE_TO_JITINFO`. Inline them into `FUNCTION_VALUE_TO_JITINFO` and
remove the rest.
Differential Revision: https://phabricator.services.mozilla.com/D92076
2020-10-09 13:50:53 +00:00
André Bargull
4124b95613
Bug 1668576 - Part 3: Remove ConvertArgsToArray. r=tcampbell
...
Added in bug 1148188, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92075
2020-10-09 13:50:51 +00:00
André Bargull
fa0ed2925f
Bug 1668576 - Part 2: Remove SystemZoneAvailable. r=tcampbell
...
Added in bug 1360372, but no longer used.
Differential Revision: https://phabricator.services.mozilla.com/D92073
2020-10-09 13:49:28 +00:00
André Bargull
05a7789f9a
Bug 1668576 - Part 1: Remove access validation hooks. r=tcampbell
...
This was added in bug 1337537, but the only caller was removed in bug 1561715.
Differential Revision: https://phabricator.services.mozilla.com/D92072
2020-10-09 13:49:15 +00:00
Shane Caraveo
b70f2b6071
Bug 1670043 support python3 in native messaging tests r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D92972
2020-10-08 22:42:19 +00:00
Michael Kaply
84f7a7eabc
Bug 1665670 - Disabling telemetry in policy should disable archive too. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D93007
2020-10-09 13:39:59 +00:00
Alexandre Poirot
342c1ad0be
Bug 1669545
- [devtools] Print internal error codes instead of only "Blocked" when there is not explicit blocking reason. r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D92657
2020-10-09 13:45:55 +00:00
Butkovits Atila
0e8344630a
Backed out 12 changesets (bug 1661256) for bustages on Trampoline-none.cpp. CLOSED TREE
...
Backed out changeset 3ef766b14c5f (bug 1661256)
Backed out changeset a68b76fde34c (bug 1661256)
Backed out changeset f3395b81607a (bug 1661256)
Backed out changeset f846608b8bcf (bug 1661256)
Backed out changeset a01083150bfa (bug 1661256)
Backed out changeset 61f34fc75005 (bug 1661256)
Backed out changeset 474365251fd0 (bug 1661256)
Backed out changeset 830cd76cc768 (bug 1661256)
Backed out changeset 07892c5589a9 (bug 1661256)
Backed out changeset 99546a1914d8 (bug 1661256)
Backed out changeset bd0471fd0267 (bug 1661256)
Backed out changeset 51cdbad369f3 (bug 1661256)
2020-10-09 16:45:04 +03:00
Chris H-C
316b05456f
Bug 1662906 - Test that we don't crash when setting upload enabled during fog init r=janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D92767
2020-10-09 13:31:17 +00:00
Chris H-C
9a659f29d0
Bug 1662906 - Dispatch set_upload_enabled r=janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D92766
2020-10-09 13:31:10 +00:00
Dennis Schubert
8058b36a11
Bug 1663967 - Ship v16.0.0 of webcompat system addon. r=ksenia,webcompat-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D92795
2020-10-09 13:23:45 +00:00
Nicolas B. Pierron
9019e072da
Bug 1661256 part 24 - Convert Atomics*Fn callWithABI dynamic calls. r=lth
...
Differential Revision: https://phabricator.services.mozilla.com/D91804
2020-10-05 18:46:00 +00:00
Nicolas B. Pierron
e3d433f87c
Bug 1661256 part 23 - Convert js_free callWithABI calls. r=lth
...
Differential Revision: https://phabricator.services.mozilla.com/D91803
2020-10-05 18:47:15 +00:00
Nicolas B. Pierron
8d15cdde9e
Bug 1661256 part 22 - Convert DOM/JSNative calls called with callWithABI. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D91802
2020-10-05 18:46:46 +00:00
Nicolas B. Pierron
3622a5a9f3
Bug 1661256 part 21 - Convert jsnum.h functions called with callWithABI. r=caroline
...
Differential Revision: https://phabricator.services.mozilla.com/D91801
2020-10-05 18:46:48 +00:00
Nicolas B. Pierron
95fdbe48ca
Bug 1661256 part 20 - Convert calls to *IteratorObject callWithABI calls. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D91800
2020-10-05 18:46:51 +00:00
Nicolas B. Pierron
ef424f59b3
Bug 1661256 part 19 - Convert js::ExecuteRegExpAtomRaw callWithABI call. r=iain
...
Differential Revision: https://phabricator.services.mozilla.com/D91799
2020-10-05 18:46:53 +00:00
Nicolas B. Pierron
87badfefcd
Bug 1661256 part 18 - Convert js::jit::AssertValid* functions called with callWithABI. r=caroline
...
Differential Revision: https://phabricator.services.mozilla.com/D91798
2020-10-09 13:04:39 +00:00
Nicolas B. Pierron
7d7ea7bac5
Bug 1661256 part 17 - Convert UnaryMathFunction to use DynamicFunction. r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D91797
2020-10-05 18:46:05 +00:00
Nicolas B. Pierron
b69f0a563f
Bug 1661256 part 16 - Convert JitMarkFunction to return the DynFn type. r=djvj
...
Differential Revision: https://phabricator.services.mozilla.com/D91796
2020-10-05 18:46:03 +00:00
Nicolas B. Pierron
4f81b14ac4
Bug 1661256 part 15 - Convert TraceLogging.h functions called with callWithABI. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D91795
2020-10-05 18:46:24 +00:00
Nicolas B. Pierron
7c30bf46ba
Bug 1661256 part 14 - Add typed callWithABI functions calls for computed function pointer. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D91794
2020-10-09 13:03:51 +00:00
Nicolas B. Pierron
e34498bef0
Bug 1661256 part 13 - Convert HandleException callWithABI calls and make them explicit. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D91793
2020-10-09 13:03:23 +00:00
Gerald Squelart
db3689ee3d
Bug 1670046 - If NoPayload marker has a stack and/or inner window id, convert to NoPayloadUserData - r=gregtatum
...
It is possible to add options to a NoPayload marker, but stack and inner window ids would be lost because they are normally stored in the payload 'data' JSON object, which doesn't exist for NoPayload markers.
So in this case, we automatically change the marker to a new (internal) "NoPayloadUserData" type, which has a payload in which we can store options.
This is temporary, until bug 1646714 moves these options into the top-level marker JSON object.
Differential Revision: https://phabricator.services.mozilla.com/D93059
2020-10-09 13:00:48 +00:00
Ted Campbell
c78aa7792a
Bug 1669847 - Make CompilationStencil instantiation const. r=arai
...
Depends on D92831
Differential Revision: https://phabricator.services.mozilla.com/D92832
2020-10-08 16:16:05 +00:00
Ted Campbell
505d444976
Bug 1669847 - Make RegExpStencil instantiation const. r=arai
...
Depends on D92830
Differential Revision: https://phabricator.services.mozilla.com/D92831
2020-10-08 16:16:10 +00:00
Ted Campbell
c94fa6c77e
Bug 1669847 - Make StencilModuleMetadata instantiation const. r=arai
...
Depends on D92829
Differential Revision: https://phabricator.services.mozilla.com/D92830
2020-10-08 16:16:08 +00:00
Ted Campbell
c65cc4e17d
Bug 1669847 - Make ScriptStencil instantiation const. r=arai
...
Depends on D92828
Differential Revision: https://phabricator.services.mozilla.com/D92829
2020-10-08 16:16:12 +00:00
Ted Campbell
3312460584
Bug 1669847 - Make ScopeStencil instantiation const. r=arai
...
Depends on D92827
Differential Revision: https://phabricator.services.mozilla.com/D92828
2020-10-08 16:16:15 +00:00