Commit Graph

581200 Commits

Author SHA1 Message Date
Ben Kelly
de795dbd34 Bug 1434701 P1 Make ServiceWorkerRegistration::CreateForMainThread() take a ServiceWorkerRegistrationDescriptor. r=catalinb r=asuth 2018-02-14 14:23:15 -05:00
Eugen Sawin
0d21e3454c Bug 1436887 - [1.1] Add GeckoView prefs file. r=snorp,jchen 2018-02-14 19:52:20 +01:00
Dorel Luca
12fe7a2577 Backed out changeset 2320b7fd9266 (bug 1413102) for Mochitest failure on dom/tests/mochitest/pointerlock/test_pointerlock-api.html 2018-02-14 20:44:19 +02:00
Andreas Tolfsen
08cd2492a7 Bug 1436830 - Drop slog dependency. r=rillian,jgraham
MozReview-Commit-ID: A9BZF9VoQuN
2018-02-14 18:34:33 +00:00
Andreas Tolfsen
fdc441f4cb Bug 1436830 - Roll own log::Log implementation in geckodriver. r=rillian,jgraham
This provides a custom implementaiton of log::Log for geckodriver,
effectively making slog redundant in central.

slog is, for our purposes, an unnecessarily complicated crate
to depend on.  With Rust 1.24 transitioning to stable soon,
we need to prepare code and crates in central for this change.
geckodriver only uses slog for the single purpose of changing the
log level at runtime, and it would be less work to roll our own
logger implementation than it would be to grok the slog API changes.

MozReview-Commit-ID: 2wyS8e6s2mr
2018-02-14 18:34:25 +00:00
Steve Fink
542f837473 Bug 903519 - Implement AutoSuppressNurseryCellAlloc to avoid nursery allocation just before offthread parse startup, r=jonco
--HG--
extra : rebase_source : fde63710a9c07d97b64a6b0da61b7faa4795a0b6
extra : histedit_source : 2eb9ccc398c09e3b56137689b83eea6ae2774766
2018-02-06 15:15:24 -08:00
Steve Fink
add2d66f14 Bug 903519 - Register nursery string buffers to be freed, r=jonco
--HG--
extra : rebase_source : 20f35c69ce3caa2a62c40d997a44f276d4b2e012
extra : source : 2dab1647f93321a1bb6f418495f55260f2eacc28
extra : histedit_source : c65ef2981ffe5deae421b91d8fe39f501b97b071
2018-02-02 16:49:52 -08:00
Steve Fink
2623313395 Bug 903519 - Split out string nursery pointers from object nursery, r=jonco
--HG--
extra : rebase_source : 4d90e6adf15879062bec42bc6389f15b880c86d2
extra : source : cc56f32ddae8443542abcb00ff93bd535e7e7069
extra : histedit_source : 31631ba71faea0aa666955dd656eee7df873324c
2017-08-14 22:08:49 -07:00
Steve Fink
0742a54280 Bug 903519 - Strings in the nursery: JIT, r=jandem
--HG--
extra : rebase_source : 3e2c013d3085fa87f930bbf620c1cb5b46f8952e
extra : histedit_source : a07cbe1740f88d26a9a696cdcb5007181cc92ee8
2018-02-05 16:22:22 -08:00
Steve Fink
ae2642fca6 Bug 903519 - Tenure strings that are checked for in about:memory test, r=njn
--HG--
extra : rebase_source : fabf5fc33bbd2373289b91ac3b0661c4e2bf10f6
extra : source : 38f4e0426bdd81c0acdce3929e3e3d81370d1273
extra : histedit_source : e111269bf29f16b9ade69dcfaad281d210180b8d
2017-12-22 14:27:26 -08:00
Steve Fink
2cf574b314 Bug 903519 - Default nursery strings to off, add ability to enable, r=jonco
--HG--
extra : rebase_source : bdc3a320de7f1e6d3ac620113852af63bdfd592f
extra : source : 71831e232df2957c9ea178986218e3d6eeef6c0b
extra : histedit_source : 2e77c0ce51da517d8d391fde25c947004475d8e4
2017-11-03 14:00:14 -07:00
Steve Fink
34decd09c6 Bug 903519 - Change Relocated marker to not confuse string vs object bit, r=jonco
--HG--
extra : rebase_source : 58f6ed8ba0692ad60b99c9d6a637231693e2316c
extra : source : 6f3666e9540e849056347f7b9d8a40e41396115e
extra : histedit_source : 315716a40a4ffba00fce14c8d58380128804e53d%2Cd69faed961ccbfc63d378ccf34c600d8698483f4
2017-11-03 12:27:52 -07:00
Steve Fink
c3694595f5 Bug 903519 - Strings in the nursery: MIR node, r=jandem
--HG--
extra : rebase_source : 9a6410f167d85dbde137e53d2a29cd9dc3c91991
extra : source : c62e5867d763dea5a05117e8ab7c02a9b5994dd8
2017-10-02 16:35:46 -07:00
Steve Fink
f8eb88c8a6 Bug 903519 - Strings in the nursery: allow any thread to access zone of permanent atoms, r=jonco
--HG--
extra : rebase_source : 2d970b2ea4b2520f8f9ca1941e1fa21966119af5
extra : source : 7854bfe5d68346a38b25d93ea8870f47bce4f901
2017-07-30 13:21:53 -07:00
Steve Fink
4d5b78dcc6 Bug 903519 - Discard nursery keys from EvalCache, r=jonco
--HG--
extra : rebase_source : c5acd66e5358db8dc9b8e1b820e601c69ab5315a
extra : source : f5f72c93adf94f4ae670c38941f68c75d19f8072
2017-08-03 16:18:47 -07:00
Steve Fink
1c184b5229 Bug 903519 - Strings in the nursery: barriers, r=jonco
--HG--
extra : rebase_source : 64f8aa23157acad4f56c0fedfe7055976ecdccaa
extra : source : 7d56db66836900bc7758c6829b9235a3dd26947e
2017-07-28 16:46:38 -07:00
Steve Fink
266c2335cc Bug 903519 - Strings in the nursery: tracing and tenuring, r=jonco
--HG--
extra : rebase_source : 639cd387cfb9e854622ad168e57c079d702c7416
extra : source : 7c96258a64595d287eb72a54ee52a656dbb40365
2017-10-17 12:35:06 -07:00
Steve Fink
0c945ff47f Bug 903519 - Remove verifier assumption that only objects are in the nursery, r=jonco
--HG--
extra : rebase_source : 46f9dae142e588eb172ce855b6571b624407ebf8
extra : source : 11b3f0fda4adb74211c197ab157796fcafc27b95
2017-07-27 17:31:21 -07:00
Steve Fink
f0b1c7eb12 Bug 903519 - External strings can morph into plain ones while still in EXTERNAL_STRING arena, r=jonco
--HG--
extra : rebase_source : 10d5b6fcfa183d32022dd09638740b5e65a038e1
extra : source : 2bc9d427f427b7dec19d7c27a44361338ad3f88d
2017-07-28 09:54:25 -07:00
Steve Fink
79f72e94ec Bug 903519 - Strings in the nursery: allocation, r=jonco
--HG--
extra : rebase_source : 2b918aa392a5f386e1c9c0fcf9d1578326a068fa
2018-01-30 20:12:30 -08:00
Steve Fink
65f3cea854 Bug 903519 - Avoid atomization for string size tests, r=jimb
Strings appearing as literals in the source text are atomized, so this test wasn't testing what it was supposed to be testing.

--HG--
extra : rebase_source : 09a62fbbe7b7058b16a1b46b2ae0afcd919cd113
extra : source : 6d7d15b254896c00ef8e00a6b1d921980d661ac2
2017-06-21 10:07:32 -07:00
Steve Fink
a5d00c04c8 Bug 903519 - Force non-atom strings to have their low flag bit set in order to distinguish them from JSObjects in the nursery, r=jandem
Atoms will not be nursery-allocated, so if a cell is in the nursery and its low bit is set, we can be sure it's a string.

--HG--
extra : rebase_source : 22a9b99c4053532dbe33597ef33335574ef4c98b
2018-02-06 07:40:54 -08:00
Steve Fink
055f32d6b8 Bug 903519 - Make js::Allocate cast strings to requested type, r=jonco
Note that this patch passes in a dummy gc::InitialHeap parameter that is required to be TenuredHeap, since strings cannot yet be nursery-allocated. This restriction will be lifted in a later patch.

--HG--
extra : rebase_source : db215c7d98d7f0e0b685d0720661a70e82a25664
extra : source : 80b9d97bf1fe4e23066f4ac7283ab276c3e942f0
2017-06-13 15:15:48 -07:00
Steve Fink
1a8981636a Bug 903519 - Reparent JSString from TenuredCell to Cell, r=jonco
--HG--
extra : rebase_source : 8a39cb7dda7d7b5f9d40f61abe290545b1aad0e9
extra : source : 1fc5ee0d0116300963a2490fb485207eaa9ada02
2017-06-12 15:38:51 -07:00
Steve Fink
5e9682640d Bug 903519 - Separate out AllocKinds for nursery-allocatable strings, r=jonco
--HG--
extra : rebase_source : 90e6e4ff9845722d89680d95f9fe599c6f62f445
extra : source : 9316d8f7b92ad2746505218b30fb8acd376e6edd
2017-11-13 16:57:17 -08:00
Steve Fink
cca298ea8c Bug 1435455 - Only use --enable-stdcxx-compat for autospider.py in automation, r=glandium
--HG--
extra : rebase_source : 8871cdb02da26409cd241d014df677a19c3fd795
2018-01-18 16:39:42 -08:00
Jonathan Kew
393b19ca6e Bug 1437267 - Remove the svg.paint-order.enabled pref. r=jwatt 2018-02-14 17:37:08 +00:00
Kim Moir
07c4ab6056 Bug 1411731 - Remove gfx/cairo/libpixman/src/Makefile.in r=nfroyd DONTBUILD 2018-02-14 12:36:22 -05:00
Chris AtLee
16cf817a8a Bug 1437158: Remove proxxy support from mozharness r=rail
--HG--
extra : rebase_source : d4e870016ab951221d8bc5dbf17fd18536b18834
2018-02-09 15:07:56 -05:00
Jason Orendorff
467c48d3f6 Bug 1429206 - Part 8: Rename jsatom* -> vm/JSAtom*. r=jandem.
--HG--
rename : js/src/jsatominlines.h => js/src/vm/JSAtom-inl.h
rename : js/src/jsatom.cpp => js/src/vm/JSAtom.cpp
rename : js/src/jsatom.h => js/src/vm/JSAtom.h
extra : rebase_source : c24ead7d4e52b84d9237cc65c54b0e9929562e29
extra : source : fd8d8cccb0ea96af140fd8d7f5615ea9bede37b3
2018-02-12 15:37:16 -06:00
Jason Orendorff
af12bf98aa Bug 1429206 - Part 7: Rename jscntxt* -> vm/JSContext*. r=jandem.
--HG--
rename : js/src/jscntxtinlines.h => js/src/vm/JSContext-inl.h
rename : js/src/jscntxt.cpp => js/src/vm/JSContext.cpp
rename : js/src/jscntxt.h => js/src/vm/JSContext.h
extra : rebase_source : a4714676fe934fd78e7faaf233a407ea515ce66c
extra : source : 03d364d909dc1e7ff511f36e4a773be9b1294189
2018-02-12 15:05:18 -06:00
Jason Orendorff
ba56167349 Bug 1429206 - Part 6: Rename jscompartment* -> vm/JSCompartment*. r=jandem.
--HG--
rename : js/src/jscompartmentinlines.h => js/src/vm/JSCompartment-inl.h
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
extra : rebase_source : 6d07915d8ed4863f5a1c53ff1e0334f30011f643
extra : source : cd5d27a3eba679cbbc7ba308be43f1f1bec6b980
2018-02-12 13:38:44 -06:00
Jason Orendorff
1009666ca4 Bug 1429206 - Part 5: Rename jsscript* -> vm/JSScript*. r=jandem.
--HG--
rename : js/src/jsscriptinlines.h => js/src/vm/JSScript-inl.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : rebase_source : 76a4533cf979baa37e00cabd2c415651c40dbb07
extra : source : d2e0574ed57e4185cef132acc3be30a29833f622
2018-02-12 13:07:16 -06:00
Jason Orendorff
9726925e27 Bug 1429206 - Part 4: Rename jsfun* -> vm/JSFunction*.
--HG--
rename : js/src/jsfuninlines.h => js/src/vm/JSFunction-inl.h
rename : js/src/jsfun.cpp => js/src/vm/JSFunction.cpp
rename : js/src/jsfun.h => js/src/vm/JSFunction.h
extra : rebase_source : 2fe8f01ec6ec2ad4dba3f80fb99cca89b0bcba9e
extra : source : 29b51bc766687c21a809acf8dae10ec214626ba3
2018-02-12 12:51:39 -06:00
Jason Orendorff
cad22c716c Bug 1429206 - Part 3: Rename jsobj* -> vm/JSObject*. r=jandem.
--HG--
rename : js/src/jsobjinlines.h => js/src/vm/JSObject-inl.h
rename : js/src/jsobj.cpp => js/src/vm/JSObject.cpp
rename : js/src/jsobj.h => js/src/vm/JSObject.h
extra : rebase_source : 56a6d297b6cb63b72670b2310a48e00d56917648
extra : source : f61c33f738a6c5d2e52a6063bd18c632caea9e91
2018-02-12 12:03:37 -06:00
Jason Orendorff
f5bc70ac9c Bug 1429206 - Part 1: Use js/TypeDecls.h instead of redeclaring certain types. r=jandem.
This adds JS::Zone to TypeDecls.h. Arguably that is pretty borderline, but
even though the Zone type is only used in a dozen or so places in Gecko,
it's a central concept.

--HG--
extra : rebase_source : 2267ad26c8888f3db9213acdb64ce7a56b1c16e5
extra : source : 7f7eb82a83f47c8e1a4b67527c42f88e35f9ff4a
2017-12-18 14:45:06 -06:00
Jason Orendorff
e0b3aab871 Bug 1437876 - Remove JS_ARRAY_LENGTH and JS_ARRAY_END. r=jandem.
mozilla::ArrayLength() is better: it won't silently give a bogus answer if you
pass it a non-array argument.

--HG--
extra : rebase_source : a8d57585a68b2d7529cfcf77d7d2c5c04cc5a3f0
2018-02-13 08:54:22 -06:00
Jason Orendorff
89506377a3 Bug 1429212 - Add --fixup mode to check_spidermonkey_style.py. r=sfink.
--HG--
extra : rebase_source : fea02f44c54aa994f49c120c096be03774aac974
2018-02-12 11:37:12 -06:00
Andrew Swan
8026fd51f1 Bug 1431371 Only grant activeTab to urls that match <all_urls> r=kmag
MozReview-Commit-ID: ApnAwGsIOaG

--HG--
extra : rebase_source : d23ba7adf3f0b430cae862a9e59d18b5556df2c6
extra : source : 1cc1f78f5e373950e95db25cc10f3b12d762094c
2018-01-26 19:54:34 -08:00
Boris Zbarsky
6d7aa804ec Bug 838521. Don't preload scripts of unknown type, just like we don't load them normally. r=baku
MozReview-Commit-ID: JWiKNElENyZ
2018-02-14 12:05:26 -05:00
Boris Zbarsky
f91c7c78eb Bug 1437654. Drop the nsINativeTreeView stuff, since it's all not working anyway. r=gijs
There are no consumers of nsITreeBoxObject::SetView, so this fix removes that
setter.  There are consumers of GetView, though.

MozReview-Commit-ID: FBEGEFRM9Us
2018-02-13 13:53:52 -05:00
Olli Pettay
6a7af9eddf Bug 1413102 - Ensure Shadow DOM boundaries are dealt properly in event handling, r=masayuki
--HG--
extra : rebase_source : 72130abec4634f60f9c8f9b9bcd7630ef26097e1
2018-02-14 14:16:15 +02:00
Gijs Kruitbosch
1d8cd72e69 Bug 1429379, r=aswan,bz
--HG--
extra : rebase_source : 534aa354afa7d23484a6b1d8aabef36c14784df7
2018-02-06 15:00:25 +00:00
Nathan Froyd
29ed461192 Bug 1437932 - fix unused variable error in non-diagnostic assertion builds; r=baku 2018-02-14 12:01:57 -05:00
Nathan Froyd
c65a72ac1e Bug 1435916 - use a const array in nsTextFormatter::dosprintf; r=tromey
I don't know how this was not constant, but there you go.
2018-02-14 12:01:36 -05:00
Andrea Marchesini
cb79b67922 Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
Andrea Marchesini
d125a457dc Bug 1437896 - Get rid of a #ifdef Status in WorkerHolder.h, r=smaug 2018-02-14 13:23:01 +01:00
Christoph Kerschbaumer
72ce8edf3d Bug 1436808: Apply Meta CSP to content privileged about: pages. r=gijs,freddyb 2018-02-09 11:42:21 +01:00
Olli Pettay
1a35b521d0 Bug 1430305 - Implement ShadowRoot.fullscreenElement , r=mrbkap
--HG--
extra : rebase_source : 363143c1767cc9ad33fcd9dd7afd74848f709956
2018-02-13 18:57:32 +02:00
Jon Coppeard
6729fa1240 Bug 1437554 - Release the exclusive access lock when not collecting the atoms zone r=sfink 2018-02-14 10:54:13 +00:00