Commit Graph

646777 Commits

Author SHA1 Message Date
Andreas Pehrson
ed4e666edf Bug 1541298 - Implement an async shutdown blocker for SpeechRecognition. r=jib
This will let us clear the SpeechTrackListener's ref-cycle and avoid leaking.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 11:38:36 +00:00
Andreas Pehrson
5e3f41a348 Bug 1541298 - Cycle collect what we can in SpeechRecognition. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D26723

--HG--
extra : moz-landing-system : lando
2019-04-12 11:35:06 +00:00
Makoto Kato
e6c2e7bc87 Bug 1543585 - Clean up finding words for spellchecker. r=masayuki
`mozSpellChecker::Replace` and `mozSpellChecker::NextMisspelledWord` have a loop
to find word from text content. But `mozEnglishWordUtils::FindNextWord` always
returns `NS_OK` and some code doesn't check error even if `nsresult` local
variable is used.

So I would like to clean up this loop.

- `mozEnglishWordUtils::FindNextWord` should return true if word is found
- We should use reference type for some `TextServicesDocument`'s methods.
- Add more check for error

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

--HG--
extra : moz-landing-system : lando
2019-04-12 03:54:18 +00:00
Jan de Mooij
959b87ac8f Bug 1543055 - Fix AllocationSiteKey hashing to not have quadratic behavior when many scripts share bytecode. r=jonco
This also uses HashGeneric/AddToHash instead of manual XOR'ing.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:54:08 +00:00
Jan de Mooij
71fdc104a8 Bug 1541404 part 10 - Fix TypeMonitorResult to check for TypeScript instead of BaselineScript. r=tcampbell
The BaselineScript used to contain the bytecode type map but that's now stored
in TypeScript.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 13:22:10 +00:00
Jan de Mooij
c4b528b6f1 Bug 1541404 part 9 - Implement JSOP_DOUBLE in BaselineInterpreterCodeGen. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D27034

--HG--
extra : moz-landing-system : lando
2019-04-11 13:22:08 +00:00
Glenn Watson
6348da8082 Bug 1543844 - Fix incorrect max scale detection in WR border rendering. r=emilio
The local rect for border segments is not solely determined by
the widths and/or radius. Instead of determining the max scale
based on those parameters, use the calculated border segment
rects to determine an appropriate max scale factor.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 09:58:24 +00:00
Jan de Mooij
fa6b2a70f8 Bug 1543592 part 2 - Make JSOP_AFTERYIELD a jump target op. r=tcampbell
This will help the Baseline interpreter restore its interpreterICEntry field
without calling into C++.

Depends on D27032

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

--HG--
extra : moz-landing-system : lando
2019-04-11 16:50:47 +00:00
Jan de Mooij
f0e1533406 Bug 1543592 part 1 - Rename JSOP_DEBUGAFTERYIELD to JSOP_AFTERYIELD. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D27032

--HG--
extra : moz-landing-system : lando
2019-04-12 10:20:12 +00:00
Razvan Caliman
da3aba33df Bug 1543045 - Break strings for long CSS property names and values. r=gl
Introduce `overflow-wrap: break-word` to CSS declarations in Rules view and Changes panel to prevent long strings from causing unwanted horizontal scroll

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:58:09 +00:00
Emilio Cobos Álvarez
2986dda85d Bug 1543762 - Flush less in cross-document getComputedStyle situations. r=heycam
I wrote this while looking at bug 1537903, but actually it doesn't help there,
since all the extra time is spent actually computing styles.

I think this is still worth landing it though.

The reasoning for not caring of this case is that we mint an style anyway out of
the blue anyway. There's no point in restyling the whole document.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 10:04:33 +00:00
Emilio Cobos Álvarez
f9a2ae6278 Bug 1543398 - Don't pass unknown descriptors to Servo. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D26914

--HG--
extra : moz-landing-system : lando
2019-04-12 05:08:18 +00:00
Mirko Brodesser
ed491dbad1 Bug 1374045: add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method r=smaug
- Remove expectation that 'preventScroll.html' fails.

- Use '[NoInterfaceObject] interface' workaround to simulate missing 'mixin' support.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:16:47 +00:00
Gijs Kruitbosch
851325cbfe Bug 1543493 - ensure DOM localization in XUL docs can localize content that includes an <image>, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26989

--HG--
extra : moz-landing-system : lando
2019-04-12 00:47:15 +00:00
Yoshi Cheng-Hao Huang
f9091c5b4b Bug 1542980 - fixed js shell compilation error. r=jonco
This is from Bug 1534967, and the code is wrapped with compiler option
`JS_MORE_DETERMINISTIC`, which is only enabled through
'--enable-more-deterministic' in shell configure.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:58:42 +00:00
Julian Descottes
cc0dfb6948 Bug 1532993 - Accept extra renders of WaterfallView in old perf panel test;r=julienw
Depends on D26920

See Bug 1532993#c12 for the analysis. The extra rendering is due to a window resize that
seems to always happen on ASAN but not on other platforms.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:35:02 +00:00
Julian Descottes
6540f8411f Bug 1532993 - Add test for perfomance panel when devtools are in frame type=content r=ochameau
Depends on D26919

This test also needs the fixes from Bug 1538731

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:34:13 +00:00
Julian Descottes
b57cba3581 Bug 1532993 - Use DOMHelpers to wait for iframe load in widgets/Graphs.js;r=ochameau
Depends on D26900
Fixes the blank chart and load issues for the old perf panel in about:devtools-toolbox (or type=content)

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

--HG--
extra : moz-landing-system : lando
2019-04-12 07:33:48 +00:00
Martin Stransky
32886489bf Bug 1535893 - Use SharedGL in RenderCompositorEGL on wayland, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D26800

--HG--
extra : moz-landing-system : lando
2019-04-12 08:08:03 +00:00
Florens Verschelde
e248e2626b Bug 1543348 - Create generic button background variables; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D26880

--HG--
extra : moz-landing-system : lando
2019-04-11 16:23:47 +00:00
Andrea Marchesini
a4a901bb22 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-12 05:29:09 +00:00
Andrea Marchesini
f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini
ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini
a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini
3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Andrea Marchesini
95eef322cb Bug 1536411 - StoragePrincipal - part 4 - BroadcastChannel, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24028

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:05 +00:00
Andrea Marchesini
bd74d6c75d Bug 1536411 - StoragePrincipal - part 3 - IDBFactory, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24027

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:13 +00:00
Andrea Marchesini
79ac7cee82 Bug 1536411 - StoragePrincipal - part 2 - Worker and StoragePrincipal, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24026

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:25 +00:00
Andrea Marchesini
a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Andrea Marchesini
57535d8c79 Bug 1536411 - StoragePrincipal - part 0 - WorkerPrivate::StorageAccess, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24024

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:40 +00:00
Andrea Marchesini
f694e77c24 Bug 1543898 - SharedWorker must release the MessagePortIdentifier if the creation fails, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D27230

--HG--
extra : moz-landing-system : lando
2019-04-12 08:02:29 +00:00
Marco Bonardo
d168e355cf Bug 1543694 - Prevent content from adding place flavors to a DataTransfer. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D27121

--HG--
extra : moz-landing-system : lando
2019-04-11 17:12:06 +00:00
Marco Bonardo
68753b643a Bug 1543617 - Disallow place: urls in text flavors. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27048

--HG--
extra : moz-landing-system : lando
2019-04-11 14:31:03 +00:00
Gabriele Svelto
94d70e0739 Bug 1538810 - Updated breakpad's curl and musl headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26489

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:25 +00:00
Gabriele Svelto
430b96c517 Bug 1538810 - Update breakpad to upstream revision 4d550cceca107f36c4bc1ea1126b7d32cc50f424 r=froydnj
This includes improvements to the Linux exception handler that will provide
crash addresse for a number of signals by reading the NT_SIGINFO structure and
quites warnings in a number of files. This also removes an unused header.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:24 +00:00
Liang-Heng Chen
2cb34bb8bf Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D26720

--HG--
extra : moz-landing-system : lando
2019-04-12 00:38:57 +00:00
Mike Hommey
96c3246049 Bug 1543895 - Move test-platform keying of fetches in tests to individual fetch types. r=tomprince
So, instead of fetches['by-test-platform']['fetch'], we have
fetches['fetch']['by-test-platform'].

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

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:03 +00:00
Kershaw Chang
d6000c3224 Bug 1541114 - Check mIPCOpen before sending messages r=mayhemer
To avoid sending ipc messages after the ipc channel is closed, check |mIPCOpen| before sending messages.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 05:04:22 +00:00
Cosmin Sabou
c64f16b342 Backed out 3 changesets (bug 1538279) for mass test failures. CLOSED TREE
Backed out changeset af07f58d18cc (bug 1538279)
Backed out changeset 508ee4cf9ea2 (bug 1538279)
Backed out changeset 6f2e7c819c11 (bug 1538279)
2019-04-12 07:47:53 +03:00
Daosheng Mu
0e6aee236e Bug 1537967 - Skipping running refresh driver and compositing in VR mode. r=mstange,kip
MozReview-Commit-ID: 4L3PygFSFCB

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

--HG--
extra : moz-landing-system : lando
2019-04-12 04:42:28 +00:00
Cosmin Sabou
3e6ef756b6 Merge mozilla-central to autoland. 2019-04-12 06:48:11 +03:00
Cosmin Sabou
90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Chris Pearce
8a1a29f279 Bug 1543669 - Disable test_isTypeSupported on android_version >= 28. r=jya
Disable test_isTypeSupported on android version >= 28 (Android 9.0) since our
infra there doesn't support cross origins there, at least until bug 1335740
is resolved.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 03:32:39 +00:00
Doug Thayer
8f38b6246d Bug 1538279 - Use CreateFileMapping with SEC_IMAGE to prefetch Windows DLLs r=aklotz
Our old approach was reading this into a region of unexecutable memory,
meaning when we actually loaded the library it needed to be loaded into
executable memory. This fixes that. I suspect that any gains we were
seeing previously were due to hardware effects.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:18:34 +00:00
Doug Thayer
13a4a8518f Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:48 +00:00
Doug Thayer
358b289ecc Bug 1538279 - Extract nsZipArchive's madvise and similar to a helper r=glandium,froydnj
This is just to make it simpler to use PrefetchVirtualMemory in subsequent patches.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:18 +00:00
Mike Hommey
492bd126b6 Bug 1543555 - Stop using our linker to resolve libc/libm symbols when not strictly necessary. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27019

--HG--
extra : moz-landing-system : lando
2019-04-12 02:12:31 +00:00
Masayuki Nakano
349901dac4 Bug 1539110 - Make HTMLEditor::RemoveStyleInside() and HTMLEditor::SplitStyleAbovePoint() check tag names with whitelist r=m_kato
`document.execCommand("removeformat")` removes any elements in the range which
are editable, not `<a>`, not block and a container.
https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/editor/libeditor/HTMLStyleEditor.cpp#760-763

This means that it removes hidden elements like `<script>` and `<style>`,
or non-HTML elements like SVG elements.  However, the unofficial document
of `execCommand()` lists up elements which should be handled by the command.
https://w3c.github.io/editing/execCommand.html#removeformat-candidate

Additionally, Chrome respects this list since not including `<del>` element
into the list does not make sense but Chrome ignores it.  So, we should
respect the list.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 01:17:50 +00:00
Cosmin Sabou
4fb59e83f6 Bug 1543826 - Remove duplication of key "linux64-ccov/.*" in mapping to fix yaml failure. 2019-04-12 03:01:29 +03:00
Byron Campen [:bwc]
3c9d0f0891 Bug 1540752: Clean up cruft left in here by Web Platform Test Sync Bot. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D26363

--HG--
extra : moz-landing-system : lando
2019-04-11 23:41:38 +00:00