Commit Graph

671258 Commits

Author SHA1 Message Date
Henri Sivonen
c193518677 Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D43957

--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Henri Sivonen
97bba9fc6c Bug 1490601 part 1 - Move encoding_c and encoding_c_mem to jsrust_shared. r=glandium
Note: This changeset does not yet make it possible to propagate the
simd-accel feature to encoding_rs in standalone SpiderMonkey builds.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:27 +00:00
Jeremy Lempereur
c3d1703996 Bug 1580157 - Add tests to network attributes sorting. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45893

--HG--
extra : moz-landing-system : lando
2019-09-17 18:58:39 +00:00
Simon Giesecke
89e37616c3 Bug 1168606 - Refactored tests, reduced duplicated code. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43250

--HG--
extra : moz-landing-system : lando
2019-09-18 06:43:08 +00:00
Simon Giesecke
e6e5f01c36 Bug 1168606 - Apply renamings suggested for Cursor::*Key members and related identifiers. r=ytausky,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43249

--HG--
extra : moz-landing-system : lando
2019-09-18 06:41:35 +00:00
Simon Giesecke
27297c9cf8 Bug 1168606 - Inline Key::Assert function to make effective use of MOZ_ASSERT diagnostics. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43039

--HG--
extra : moz-landing-system : lando
2019-09-18 06:41:23 +00:00
Simon Giesecke
8158af97af Bug 1168606 - Make limit parameter a statement parameter. r=ytausky,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43038

--HG--
extra : moz-landing-system : lando
2019-09-18 06:41:11 +00:00
Simon Giesecke
6d939ca292 Bug 1168606 - Refactored building of key range and direction clauses. r=ttung,asuth
To align with the coding style, GetBindingClauseForKeyRange should return its
result rather than by modifying an output parameter.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:40:53 +00:00
Simon Giesecke
433dbe0b8e Bug 1168606 - Remove code duplication in DatabaseOperationBase::BindKeyRangeToStatement overloads r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D42852

--HG--
extra : moz-landing-system : lando
2019-09-18 06:40:40 +00:00
Simon Giesecke
19bf854bca Bug 1168606 - Move the functionality of OpenOp::GetKeyRangeInfo to Cursor::SetOptionalKeyRange r=ttung,asuth
Also avoid unnecessary copying of the non-locale-based key in case the locale-based is needed, and reduced code duplication and variable scoping. r=ttung

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:40:28 +00:00
Daosheng Mu
480100a366 Bug 1510622 - Initilize OpenVR controller haptic thread when the first time to do vibration. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D46227

--HG--
extra : moz-landing-system : lando
2019-09-18 00:13:12 +00:00
Florin Strugariu
b776b14b16 Bug 1577037 Add fennec tests for esr-68 latest r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45836

--HG--
extra : moz-landing-system : lando
2019-09-17 14:35:20 +00:00
lloan
04e671c0c5 Bug 1581088 - Enable search on Beta/DevEdition. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46044

--HG--
extra : moz-landing-system : lando
2019-09-18 08:06:14 +00:00
Karl Tomlinson
5c05372199 Bug 1578623 remove OriginAttributes duplication by reading from PrincipalInfo r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44918

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:59 +00:00
Karl Tomlinson
337fbc6879 Bug 1578623 add test for syntax errors and uncaught exceptions in worklet scripts r=bhackett
Depends on D44611

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_worker_error.js => devtools/client/webconsole/test/browser/browser_webconsole_worklet_error.js
extra : moz-landing-system : lando
2019-09-09 00:42:03 +00:00
Karl Tomlinson
5ad63ce113 Bug 1578623 include stack with console message for uncaught exception in worklet script r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44609

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:44 +00:00
Karl Tomlinson
8361c71fb3 Bug 1578623 add stack support to AsyncErrorReporter r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D44608

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:46 +00:00
Karl Tomlinson
a97ec5bdeb Bug 1578623 permit SerializeStack() from worklet thread r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44606

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:48 +00:00
Karl Tomlinson
fb83797145 Bug 1578623 implement WorkletPrincipals::write() r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D44605

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:50 +00:00
Karl Tomlinson
a931bb8408 bug 1578623 store PrincipalInfo on WorkletImpl for off-main-thread use r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44603

--HG--
extra : moz-landing-system : lando
2019-09-09 00:41:57 +00:00
A. Wilcox
f40d806c0d Bug 1511604 - Swizzle YCbCr->RGB data on big-endian machines. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D46134

--HG--
extra : moz-landing-system : lando
2019-09-17 17:47:17 +00:00
Glenn Watson
e2052553cc Bug 1581448 - Add support for specifying extra per-primitive flags in WR display lists r=kvark,nical
This patch replaces the is_backface_visible bool in the common
per-primitive data in the display list with a PrimitiveFlags
enumeration. This will allow Gecko to specify extra information
about certain primitive, such as tagging scroll bars.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 07:14:51 +00:00
Masayuki Nakano
ed4c1cd65a Bug 1540029 - part 7: Replace HTMLEditRules::GetAlignment() with new stack only class r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45789

--HG--
extra : moz-landing-system : lando
2019-09-18 06:26:56 +00:00
Masayuki Nakano
6ff81fdbe4 Bug 1540029 - part 6: Replace HTMLEditRules::GetListItemState() with new stack only class r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45788

--HG--
extra : moz-landing-system : lando
2019-09-18 04:42:55 +00:00
Andreea Pavel
73383c5230 Backed out changeset af9417bd8105 (bug 1581448) for wrench bustages on a CLOSED TREE 2019-09-18 09:54:23 +03:00
Andreea Pavel
3a05650c79 Backed out changeset dc7ef690b396 (bug 1581548) for failing /test_window_open_discarded_bc.html on a CLOSED TREE 2019-09-18 09:50:31 +03:00
Glenn Watson
83dc27b34b Bug 1581650 - Provide picture cache dirty rects in WR render outputs r=nical
This provides the internal device-space dirty rects calculated
during picture cache updates to the external render() method.

This allows clients to provide these to OS partial present APIs,
to reduce power usage and improve performance.

In this initial implementation, if a scroll or scale of the main
picture cache has occurred, the dirty rect will be the entire
screen. This should ensure correctness. In future, we can handle
this case by supplying the picture cache transforms to the OS
compositor integration.

However, the dirty rects will be valid for any non-scroll cases,
such as animations or video playback. This should result in some
significant power savings and performance improvements for these
use cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:27:54 +00:00
Glenn Watson
ff53edd4e5 Bug 1581448 - Add support for specifying extra per-primitive flags in WR display lists r=kvark,nical
This patch replaces the is_backface_visible bool in the common
per-primitive data in the display list with a PrimitiveFlags
enumeration. This will allow Gecko to specify extra information
about certain primitive, such as tagging scroll bars.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:27:34 +00:00
Eitan Isaacson
db60a948f1 Bug 1580292 - Check for pruned descendants of reframed body. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D45423

--HG--
extra : moz-landing-system : lando
2019-09-11 18:32:07 +00:00
Eitan Isaacson
4b3b42e7be Bug 1578416 - Don't allow children of list item to move before bullet. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D45578

--HG--
extra : moz-landing-system : lando
2019-09-12 01:00:15 +00:00
Karl Tomlinson
78bb2541b3 Bug 834505 undef GetCurrentTime() from windows-h-wrapper.template.h r=glandium
GetCurrentTime is declared in WinBase.h
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/um/WinBase.h#L91

Documentation for functions declared in winbase.h instruct to include
Windows.h. e.g.
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfile
Other macro declarations in winbase.h such as CopyFile() are already adjusted
with this wrapper via windows-h-unicode.decls.h

A similar, but different, static inline could be provided but is not required.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:52:20 +00:00
Jean-Yves Avenard
6d82c4d307 Bug 1581470 - Check for CSP navigate-to during ConfigureChannel so that it runs in the parent process. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45985

--HG--
extra : moz-landing-system : lando
2019-09-18 04:36:51 +00:00
Matthew Noorenberghe
9fefa39499 Bug 1423714 - Import logins from Chrome/Chromium on macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45155

--HG--
rename : browser/components/migration/tests/unit/AppData/Local/Google/Chrome/User Data/Default/Login Data => browser/components/migration/tests/unit/Library/Application Support/Google/Chrome/Default/Login Data
extra : moz-landing-system : lando
2019-09-18 04:47:34 +00:00
Matthew Noorenberghe
3ddb338cd5 Bug 1423714 - Add a module to decrypt Chrome/Chromium Login Data from macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45969

--HG--
extra : moz-landing-system : lando
2019-09-18 04:47:22 +00:00
Matthew Noorenberghe
4d10eed5d3 Bug 1423714 - Add an API to retrieve a password from Keychain by account and service. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D45968

--HG--
extra : moz-landing-system : lando
2019-09-18 04:47:10 +00:00
Daniel Varga
6ae28ad4f9 Merge mozilla-central to autoland 2019-09-18 07:43:57 +03:00
Masayuki Nakano
320d1209c9 Bug 1540029 - part 5: Replace HTMLEditRules::GetListState() with new stack class r=m_kato
It takes a lot of `bool` out arguments.  Therefore, we should make it a
stack only class and caller should retrieve only necessary information.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 03:39:00 +00:00
Masayuki Nakano
b3115e6972 Bug 1540029 - part 4: Merge BeforeEdit() and OnStartToHandleTopLevelEditSubAction(), and AfterEdit() and OnEndHandlingTopLevelEditSubAction() r=m_kato
And also this patch make each `AutoEditSubActionNotifier` creator check
the result of `OnStartToHandleTopLevelEditSubAction()` at least for
`NS_ERROR_EDITOR_DESTROYED`.

We need to take care of its destructor's result later, though.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 03:01:28 +00:00
Daniel Varga
2dc4f22a07 Backed out 2 changesets (bug 1577723) for wpt failure at /html/browsers/history/the-location-interface/no-browsing-context.window.html
Backed out changeset 8bf308d3b614 (bug 1577723)
Backed out changeset 6ba3bcede28a (bug 1577723)
2019-09-18 01:50:35 +03:00
Kris Maglione
d70488e985 Bug 1577723: Follow-up: Fix another crash test relied on GC timing. r=bustage
MANUAL PUSH: Bustage fix.
2019-09-17 13:27:48 -07:00
Paul Bone
3a5edddc9f Bug 1568427 - Add {expectExceptionOnFailure: false} to test r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D46112

--HG--
extra : moz-landing-system : lando
2019-09-17 08:10:30 +00:00
Makoto Kato
c147a2e204 Bug 1571375 - Don't remove white space when committing composition. r=masayuki
This is regression by bug 1530649.

After landing bug 1530649, we try to scan end point of replacement text. But
in this bug's situation, afterRun becomes same as current ws run by landing
bug 1530649. To get white space type of next of replacement end, we have to
scan around end point again.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 03:56:25 +00:00
Jared Wein
746966587f Bug 1567423 - Allow for searching passwords in about:logins when MP is disabled. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45016

--HG--
extra : moz-landing-system : lando
2019-09-18 03:47:22 +00:00
Jared Wein
9e6039ee22 Bug 1567423 - Combine all synchronous messages sent at startup of about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45739

--HG--
extra : moz-landing-system : lando
2019-09-17 15:01:02 +00:00
Brian Hackett
a0762fda35 Bug 1581999 - Fix event logging while replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46245

--HG--
extra : moz-landing-system : lando
2019-09-18 03:22:33 +00:00
Emilio Cobos Álvarez
a5a84ae3df Bug 1578661 - Add a note about CSS use counters to the documentation. r=chutten
Not sure how much detail does it need (it just works) but suggestions welcome.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:31:36 +00:00
Emilio Cobos Álvarez
72746c1fb1 Bug 1578661 - Add static_assert messages for use counter assertions. r=boris
This was a review comment which was easier to address as a separate patch.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:31:34 +00:00
Emilio Cobos Álvarez
2c4d8845b5 Bug 1578661 - Deduplicate a bit the code to add use counters for a CSS property. r=chutten
Just some minor cleanup while I think on how to best integrate this with
probe-scraper.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:31:26 +00:00
Emilio Cobos Álvarez
5ebe1a5793 Bug 1578661 - Report counted unknown properties as well. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D44717

--HG--
extra : moz-landing-system : lando
2019-09-18 02:31:25 +00:00
Emilio Cobos Álvarez
a5e65f94a1 Bug 1578661 - Add telemetry histograms for unknown counted CSS properties. r=chutten
This adds histograms for the stuff added in bug 1575062, which is needed for the
webcompat metrics project.

This also tweaks the naming to be consistent across all CSS properties. Normally
the method is just equivalent to the camel_case thing except for:

 * The css float property, whose method is CssFloat.
 * Internal properties (but we don't count those anyway).

This is so that we get consistent usage data if we ever implement some of those
properties.

I had to increase the PHF table size to make build times sane again (for some
reason adding the "d" property in there blows up the phf map generation time).

But according to Nika the binary size impact of that change is minimal /
irrelevant:

  https://mozilla.logbot.info/content/20190904#c16590376

So I think it should be fine.
chance

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:31:23 +00:00