Commit Graph

653729 Commits

Author SHA1 Message Date
yulia
fd9524f7ff Bug 1042642 - Do not pass the threadClient to EnvironmentClient during instantiation in tests; r=jdescottes
r=jdescottes

turns out we were incorrectly passing the threadClient to the environmentClient while
instantiating in one of the tests. It worked before because the threadClient exposed the API surface
of the debugger-client.

Differential Revision: https://phabricator.services.mozilla.com/D32685

--HG--
extra : moz-landing-system : lando
2019-05-30 09:02:03 +00:00
yulia
ae4a4c8517 Bug 1042642 - Stop using the DebuggerClient instance to listen for ThreadClient events in tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29375

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:51 +00:00
yulia
a9f8c70111 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373

--HG--
extra : moz-landing-system : lando
2019-05-30 08:37:55 +00:00
yulia
29a61755bc Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371

--HG--
extra : moz-landing-system : lando
2019-05-29 15:51:28 +00:00
yulia
41a557e3b1 Bug 1042642 - do not use DebuggerClient for functions that should only take ThreadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29370

--HG--
extra : moz-landing-system : lando
2019-05-29 15:46:02 +00:00
Mihai Alexandru Michis
2454605299 Merge mozilla-central to autoland. CLOSED TREE 2019-05-30 12:49:36 +03:00
Mihai Alexandru Michis
f02325c271 Merge inbound to mozilla-central. a=merge 2019-05-30 12:45:32 +03:00
Csoregi Natalia
19709739ea Backed out changeset 46cfc6e018ba (bug 1553855) for assertion failures on LazyIdleThread.cpp. 2019-05-30 09:30:43 +03:00
Nick Thomas
b52fce9a8f Bug 1543932 - partner repacks bustage in 68.0, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D33124

--HG--
extra : moz-landing-system : lando
2019-05-30 05:30:39 +00:00
Dão Gottwald
b50e9a3cd7 Bug 1554038 - Make UrlbarInput::pickResult and UrlbarController::recordSelectedResult take a UrlbarResult instead of an index and remove UrlbarView::getResult. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D32708

--HG--
extra : moz-landing-system : lando
2019-05-30 01:13:59 +00:00
Tom Prince
592bb93848 Bug 1549889: Add support for displaying WNP conditionally on build-id; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D33039

--HG--
extra : moz-landing-system : lando
2019-05-29 23:47:07 +00:00
sotaro
5e274cc3e6 Bug 1554952 - Remove function pointers from WrExternalImageHandler r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32813

--HG--
extra : moz-landing-system : lando
2019-05-29 20:50:13 +00:00
prathiksha
325e222d30 Bug 1549561 - Move _setTechDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D30852

--HG--
extra : moz-landing-system : lando
2019-05-30 06:43:14 +00:00
prathiksha
5752203326 Bug 1549561 - Expose attributes from nsITransportSecurityInfo to content for about certerror use. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30851

--HG--
extra : moz-landing-system : lando
2019-05-30 06:42:56 +00:00
Connor Brewster
bb54c17ce3 Bug 1555476 - Implement flood filter in WebRender r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33109

--HG--
extra : moz-landing-system : lando
2019-05-30 03:11:53 +00:00
Tom Tung
3f4b49387b Bug 1539219 - Get RefPtr for IDBOpenDBRequest before using it; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D31440

--HG--
extra : moz-landing-system : lando
2019-05-30 02:53:07 +00:00
Csoregi Natalia
a51ae3670f Backed out 5 changesets (bug 1551798) for failures on test_rawSameSite.js. CLOSED TREE
Backed out changeset 11ddc433b632 (bug 1551798)
Backed out changeset f2ac8efb023d (bug 1551798)
Backed out changeset 0f6e797b434f (bug 1551798)
Backed out changeset eae7f88660c8 (bug 1551798)
Backed out changeset 2ba747afb3d0 (bug 1551798)
2019-05-30 10:17:01 +03:00
Chris Manchester
99eb67df5d Bug 1499147 - Produce archives of toolchains suitable for use with sccache-dist in automation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33101

--HG--
extra : moz-landing-system : lando
2019-05-30 06:38:00 +00:00
Matthew Noorenberghe
1c6438d64f Bug 1548857 - Save a generated login immediately if there are no saved logins for the site. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D32427

--HG--
extra : moz-landing-system : lando
2019-05-30 06:22:09 +00:00
Chris Manchester
494eff062e Bug 1555396 - Bump revision of sccache built in automation to current master. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33102

--HG--
extra : moz-landing-system : lando
2019-05-30 06:32:54 +00:00
Andrew Swan
9bedc4a90f Bug 1555496 Fix bookmark toolbar drag handlers r=bgrins
Code here explicitly references lastElementChild inside a toolbarbutton
but it doesn't have any tests so it wasn't caught when bug 1519577 landed :(

Differential Revision: https://phabricator.services.mozilla.com/D33104

--HG--
extra : moz-landing-system : lando
2019-05-30 03:29:19 +00:00
Andrea Marchesini
ef73f6105f Bug 1551798 - Add comments about the next removing patches, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33037

--HG--
extra : moz-landing-system : lando
2019-05-29 16:34:27 +00:00
Andrea Marchesini
d513a67ed4 Bug 1551798 - Test for cookie migration 10, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32483

--HG--
extra : moz-landing-system : lando
2019-05-29 15:56:22 +00:00
Andrea Marchesini
84e139e50b Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32482

--HG--
extra : moz-landing-system : lando
2019-05-29 16:34:33 +00:00
Andrea Marchesini
25006292a6 Bug 1551798 - SameSite=lax by default and SameSite=none only if secure - tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31216

--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:39 +00:00
Andrea Marchesini
ae8ab513d8 Bug 1551798 - SameSite=lax by default and SameSite=none only if secure, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31215

--HG--
extra : moz-landing-system : lando
2019-05-30 00:48:41 +00:00
Mike Hommey
4c0ecc6982 Bug 1554063 - Move decimal to mozglue. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D32435

--HG--
rename : mfbt/decimal/Decimal.cpp => mozglue/misc/decimal/Decimal.cpp
rename : mfbt/decimal/Decimal.h => mozglue/misc/decimal/Decimal.h
rename : mfbt/decimal/UPSTREAM-GIT-SHA => mozglue/misc/decimal/UPSTREAM-GIT-SHA
rename : mfbt/decimal/comparison-with-nan.patch => mozglue/misc/decimal/comparison-with-nan.patch
rename : mfbt/decimal/fix-wshadow-warnings.patch => mozglue/misc/decimal/fix-wshadow-warnings.patch
rename : mfbt/decimal/mfbt-abi-markers.patch => mozglue/misc/decimal/mfbt-abi-markers.patch
rename : mfbt/decimal/moz-decimal-utils.h => mozglue/misc/decimal/moz-decimal-utils.h
rename : mfbt/decimal/to-moz-dependencies.patch => mozglue/misc/decimal/to-moz-dependencies.patch
rename : mfbt/decimal/update.sh => mozglue/misc/decimal/update.sh
rename : mfbt/decimal/zero-serialization.patch => mozglue/misc/decimal/zero-serialization.patch
extra : moz-landing-system : lando
2019-05-29 06:57:28 +00:00
Dzmitry Malyshau
b431e7fe94 Bug 1554502 - Configurable lookback count r=gw
We've had a constant of 10 hard-coded there since early days.
Turning it into a configurable number allows us to easier tune it and
debug related issues.

Differential Revision: https://phabricator.services.mozilla.com/D32761

--HG--
extra : moz-landing-system : lando
2019-05-30 01:29:43 +00:00
Randell Jesup
8aeebca654 Bug 1553855: Make the Classifier Update thread a LazyIdle thread r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D32529
Differential Revision: https://phabricator.services.mozilla.com/D32857

--HG--
extra : rebase_source : 52e2ef90c9585119a39c6569f6c791f104681392
2019-05-24 15:58:32 -04:00
shindli
b374b306cf Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-30 06:50:22 +03:00
Jim Blandy
ea6f3617dc Bug 1551176: Rename js::DebugScript::stepMode to 'stepperCount'. r=jorendorff
This field of js::DebugScript is a count of the number of Debugger.Frames with
onPop handlers that apply to the given script, and its name should reflect that
more directly. All accessors and mutators renamed accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D32269

--HG--
extra : moz-landing-system : lando
2019-05-29 20:52:17 +00:00
Sam Foster
c2adf1ffc8 Bug 1554005 - Check login-saving is enabled before offering a generated password for a form. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D33080

--HG--
extra : moz-landing-system : lando
2019-05-30 00:28:06 +00:00
Jim Blandy
2206c1191d Bug 1551176: Clean up js::DebugScript and step mode count. r=jorendorff
The present JSScript::setNewStepMode method deals with both increments and
decrements. This provides a single site from which to call
BaselineScript::toggleDebugTraps. But it also checks whether it should free the
DebugScript, which is only needed when we're decrementing, and requires
incrementStepModeCount to furnish a FreeOp which is never needed.

On the balance, removing setNewStepMode altogether and letting
JSScript::incrementStepModeCount and decrementStepModeCount each specialize in
building things up or tearing things down seems cleaner, even if both need to
call toggleDebugTraps.

Differential Revision: https://phabricator.services.mozilla.com/D32268

--HG--
extra : moz-landing-system : lando
2019-05-29 20:52:02 +00:00
Emilio Cobos Álvarez
0bdeae4db0 Bug 1493420 - followup: Bump max allowed stack size of RuleNode. irc-r=heycam 2019-05-30 02:27:59 +02:00
Daosheng Mu
3db15dbbdb Bug 1523351 - Part 5: Add LightIndicatorColor dummy functions in other platforms. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D31114

--HG--
extra : moz-landing-system : lando
2019-05-29 22:15:19 +00:00
Daosheng Mu
337ebaba8a Bug 1523351 - Part 4: DS4 GamepadTouch and GamepadLightIndicator implementation in Windows. r=aklotz,baku
These should both be blocking reviewers.

Differential Revision: https://phabricator.services.mozilla.com/D29291

--HG--
extra : moz-landing-system : lando
2019-05-30 00:21:59 +00:00
Daosheng Mu
21043eccbc Bug 1523351 - Part 3: Handling GamepadTouch and GamepadLightIndicator events in Gamepad service. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29290

--HG--
extra : moz-landing-system : lando
2019-05-29 22:15:23 +00:00
Daosheng Mu
fc4437c39c Bug 1523351 - Part 2: Add tests for GamepadTouch and GamepadLightIndicator. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29289

--HG--
extra : moz-landing-system : lando
2019-05-29 22:15:25 +00:00
Daosheng Mu
7b8a1cc7ba Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-29 22:44:24 +00:00
Chris Manchester
216f707c10 Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105

--HG--
extra : moz-landing-system : lando
2019-05-29 23:55:37 +00:00
Emilio Cobos Álvarez
3116f4a8c3 Bug 1554755 - Don't set nsIFrame::mMayHaveRoundedCorners to false when there are non-zero percent borders, as we don't track all sizes that are passed to this function. r=mattwoodrow
I _think_ most of the sizes that get here are going to be equivalent to
mRect.Size(), but that seems really hard to prove.

Differential Revision: https://phabricator.services.mozilla.com/D32754

--HG--
extra : moz-landing-system : lando
2019-05-30 00:10:55 +00:00
Emilio Cobos Álvarez
41399e03a6 Bug 1493420 - Use a RwLock'd HashMap instead of a lock-free linked list for rule node children. r=heycam
I need to profile this a bit more, but talos was pretty happy about this, and it
solves the known performance issues here such as the test-case from bug 1483963
for example. This also gets rid of a bunch of unsafe code which is nice.

This still keeps the same GC scheme, removing the key from the hashmap when
needed. I kept those as release assertions, but should probably be turned into
debug-only assertions.

Differential Revision: https://phabricator.services.mozilla.com/D6801

--HG--
extra : moz-landing-system : lando
2019-05-29 23:41:01 +00:00
Ehsan Akhgari
56221ac188 Bug 1555189 - Enable partitioning of DOM cache in the third-party context; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32922

--HG--
extra : moz-landing-system : lando
2019-05-29 15:42:43 +00:00
Boris Zbarsky
97fc0e9aaf Bug 1555442. Remove unnecessary QI. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33059

--HG--
extra : moz-landing-system : lando
2019-05-29 21:51:57 +00:00
Mike Hommey
2abcc3d7cb Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj
The current situation is suboptimal, where we have the same goop
repeated in multiple files, and where things kinda sorta work out fine
thanks to the linker for files that would have been forbidden, except
when the linker doesn't do its job, which apparently happen on
mingwclang builds.

This change only really covers C++ code using operator new/delete, and
not things that would be using malloc/free, because it's easier.
malloc/free is left for a followup.

Differential Revision: https://phabricator.services.mozilla.com/D32119

--HG--
extra : moz-landing-system : lando
2019-05-29 22:49:42 +00:00
Cameron McCormack
0946812131 Bug 1555240 - Remove unnecessary macOS scrollbar rule. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D32954

--HG--
extra : moz-landing-system : lando
2019-05-29 13:58:54 +00:00
Timothy Nikkel
6c2c3c6e42 Bug 1554373. Handle glass item with retained display lists. r=mattwoodrow
We clear mGlassDisplayItem before a full display list build. We use it so that we only mark the first glass item we encounter with the glass item flag.

For partial builds we use the bool mHasGlassItemDuringPartial to track the same thing, so we only mark one item as glass. Merging handles updating mGlassDisplayItem for partial builds.

So this means that we could have one item marked as a glass item in the old list and one item marked as a glass item in the new list.

If merging doesn't use the existing mGlassDisplayItem then it clears mGlassDisplayItem. If merging uses a new item that is a glass item it calls SetGlassDisplayItem on it, so it will only become the new glass item if there wasn't one there already.

So it is actually possible that both items with the glass flag make it into the final display list. Thus the number of display items in the display list with the glass flag can grow to any number, but it would have to be a very very weird state because the glass item is only allowed to be a themed background item coming from a doc element box frame (one per xul doc near the root).

Differential Revision: https://phabricator.services.mozilla.com/D32558

--HG--
extra : moz-landing-system : lando
2019-05-29 22:01:28 +00:00
Mike Hommey
cfe985532a Bug 1554928 - Remove configure options that have been deprecated for a while. r=nalexander
- DISABLE_SHARED_JS and DISABLE_EXPORT_JS have been deprecated for 3
years,
- MOZ_JEMALLOC4 has been deprecated for 2 years.

Differential Revision: https://phabricator.services.mozilla.com/D32928

--HG--
extra : moz-landing-system : lando
2019-05-29 02:01:02 +00:00
Daniel Varga
b173205f5e Backed out 5 changesets (bug 1523351) for build bustage at builds/worker/workspace/build/src/dom/gamepad/GamepadRemapping.cpp on a CLOSED TREE
Backed out changeset 723d0a919d71 (bug 1523351)
Backed out changeset 13dcba81ff07 (bug 1523351)
Backed out changeset 6209717410be (bug 1523351)
Backed out changeset 80b34e6ce876 (bug 1523351)
Backed out changeset 7bdb7982c3af (bug 1523351)
2019-05-30 01:10:11 +03:00
shindli
0db63d20c7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-30 01:05:27 +03:00