Commit Graph

653696 Commits

Author SHA1 Message Date
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
James Teh
bffe0db8cf Bug 1543307: For out-of-process iframes on Windows, return the embedded document as a child of the OuterDocAccessible. r=eeejay
Windows accessibility clients talk directly to the content process via COM.
In order to expose an OOP iframe document accessible as a child of the embedder iframe accessible via COM, the embedder process needs a COM proxy for the iframe document accessible.
This is exposed on the embedder's BrowserBridgeChild, so we can use this when a client asks for the child of the OuterDocAccessible.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 19:54:37 +00:00
James Teh
a23e2db32f Bug 1543298 part 3: For out-of-process iframes, send the embedded document accessible's COM proxy to the embedder. r=eeejay
This will be later exposed as a child of the embedder OuterDocAccessible.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 00:19:51 +00:00
James Teh
4e9fb4dabe Bug 1543298 part 2: Add PBrowserBridge::SetEmbeddedDocAccessibleCOMProxy so the parent can send the child the COM proxy for the embedded document accessible. r=eeejay,nika
Differential Revision: https://phabricator.services.mozilla.com/D32279

--HG--
extra : moz-landing-system : lando
2019-05-24 18:49:31 +00:00
James Teh
ca09924827 Bug 1543298 part 1: Add a stub AccessibleWrap used in a Windows content process for an embedded document residing in another content process. r=eeejay
For an out-of-process iframe, we need to be able to return a remote embedder accessible as a child of an OuterDocAccessible.
For parent process OuterDocAccessibles, we use the ProxyAccessible for the embedded document.
In the case of out-of-process iframes, there is no ProxyAccessible for the embedded document, since the iframe is in a content process and ProxyAccessibles only exist in the parent process.
Like ProxyAccessibleWrap, the only real method that gets called is GetNativeInterface, which returns a COM proxy for the document.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:14:39 +00: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
Brindusan Cristian
bfa0a8a991 Backed out changeset c0895e6c7343 (bug 1553769) for causing build bustages at PluginWidgetProxy.cpp. CLOSED TREE 2019-05-30 01:00:20 +03:00
shindli
ec43d5678c Merge inbound to mozilla-central. a=merge 2019-05-30 00:52:13 +03:00
Charlie Marlow
b06816a234 Bug 1555436: Add braces to address static analysis warnings in some text layout code. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D33075

--HG--
extra : moz-landing-system : lando
2019-05-29 20:48:41 +00:00
Daosheng Mu
8dc2ffb50b 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 20:48:23 +00:00
Daosheng Mu
2d2b678574 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-29 21:25:23 +00:00
Daosheng Mu
fdcc151ea4 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 20:48:27 +00:00
Daosheng Mu
304abbd74d 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 20:48:29 +00:00
Daosheng Mu
f1193f9f17 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 21:44:28 +00:00
Johann Hofmann
f9e9ef7a10 Bug 1547116 - Avoid updating unnecessary touch bar inputs. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D28907

--HG--
extra : moz-landing-system : lando
2019-05-29 21:42:56 +00:00
Byron Campen [:bwc]
2d6cf50175 Bug 1551589: readyState fixes r=ng
Depends on D31085

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

--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Emilio Cobos Álvarez
748cc8584f Bug 1553769 - Make nsIWidget::SetFocus infallible, and make it take an enum class. r=NeilDeakin
Only gtk returns failure ever, and nobody checks the result anyway.

Use an enum class so that it's clear from the caller what it means.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:37:26 +00:00
Edwin Gao
9cf251ce29 Bug 1555454 - migrate marionette, wdspec, firefox UI, test-verify, mochitest-a11y suites to macosx1014 r=jmaher
Test suite changes:
- test-verify, marionette, firefox UI, wdspec, mochitest-a11y suites are migrated over to macosx1014 platform (green without requiring intervention)

Test expected outcomes:
- skip `browser/components/urlbar/tests/browser/browser_locationBarCommand.js` test as per comments in 1554807

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

--HG--
extra : moz-landing-system : lando
2019-05-29 21:06:39 +00:00
Brindusan Cristian
7df8033ba2 Backed out 7 changesets (bug 1167452) for spidermonkey bustages on weak-marking-02.js. CLOSED TREE
Backed out changeset 196e318992aa (bug 1167452)
Backed out changeset 3b174feaa3f2 (bug 1167452)
Backed out changeset 436fbb0e51e5 (bug 1167452)
Backed out changeset 5e813b247fee (bug 1167452)
Backed out changeset d1b2e8a06822 (bug 1167452)
Backed out changeset 1566746f179c (bug 1167452)
Backed out changeset 01cf1b9a681c (bug 1167452)
2019-05-30 00:23:38 +03:00
Jim Blandy
52385efdd3 Bug 1551176: JSScript::getOrCreateDebugScript replaces ensureDebugScript. r=jorendorff
All extant calls to JSScript::ensureDebugScript are immediately followed by a
call to JSScript::debugScript. A fallible getOrCreate interface is cleaner for
the callers, and not much more work in the callee.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 21:48:36 +00:00
Jim Blandy
34a3c1cfa4 Bug 1551176: Add js::DebugScript::needed method. r=jorendorff
Giving DebugScript a `needed` method makes the tests for cleaning it up a little
neater, and will help us add more doodads to it in subsequent patches.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 20:52:32 +00:00
Srujana Peddinti
2a3531f404 Bug 1549504 - Assert that AsyncPanZoomController::mRecursiveMutex is held in Metrics() r=botond
Moved assertion statement from GetFrameMetrics() to Metrics() so that internal accesses to the frame metrics are covered as well.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 18:42:03 +00:00
Florens Verschelde
ba5741d87f Bug 1555304 - Fix size of print simulation icon; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33002

--HG--
extra : moz-landing-system : lando
2019-05-29 17:50:01 +00:00
Connor Brewster
661d98cfba Bug 1554247 - Fix bracing in layout/painting r=miko
Differential Revision: https://phabricator.services.mozilla.com/D32893

--HG--
extra : moz-landing-system : lando
2019-05-29 14:34:34 +00:00
Kartikaya Gupta
77070abf44 Bug 1555410 - Clear the logcat before starting to record. r=gbrown
This allows local runs where the emulator stays up between runs to have
a cleaner logcat, because it won't pull historical logcat from the emulator.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 17:37:27 +00:00
Edwin Gao
c47338e855 Bug 1555156 - task efficiency: reduce chunks of mochitest-chrome for selected platforms r=jmaher
Changes:

- default chunk count is now set to 2
- added exception rules to maintain current chunk count (3) for slower platforms and build types

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

--HG--
extra : moz-landing-system : lando
2019-05-29 03:40:29 +00:00
Mark Banner
b64a304444 Bug 1555296 - Remove SEARCH_SERVICE_COUNTRY_FETCH_CAUSED_SYNC_INIT probe. r=mikedeboer,chutten
Differential Revision: https://phabricator.services.mozilla.com/D32999

--HG--
extra : moz-landing-system : lando
2019-05-29 17:45:03 +00:00
Nikki Sharpley
9601163e6a Bug 1554203 - [mozlog] Move formatter tests to one location and refactor r=jgraham
As the number of tests have grown considerably, for clarity, this patch
moves the formatter tests in test_structured.py to test_formatters.py.

html.py and its corresponding test were also amended to account for
discrepancies in the way Python 2 and 3 handle strings (bytes vs text type).

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

--HG--
extra : moz-landing-system : lando
2019-05-29 17:20:28 +00:00
Michael Cooper
78657c1506 Bug 1553125 - Force a recipes sync when Normandy is in dev mode r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D32900

--HG--
extra : moz-landing-system : lando
2019-05-29 16:53:30 +00:00
Ryan Hunt
2e7b8a7ab6 Bug 1552186 - Remove windowGlobalParents getter from nsIRemoteTab. r=nika
This method wasn't correct for what mconley needed and is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 16:48:37 +00:00