Граф коммитов

658239 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky c955bfc0bc Bug 1561440 part 2. Add mapping and reflection support for dimension attributes stored as doubles. r=mccr8,emilio
Differential Revision: https://phabricator.services.mozilla.com/D36263

--HG--
extra : moz-landing-system : lando
2019-06-29 19:36:13 +00:00
Boris Zbarsky 762cb977ec Bug 1561440 part 1. Move MapSizeAttributeInto to earlier in the file, where we will need it, and rename to be clearer about what sort of things it maps. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36262

--HG--
extra : moz-landing-system : lando
2019-06-28 22:08:37 +00:00
Kagami Sascha Rosylight 3f472122f6 Bug 1560462: Implement DOMMatrix.fromMatrix r=bzbarsky
Also fixes `.multiply()` to use DOMMatrixInit.

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

--HG--
extra : moz-landing-system : lando
2019-06-30 03:02:13 +00:00
Dan Glastonbury 953fa83a15 Bug 1562111 - Unconditionally include WinUtils.h on Windows. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D36283

--HG--
extra : moz-landing-system : lando
2019-06-29 08:27:35 +00:00
Jeff Gilbert ad069c5ce0 Bug 1541396 - Add GLBuffer prebind workaround. r=lsalzman
BindBufferBase/Range will fail (on some drivers) if the buffer name has never been bound.
(GenBuffers makes a name, but BindBuffer initializes that name as a real buffer object)

Include test fix:
https://github.com/KhronosGroup/WebGL/pull/2907

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

--HG--
extra : moz-landing-system : lando
2019-06-30 01:29:44 +00:00
Jeff Gilbert 9561417879 Bug 1541396 - Refactor (non-)transform-feedback binding/use checks. r=lsalzman
* Remove WebGLBuffer::SetSlot
* Make most bindBuffer calls lazy.
* Replace nsTArray with std::vector in WebGLVertexArray.

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

--HG--
extra : moz-landing-system : lando
2019-06-30 01:29:42 +00:00
Coroiu Cristina 3712f3103e Backed out changeset d63622bdde81 (bug 1560462) for wpt failures at css/geometry/DOMMatrixInit-validate-fixup.html 2019-06-30 03:21:14 +03:00
Kagami Sascha Rosylight ef13c99bda Bug 1560462: Implement DOMMatrix.fromMatrix r=bzbarsky
Also fixes `.multiply()` to use DOMMatrixInit.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 03:24:08 +00:00
Emilio Cobos Álvarez be10aa358a No bug - rustfmt recent changes. r=whitespace-only 2019-06-29 23:00:11 +02:00
Henrik Skupin 3e75511189 Bug 1562036 - [awsy] Re-enable "browser.tabs.remote.separatePrivilegedContentProcess". r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D36298

--HG--
extra : moz-landing-system : lando
2019-06-29 15:55:38 +00:00
dlee d9634cfdf5 Bug 1531354 - P6. Remove unused testing files and load old version of prefixes data. r=gcp
This patch does the following:
1. Remove testing files from disk because they are no longer required.
2. Load completions from previous version of HashStore until an update
   is applied.
3. Older version of HashStore(.sbstore) & PrefixSet(.vlpset) will be
   removed during an update

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

--HG--
extra : moz-landing-system : lando
2019-06-29 19:24:14 +00:00
dlee d1ed4c245a Bug 1531354 - P5. Safe Browsing test entries are directly stored in LookupCache. r=gcp
Create test entries via update introduces performance overhead.
We can store them directly in LookupCache and do not save test entries
to disk.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 19:05:41 +00:00
dlee 82f987f7c9 Bug 1531354 - P4. Skip reading hashstore in RegenActiveTables. r=gcp
For Safe Browsing V2, Data for lookup(LookupCache) and data for update(HashStore)
are now separated. |RegenActiveTables| doesn't need to check the chunk
number in HashStore.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 23:11:06 +00:00
dlee b57c5c8716 Bug 1531354 - P3. Do not store completion in HashStore. r=gcp
Completions are now stored in .vlpset, we can remove it from .sbstore
Functions related to optimize reading completions from .sbstore can also
be removed because it is no longer HashStore's responsibility

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

--HG--
extra : moz-landing-system : lando
2019-06-26 19:45:08 +00:00
dlee e73ed82b2f Bug 1531354 - P2. Use variable-length prefix set in LookupCacheV2. r=gcp
1. VariableLengthPrefixSet supports getting/setting prefixes with
AddPrefixArray and AddCompletesArray

2. VariableLengthPrefixSet supports passing prefix as an integer in
Match API. This is because how V2 and V4 see prefixes as an integer
works differently.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 19:40:45 +00:00
dlee 128b3c174b Bug 1531354 - P1. Remove mPrefixSet and mUpdateCompletions from LookupCacheV2 and use mVLPresetSet. r=gcp
The goal of the series of patches is to improve Safe Browsing performance by
skipping uncessary file IO.

The first two patches is to remove the dependency between LookupCache and HashStore, so HashStore is only
responsible for udpates.

Before this patch, LookupCacheV2 treats prefixes and completions
differently. It uses two data structures to maintain
prefixes:
1. mPrefixSet to store prefixes from .pset
2. mUpdateCompletions to store completions from .sbstore

After this patch
1. LookupCacheV2 & LookupCacheV4 both use variable-length
prefix set. mUpdateCompletions and mPrefixSet are removed and
mVLPrefixSet is used to store all prefixes data.
2. Move common function to base class.

Note that in this patch, conversion between 4/32 bytes prefixes and
mVLPrefixSet is not yet included, it will be handled in next patch.
This patch tries not to deal with any logic changes, only focus on refining
LookupCacheV2 & LookupCacheV4 class structure to use variable-length
prefixset for both classes.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 23:07:52 +00:00
Ryan VanderMeulen 1a0a648052 Bug 1560439 - Update HarfBuzz to 2.5.3. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D36282

--HG--
extra : moz-landing-system : lando
2019-06-29 17:29:36 +00:00
Kartikaya Gupta 6a9aec8195 Bug 1562390 - Ignore MOZ_WEBRENDER=0 for the WR rollout marionette test. r=me
This is a temporary fix for the tests in test_pref_rollout_workaround. The
tests are permafailing because they are now always running with MOZ_WEBRENDER=0
which breaks assumptions inside the test.
2019-06-29 17:02:04 +03:00
Gurzau Raul 125bf10273 Backed out changeset 460bb9bef9c3 (bug 1561883) for build bustage at nsWaylandDisplay.h on a CLOSED TREE. 2019-06-29 14:24:34 +03:00
Gurzau Raul b0fcd74087 Backed out changeset bb73a4c99331 (bug 1562141) for build failures at nsWindow.cpp on a CLOSED TREE. 2019-06-29 14:21:59 +03:00
Martin Stransky 450f08a255 Bug 1561883 - [Wayland] Provide WaylandDisplayGetWLDisplay() to directly get wl_display, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D36183

--HG--
extra : moz-landing-system : lando
2019-06-28 14:58:55 +00:00
Martin Stransky 40de4d717b Bug 1562141 - [Wayland] Hide/show popup when it's positioned by gdk_window_move_to_rect() and it's visible, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D36331

--HG--
extra : moz-landing-system : lando
2019-06-28 15:02:11 +00:00
Masayuki Nakano ccf6a4c660 Bug 1444847 - part 7: Make `EditorSpellCheck` use `StaticRange` instead of `nsRange` to initialize itself r=smaug
`EditorSpellCheck` clones `nsRange` instance only for temporary use during
initialization even though the DOM tree won't be changed during it.  In this
case, using `StaticRange` is better since it does not need to observe the
DOM tree mutation.  I.e., we can save the cost of registering and
unregistering the mutation observer.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:50:36 +00:00
Csoregi Natalia 4173161363 Merge mozilla-central to autoland. CLOSED TREE 2019-06-29 13:02:56 +03:00
Csoregi Natalia 29f8e6aebd Merge inbound to mozilla-central. a=merge 2019-06-29 12:59:53 +03:00
Kartikaya Gupta 721a5dbcf4 Bug 1558598 - Ensure mozinfo correctly detects WebRender. r=ahal
I don't know if this covers all the things that use mozinfo (probably not)
but it covers all the suites that use mozinfo and have webrender conditions
in the test manifests (i.e. mochitest and wpt variants).

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:51:14 +00:00
Kartikaya Gupta 276b570b4d Bug 1558598 - Add the --enable-webrender option to android HW unittests. r=ahal
This is not used yet but will be eventually so I'm just going to
add it now.

As of this patch, all the tests that we currently run on android HW do
accept the --enable-webrender flag and explicitly disable WR if it is
not provided.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:51:05 +00:00
Kartikaya Gupta 513bb04fa4 Bug 1558598 - Simplify the webrender flags in android_emulator_unittest.py. r=ahal
Instead of using --setenv to control WebRender being on or off, just propagate
the --enable-webrender flag to the downstream "remote" test harness. This
is more reliable than passing --setenv because not all harnesses support
the setenv flag, and it's easier to explicitly add support for --enable-webrender
to the harnesses that need it (i.e. the ones we want to run with WR enabled in
automation).

This also drops the --disable-webrender flag and asserts that lack of
enable-webrender implies WR will be disabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:56 +00:00
Kartikaya Gupta 286b1f72fd Bug 1558598 - Fix up webrender flag in desktop_unittest.py. r=ahal
Now that all the downstream test harnesses take the --enable-webrender
option and propagate it correctly, the desktop_unittest.py wrapper can
just pass it along to those harnesses.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:47 +00:00
Kartikaya Gupta 1298b01ce8 Bug 1558598 - Add ignored option for enable-webrender in jit_test harness. r=ahal
WebRender being on or off doesn't affect the JIT code, so the option is
not really useful in this harness. However, it is a downstream harness that
we'll be passing this flag to so for consistency we have it accept the
flag and silently eat it.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:43 +00:00
Kartikaya Gupta b7f611ea16 Bug 1558598 - Fix up webrender options for the firefox-ui harness. r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D35864

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:34 +00:00
Kartikaya Gupta 7cac45c075 Bug 1558598 - Fix up webrender options for the AWSY harness. r=ato
AWSY is built on marionette, so it inherits the option by default, we mostly
just need to propagate it properly. This also drops the --disable-webrender
option as it is now implied if --enable-webrender is not provided.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:30 +00:00
Kartikaya Gupta 00ecade299 Bug 1558598 - Fix the enable-webrender option for the telemetry Marionette tests. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D35862

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:27 +00:00
Kartikaya Gupta 90eea8e8e5 Bug 1558598 - Force WebRender on or off in the marionette harness. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D35861

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:23 +00:00
Kartikaya Gupta cb5d36cb8c Bug 1558598 - Force WebRender on or off in the xpcshell harness. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35860

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:20 +00:00
Kartikaya Gupta bb83950948 Bug 1558598 - Force WebRender on or off in the cppunit harness. r=ahal
Also adds it to the mach command, which is a little weird, because the
mach command doesn't expose the option but does parse it via the cpp unit
argument parser. So I just exposed it on the mach command and after that
it Just Works for mach.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:49:23 +00:00
Kartikaya Gupta ebe5ebc203 Bug 1558598 - Force WebRender on or off in the talos harness. r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D35858

--HG--
extra : moz-landing-system : lando
2019-06-29 09:49:14 +00:00
Kartikaya Gupta c3de0e7d73 Bug 1558598 - Force WebRender on or off in the raptor harness. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D35857

--HG--
extra : moz-landing-system : lando
2019-06-29 09:49:00 +00:00
Kartikaya Gupta 14cf3a5147 Bug 1558598 - Force WebRender on or off in the WPT harness. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D35856

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:53 +00:00
Kartikaya Gupta 32b53ae115 Bug 1558598 - Force WebRender on or off in the reftest harness. r=ahal
Covers both local and remote reftests.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:45 +00:00
Kartikaya Gupta d1d6261d9f Bug 1558598 - Force WebRender on or off in the mochitest harness. r=ahal
This code covers both remote mochtiests and local mochitests.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:30 +00:00
Kartikaya Gupta 711c133f6d Bug 1558598 - Force WebRender on or off in the gtest harness. r=ahal
This covers the local and remote gtests, as well as the mach command.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:16 +00:00
Kartikaya Gupta 92b3588b88 Bug 1558598 - Force WebRender on or off in the junit harness. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35850

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:02 +00:00
Csoregi Natalia 67226aab44 Backed out changeset 789bacca1219 (bug 1556818) for web platform failures on module-error-reporting.html. 2019-06-29 12:11:33 +03:00
Kagami Sascha Rosylight 29904ec6bf Bug 1454622: Remove DOMQuad bounds attribute r=bzbarsky
The bounds attribute has been deprecated and shown zero use, and thus this change removes it.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 02:27:47 +00:00
Cameron McCormack 67467a74f6 Bug 1562359 - Disable cached scrollbar styles for now. r=me 2019-06-29 12:04:42 +10:00
Kagami Sascha Rosylight 8e0f5ebfdd Bug 1560658: Add SameValueZero to mfbt/FloatingPoint.h r=jwalden
Add ES-defined SameValueZero and replace existing code.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:57:13 +00:00
Carolina 091b6fe15a Bug 1557458 - Sends certificate information to about:certificate. r=johannh,keeler
Differential Revision: https://phabricator.services.mozilla.com/D34013

--HG--
extra : moz-landing-system : lando
2019-06-28 17:27:21 +00:00
Timothy Nikkel 6bb668b85e Bug 1562159. Restore second copy of test because pref is different second time.
I forgot that we run the tests twice in this file, once with the downscale pref on and once with it off. Restore the second time for the moz-icon tests. And adjust the fuzz because it can be lower now.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 00:17:30 +00:00
Rob Wu 2b97594781 Bug 1561827 - Move pluginPrefs initialization to pluginPrefs.js r=Gijs
The plugin preference rendering logic was in PluginProvider.jsm and
was tightly coupled to the markup of the XUL about:addons page,
and therefore does not work with the HTML about:addons page.

Fix this by moving the rendering logic to pluginPrefs.js (which is
loaded by pluginPrefs.xul), and updating the browser_pluginprefs.js unit
test to ensure that the rendering works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:48:06 +00:00