675487 Commits

Author SHA1 Message Date
Frederic Wang
d7e6c31b00 Bug 1587572 - Remove support for the mfrac@bevelled attribute. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/9pEvlYn-Xyw

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:41:06 +00:00
Bogdan Tara
3f1e57d343 Backed out changeset cbafd2e6cf53 (bug 1587809) for browser_asrouter_cfr.js failures CLOSED TREE 2019-10-17 13:31:33 +03:00
Bogdan Tara
cef8adf998 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-10-17 13:26:28 +03:00
Simon Giesecke
ed63d87f12 Bug 1168606 - Fix code generation issue on Mac OS X. r=acreskey,ttung
As reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1168606#c110,
some Mac OS X release build crashes with the original code, probably due
to some temporary string being destroyed prematurely. Assigning to a
named variable reportedly solves the issue.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:55:03 +00:00
Csoregi Natalia
ebe492edac Merge autoland to mozilla-central. a=merge 2019-10-17 12:34:15 +03:00
Andreas Pehrson
e260591a8d Bug 1589029 - Use distinct ShutdownBlockers in MediaRecorder. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D49417

--HG--
extra : moz-landing-system : lando
2019-10-17 09:31:21 +00:00
Andreas Pehrson
c8ebc1f3f9 Bug 1586903 - Wait for track listener removals rather than just informing them of shutdown. r=bryce
This does a bit of a cleanup, where changing the notification to waiting for
removal is the major task. It also removes the special handling of not informing
listeners of shutdown on Cancel(), and a bit of cleanup around MozPromise usage.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:31:07 +00:00
James Teh
8df4803118 Bug 1587809: Give the CFR address bar button a more descriptive tooltip/a11y label. Announce its appearance to screen reader users. r=andreio,fluent-reviewers,flod
1. Previously, the label and tooltip for all recommendations was just "Recommendation", even though the icon was different for extension and feature recommendations.
  Because users might not be able to see the icon and/or determine its meaning, it is important that this is communicated in the tooltip and a11y label.
2. Screen reader users won't know this has appeared, even though this attracts some attention visually.
  Therefore, provide a specific announcement for screen reader users when the recommendation appears.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:27:12 +00:00
Masayuki Nakano
abdf9727f5 Bug 1582215 - Make HTMLEditor::DoInsertHTMLWithContext() compute new insertion point before removing unnecessary <li> elements r=m_kato
When inserting `<li>` elements into `<ul>`, `<ol>` or `<li>` element,
`HTMLEditor::DoInsertHTMLWithContext()` removes unnecessary empty `<li>`
elements at insertion point.  At this time, we've computed next insertion
point with removed `<li>` element.  Therefore, insertion point goes out
from the DOM tree.  This patch makes it compute new insertion point before
removing each empty `<li>` element.

Additionally, this patch adds some WPT data for testing this case.  I verified
that Chrome passes the new tests too.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:17:14 +00:00
Dão Gottwald
97dc13cb94 Bug 1586889 - Stop re-initializing the urlbar when exiting customize mode. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49405

--HG--
extra : moz-landing-system : lando
2019-10-17 09:03:12 +00:00
Julian Descottes
459b71deed Bug 1589087 - Update regular expression used in ADB to extract Fenix version r=ladybenko
The format of the Fenix versionName on Nightly no longer matches our regular expression.
Updating the regular expression to accommodate both versions such as "2.1.0" and "Nightly 191016 06:01"

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:08:44 +00:00
Sebastian Hengst
980ba2bfa5 No bug - fix a comment typo. CLOSED TREE
--HG--
extra : rebase_source : 34090c21576d5244dd000103b442be87c552bbca
extra : amend_source : 05b5993ca400c072b516b5aa8233228cc1a5f9e5
2019-10-17 10:05:59 +02:00
Bogdan Tara
7e9efc5de3 Backed out changeset 29bc3ebe8b4e (bug 1588997) for browser_ext_devtools_panels_elements_sidebar.js && browser_ext_find.js failures CLOSED TREE
--HG--
rename : devtools/shared/fronts/environment.js => devtools/shared/client/environment-client.js
rename : devtools/shared/fronts/property-iterator.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/fronts/symbol-iterator.js => devtools/shared/client/symbol-iterator-client.js
2019-10-17 10:51:19 +03:00
shindli
99ded94f39 Merge autoland to mozilla-central. a=merge 2019-10-17 06:44:40 +03:00
Emilio Cobos Álvarez
6752dad196 Bug 1548718 - Support multiple parts in ::part() selectors. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D48753

--HG--
extra : moz-landing-system : lando
2019-10-17 00:51:54 +00:00
shindli
94176e4dce Merge autoland to mozilla-central. a=merge 2019-10-17 00:28:26 +03:00
Marian Raiciof
3825075bc6 Bug 1567122 - Enable Fission for AWSY. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D48660

--HG--
extra : moz-landing-system : lando
2019-10-16 21:14:33 +00:00
Cosmin Sabou
4b16a3e0e9 Merge autoland to mozilla-central. a=merge 2019-10-16 19:40:13 +03:00
Gijs Kruitbosch
738962d0bf Bug 1586148 - fix web protocol handler behaviour under fission, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48238

--HG--
extra : moz-landing-system : lando
2019-10-16 14:56:23 +00:00
alessandro
378c81687d Bug 1541411 - Enforce Title Case on labels across panels. r=fvsch
Enforced Title Case on all the labels listed in the bug description for all panels except the Debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 11:15:00 +00:00
Cosmin Sabou
e37b7b8834 Backed out changeset 972db326c375 (bug 1587570) for causing wr failures on subsup-legacy-scriptshift-attributes-001.tentative.html 2019-10-16 14:19:24 +03:00
Cosmin Sabou
4c99a834d0 Backed out 19 changesets (bug 1288457) for causing build bbustages on CommonFunctions.h. CLOSED TREE
Backed out changeset e350706464ea (bug 1288457)
Backed out changeset ee723359cd0a (bug 1288457)
Backed out changeset d8176a4b1984 (bug 1288457)
Backed out changeset eafdeb4aaa02 (bug 1288457)
Backed out changeset 8f4cb4f8495c (bug 1288457)
Backed out changeset c13ce7a93ce9 (bug 1288457)
Backed out changeset 82e03558dc9f (bug 1288457)
Backed out changeset 226c1017cdbd (bug 1288457)
Backed out changeset 19625261f55a (bug 1288457)
Backed out changeset c743e9d10ae5 (bug 1288457)
Backed out changeset 13369226eaca (bug 1288457)
Backed out changeset e1a4db22bcb9 (bug 1288457)
Backed out changeset fe1512265c07 (bug 1288457)
Backed out changeset 79af8c3fa894 (bug 1288457)
Backed out changeset 310181e1596b (bug 1288457)
Backed out changeset 4ab734bad124 (bug 1288457)
Backed out changeset 97551047921f (bug 1288457)
Backed out changeset d8b0d1db18b8 (bug 1288457)
Backed out changeset cb587dae4080 (bug 1288457)
2019-10-16 13:36:37 +03:00
arthur.iakab
97976753a2 Merge autoland to mozilla-central. a=merge 2019-10-16 12:52:16 +03:00
sotaro
25f26b36da Bug 1588987 - Do not trigger WR rendering during paused state r=nical
Differential Revision: https://phabricator.services.mozilla.com/D49379

--HG--
extra : moz-landing-system : lando
2019-10-16 09:10:30 +00:00
André Bargull
496a27b941 Bug 1288457 - Part 19: Add test case. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42889

--HG--
extra : moz-landing-system : lando
2019-10-16 09:56:00 +00:00
DimiDL
39ce8c862e Bug 1584931 - Replace ContentTask.spawn with SpecialPowers.spawn for flash blocking testcases. r=gcp
To make us pass flash blocking testcases when fission is enabled, we should use
SpecialPowers.spawn instead of ContentTask.spawn because the iframes in the testcases
may be cross-origin iframes.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:38:34 +00:00
Tim Nguyen
b9f098544d Bug 1589188 - Reintroduce '.textbox-contextmenu:-moz-locale-dir(rtl)' rule. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D49493

--HG--
extra : moz-landing-system : lando
2019-10-16 22:12:42 +00:00
jaril
e1c2cd6db5 Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-16 17:09:35 +00:00
David Walsh
34cd114993 Bug 1576145 - Show DOM nodes in for DOM Mutation Breakpoints in WhyPaused block r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D45248

--HG--
extra : moz-landing-system : lando
2019-10-17 02:04:45 +00:00
Daisuke Akatsuka
1cfc17bb27 Bug 1588961: Add a test for the event that the selected node is changed. r=rcaliman
Depends on D49377

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

--HG--
extra : moz-landing-system : lando
2019-10-17 01:30:56 +00:00
Daisuke Akatsuka
0e91f94568 Bug 1588961: Update the content when the selected node is changed. r=rcaliman
Depends on D49256

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

--HG--
extra : moz-landing-system : lando
2019-10-16 14:34:26 +00:00
Miriam
b43fd031d9 Bug 1582304: Ensure you can add a watchpoint to property within a bucket, prototype, or default properties.
Differential Revision: https://phabricator.services.mozilla.com/D49496

--HG--
extra : moz-landing-system : lando
2019-10-17 00:45:31 +00:00
Cosmin Sabou
cd700ecb2f Merge mozilla-inbound to mozilla-central. a=merge 2019-10-16 08:22:56 +03:00
Nicolas Chevobbe
3469d5121d Bug 1587839 - Pass the sourceId to sourcemap service subscribe callback. r=loganfsmyth.
The sourceId is then used in the various places where we call the sourcemap service.
A test is added in the console to make sure that we do navigate to the mapped
location in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:16:55 +00:00
Brad Werth
0b6d9f7d9c Bug 1588167: Make UrlbarView._getFirstSelectableElement handle having no children at time of call. r=adw
This avoids a JS error when the tab has been removed before this function
has a chance to run.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 01:14:30 +00:00
James Teh
cb2f077062 Bug 1577381: Correct accessibility exposure for optgroups in content select dropdowns. r=eeejay,NeilDeakin
For remote content documents, select dropdowns (for <select size="1">) are rendered in the parent process using a XUL menupopup.
This means that the accessibility code for HTML selects doesn't apply.

In the menupopup, the optgroup is a sibling of its contained options.
For accessibility, we want to preserve the hierarchy such that the options are inside the optgroup.
We do this using aria-owns on the optgroup item.

This required some tweaks to XULMenuitemAccessible, as it couldn't previously handle grouping Accessibles between the menupopup and its items.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 06:10:32 +00:00
Jared Wein
120f88629a Bug 1572695 - Select the newly added login if it is added when there are no other logins present and we're not in the Create mode. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49343

--HG--
extra : moz-landing-system : lando
2019-10-15 21:34:19 +00:00
Jean-Yves Avenard
03c17f1738 Bug 1413750 - Handle shift by 32 bits. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D49226

--HG--
extra : moz-landing-system : lando
2019-10-15 20:18:08 +00:00
Cosmin Sabou
76d4c77ef9 Backed out changeset 71d5a7f29d05 (bug 1586396) for breaking the wpts. CLOSED TREE 2019-10-16 08:12:32 +03:00
J.C. Jones
962e9e53a9 Backed out changeset 3eb63c112f5a (Bug 1577822) for breaking WebAuthn mochitests UPGRADE_NSS_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D49374

--HG--
extra : moz-landing-system : lando
2019-10-16 04:36:58 +00:00
Dzmitry Malyshau
e3328f020c Bug 1586396 - Formatting fixes in WebGPUThreading
follow-up to D48229

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

--HG--
extra : moz-landing-system : lando
2019-10-16 02:53:07 +00:00
Dzmitry Malyshau
f072f15267 Bug 1586396 - Add WebGPUThreading mock r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D48229

--HG--
extra : moz-landing-system : lando
2019-10-15 21:57:37 +00:00
Daisuke Akatsuka
38f4dd72f0 Bug 1587690: Add jest tests for components. r=ladybenko
Depends on D48950

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

--HG--
extra : moz-landing-system : lando
2019-10-16 01:32:48 +00:00
Dragana Damjanovic
f300e9d596 Bug 1587226 - Make HTTP_CHANNEL_ONSTART_SUCCESS available on release channel.r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48967

--HG--
extra : moz-landing-system : lando
2019-10-15 19:27:28 +00:00
Jeff Gilbert
6c3e1d29c0 Bug 1586423 - Revert bug 1470568 for breaking Google Meet, etc. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D49364

--HG--
extra : moz-landing-system : lando
2019-10-16 16:40:19 +00:00
Henrik Skupin
513521f536 Bug 1585272 - [remote] Register ChannelEventSinkFactory only once, and allow for multiple client connections. r=remote-protocol-reviewers,maja_zf
To allow for multiple client connections the ChannelEventSinkFactory
class only has to be registered once. By reference counting consumers
of this factory it can be made sure to only unregister it once no
consumers of the factory exist anymore.

With this refactoring we basically allow multiple client connections
to our CDP implementation.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 20:23:05 +00:00
Henrik Skupin
3dce432d4f Bug 1563746 - [remote] Implement Page.captureScreenshot. r=remote-protocol-reviewers,maja_zf,ato
Differential Revision: https://phabricator.services.mozilla.com/D49203

--HG--
extra : moz-landing-system : lando
2019-10-16 19:36:56 +00:00
David Major
2bf032d442 Bug 1468131 - Avoid a ubsan complaint in GetTrimmableWhitespaceCount r=emilio
ubsan was complaining about the expression
```
    const char* str = aFrag->Get1b() + aStartOffset;
```
when `aFrag->Get1b() == nullptr` and `aStartOffset == -1`, because the addition generates an invalid pointer.

Due to other logic in the function, we would never dereference that pointer, so it was reasonably harmless, but this patch silences the complaint.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:59:51 +00:00
Mark Banner
dcfbcb56d7 Bug 1588872 - Enable ESLint rule mozilla/prefer-boolean-length-check by default, disable for failing locations. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D49437

--HG--
extra : moz-landing-system : lando
2019-10-16 20:11:31 +00:00
Harry Twyford
e928de6825 Bug 1589169 - Stop calling _addTextContentWithHighlights for the tip text. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49468

--HG--
extra : moz-landing-system : lando
2019-10-16 20:00:16 +00:00