637376 Commits

Author SHA1 Message Date
Masayuki Nakano
135f048bdf Bug 998941 - part 1-6: Make HTMLEditor set InputEvent.data when InputEvent.inputType is "fontName" r=smaug,m_kato
Although neither Chrome nor Safari does not set InputEvent.data value when
InputEvent.inputType is "fontName", but it's easy to implement. Therefore, this
patch implements it as declaration of Input Events.

This patch uses given value as-is.  Perhaps, this shouldn't cause any problems
because such value can be set to Element.style.fontFamily without any changes.

Note that automated test will be added into WPT later.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:30:50 +00:00
Masayuki Nakano
0d571915df Bug 998941 - part 1-5: Make HTMLEditor set InputEvent.data when InputEvent.inputType is "insertLink" r=smaug,m_kato
Although neither Chrome nor Safari does not set InputEvent.data value when
InputEvent.inputType is "insertLink", but it's easy to implement.  Therefore,
this patch implements it as declaration of Input Events.

This patch sets the value to raw href attribute value because we create
<a> element without absolute URI when web apps call execCommand("createLink")
with relative URI.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:30:12 +00:00
Masayuki Nakano
122ab2691a Bug 998941 - part 1-4: Make editor set InputEvent.data to "ltr" or "rtl" when InputEvent.inputType is "formatSetBlockTextDirection" r=smaug,m_kato
When InputEvent.inputType is "formatSetBlockTextDirection" or
"formatSetInlineTextDirection", InputEvent.data value should be one of
"ltr", "rtl", "auto" or "null".
https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
https://w3c.github.io/input-events/#dfn-data

We only supports "ltr" and "rtl" when user switches the direction with
Accel + Shift + X.  Therefore this patch makes EditorBase set the data
to "ltr" or "rtl".

Oddly, with synthesizing the shortcut keys, the command is not executed
properly in the automated test.  Therefore, this patch dispatches the
command directly.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:29:38 +00:00
Masayuki Nakano
2eaf64e594 Bug 998941 - part 1-3: Make TextEditor (only when not HTMLEditor instance) set InputEvent.data to inserting string when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
https://w3c.github.io/input-events/#dfn-data

Both Input Events Level 1 and Level 2 declare that InputEvent.data should be
set to inserting string only on TextEditor when InputEvent.inputType is
"insertFromPaste", "insertFromPasteAsQuotation", "insertFromDrop",
"insertTranspose", "insertReplacementText" or "insertFromYank".

Currently, we support only "insertFromPaste", "insertFromDrop",
"insertReplacementText".  Therefore, this patch makes TextEditor set
EditorBase::mEditActionData::mData only for them (and the instance is not
HTMLEditor's).

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:28:57 +00:00
Masayuki Nakano
a3484e40c0 Bug 998941 - part 1-2: Make editor set InputEvent.data to inserting text when it sets InputEvent.inputType to "insertText" or "insertCompositionText" r=smaug,m_kato
This patch makes nsContentUtils::DispatchInputEvent() support to set
InputEvent.data.  Whether the its value should be null or DOMString depends
on InputEvent.inputType value.

- https://rawgit.com/w3c/input-events/v1/index.html#overview
- https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
- https://w3c.github.io/input-events/#overview
- https://w3c.github.io/input-events/#dfn-data

According to the draft specs, InputEvent.data should be always inserting text
when inputType is "insertText" or "insertCompositionText" (or
"insertFromCompoition" if Level 2 support is enabled).

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:28:19 +00:00
Masayuki Nakano
0f145fc8e5 Bug 998941 - part 1-1: Implement InputEvent.data of UI Events r=smaug
InputEvent.data notifies web apps of inserting/inserted text with "beforeinput"
and "input" events.  So, this is important especially for "beforeinput" event
listeners.  That's the reason why we need to support this before implementing
"beforeinput" event.

This patch adds it into InputEvent and make it enabled by default.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:27:41 +00:00
Julian Descottes
5851f87196 Bug 1528896 - Fix about:debugging-new unavailable in local & nightly builds;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D20287

--HG--
extra : moz-landing-system : lando
2019-02-19 08:03:42 +00:00
Dão Gottwald
8eafac62d0 Bug 1522536 - Remove redundant address bar UI tests. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D20269

--HG--
extra : moz-landing-system : lando
2019-02-19 07:45:46 +00:00
Andrea Marchesini
aff51ab9f6 Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required - tests, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20201

--HG--
extra : moz-landing-system : lando
2019-02-19 07:38:44 +00:00
Andrea Marchesini
52efd15b05 Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20200

--HG--
extra : moz-landing-system : lando
2019-02-19 07:38:31 +00:00
Andrea Marchesini
47dbd397fc Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp
Differential Revision: https://phabricator.services.mozilla.com/D19823

--HG--
extra : moz-landing-system : lando
2019-02-19 07:38:03 +00:00
Daisuke Akatsuka
93905b660f Bug 1500350: Add a test for extension debug setting. r=jdescottes,ladybenko
Depends on D18199

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

--HG--
extra : moz-landing-system : lando
2019-02-19 01:18:05 +00:00
Daisuke Akatsuka
d5c0d59aa6 Bug 1500350: Disable 'Inspect' button for extension when extension debug setting was disabled. r=jdescottes,ladybenko
Depends on D18198

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

--HG--
extra : moz-landing-system : lando
2019-02-19 01:13:48 +00:00
Daisuke Akatsuka
b2664e6cb3 Bug 1500350: Re-layout for runtime controllers. r=ladybenko,jdescottes
Depends on D18196

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

--HG--
extra : moz-landing-system : lando
2019-02-19 01:12:19 +00:00
Daisuke Akatsuka
f466d60db3 Bug 1500350: Add a checkbox to enable addon debugging on this-firefox. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D18196

--HG--
extra : moz-landing-system : lando
2019-02-19 01:10:54 +00:00
Mike Hommey
e11bbe3cb1 Bug 1528149 - Enable ffvpx on artifact builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19913

--HG--
extra : moz-landing-system : lando
2019-02-19 05:48:27 +00:00
Brindusan Cristian
4110a9b524 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-19 06:41:04 +02:00
Brindusan Cristian
0709795ffe Merge inbound to mozilla-central. a=merge 2019-02-19 06:38:36 +02:00
sotaro
e7cc92c95a Bug 1516834 - Check if CopyData succeeded r=nical
When CopyData failed, an image does not have valid data. It should not be used.

Differential Revision: https://phabricator.services.mozilla.com/D19746
2019-02-19 09:12:47 +09:00
Luke Wagner
e8a5e4dfbc Bug 1520931 - Baldr: fix implicit constructor warning (r=me) 2019-02-18 17:55:43 -06:00
Luke Wagner
b820dc9fb9 Bug 1520931 - Baldr: another follow-up simplification from asm.js caching removal (r=bbouvier)
--HG--
extra : rebase_source : e379f66ed0785becfa63a17fb33ab62171545364
2019-02-18 17:12:31 -06:00
Ivan Yung
0f5eab5423 Bug 1497934 - When about:policies#active is empty, show a message. r=felipe,flod 2019-02-18 19:16:16 -03:00
Brindusan Cristian
13fc964eb3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-18 23:48:55 +02:00
Brindusan Cristian
d9c5beb04d Merge inbound to mozilla-central. a=merge 2019-02-18 23:45:23 +02:00
ffxbld
41b0c16034 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D20131

--HG--
extra : moz-landing-system : lando
2019-02-18 18:28:33 +00:00
Ms2ger
a2939933f8 Bug 1528770 - Support release_or_beta key in wpt-in-jstests; r=jgraham 2019-02-18 17:53:49 +01:00
Luca Greco
d42b2b99b3 Bug 1515817 - Check if contentWindow is a dead wrapper in the InnerWindowReference invalidate method. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D20185

--HG--
extra : moz-landing-system : lando
2019-02-18 16:23:27 +00:00
Cosmin Sabou
b7d6231a6a Merge mozilla-central to mozilla-inbound. 2019-02-18 18:00:21 +02:00
Cosmin Sabou
a625f06db9 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-18 17:52:30 +02:00
Miko Mynttinen
8c696c6f16 Bug 1526957 - Part 3: Optimize AutoBuildingDisplayList IsTransformed() check r=mattwoodrow
Depends on D19858

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

--HG--
extra : moz-landing-system : lando
2019-02-18 15:33:52 +00:00
Miko Mynttinen
f56f7c63a3 Bug 1526957 - Part 2: Exit IsAnimatedGeometryRoot() early when frame is actively scrolled or transformed r=mattwoodrow
Depends on D19857

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

--HG--
extra : moz-landing-system : lando
2019-02-18 15:32:41 +00:00
Miko Mynttinen
f42dc06545 Bug 1526957 - Part 1: Remove unused mIsAtRootOfPseudoStackingContext from nsDisplayListBuilder and AutoBuildingDisplayList r=mattwoodrow
unused

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

--HG--
extra : moz-landing-system : lando
2019-02-18 15:32:10 +00:00
Joey
3630a42947 Bug 1504339 - Use tarfile context manager in extract_tarball. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D20116

--HG--
extra : moz-landing-system : lando
2019-02-18 15:46:50 +00:00
Mark Banner
bbf3b1369f Bug 1522512 - Port most of the browser performance tests to QuantumBar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20154

--HG--
extra : moz-landing-system : lando
2019-02-18 16:12:35 +00:00
Tim Nguyen
ea9eb4d4cd Bug 1526379 - Use <vbox> instead of <box> to make the children stretch horizontally in sanitize dialogs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20089

--HG--
extra : moz-landing-system : lando
2019-02-18 16:13:03 +00:00
Mark Banner
baba946823 Bug 1522495 - Port tests in browser/components/search/ to QuantumBar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20122

--HG--
extra : moz-landing-system : lando
2019-02-18 16:08:42 +00:00
Razvan Caliman
85f1c057be Bug 1528608 - Fix Inspector tooltip typo. r=gl
Ensures the keyboard shortcut on **non-macOS platforms** is completely wrapped inside the parentheses of the tooltip label.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 15:58:59 +00:00
Mark Banner
94fd20950e Bug 1528760 - Fix issues in the setDesktopBackground dialog following the ChromeUtils.import global changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D20180

--HG--
extra : moz-landing-system : lando
2019-02-18 15:53:45 +00:00
Mark Banner
5f9fbe5d58 Bug 1522516 - Port browser_privatebrowsing_about.js to QuantumBar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20128

--HG--
extra : moz-landing-system : lando
2019-02-18 14:45:50 +00:00
Mark Banner
11fb9f6b90 Bug 1522514 - Port browser/base/content/test/popups/browser_popupUI.js to work with QuantumBar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20127

--HG--
extra : moz-landing-system : lando
2019-02-18 14:44:08 +00:00
Cosmin Sabou
d748f47c8f Merge mozilla-central to autoland. 2019-02-18 17:58:54 +02:00
Hemakshi Sachdev
238ed4f4ba Bug 1509752 - Improved visibility of non-standard HTTP codes (600-999). r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D20070

--HG--
extra : moz-landing-system : lando
2019-02-18 15:38:53 +00:00
Sylvestre Ledru
12c3ce7b33 Bug 1528486 - Fix the indentation to match the nesting level r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20064

--HG--
extra : moz-landing-system : lando
2019-02-18 14:55:34 +00:00
championshuttler
244faba60f Bug 1521928 - Changing addObserver to removeObserver. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20097

--HG--
extra : moz-landing-system : lando
2019-02-18 13:55:06 +00:00
Nicolas Chevobbe
d1e9d70e11 Bug 1526987 - Remove Immutable usage in NotificationBox.js ;r=Honza.
Immutable takes noticable amount of time to be loaded,
and we have very little use of it.
Removing it will help with the load time (especially
for the console).

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

--HG--
extra : moz-landing-system : lando
2019-02-18 13:30:01 +00:00
Paolo Amadini
a8a53fe9a5 Bug 1527197 - Fix background images in RTL mode in the new "about:config" page. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D20135

--HG--
extra : rebase_source : 598e0477056700d61054fee976050abee0c0edd0
2019-02-18 10:21:28 +00:00
sotaro
ba95495155 Bug 1527556 - Change MAX_DISPLAY_CONNECTIONS to 3 r=stransky
nsWaylandDisplay needs to be allocated for each calling thread(main thread, compositor thread and render thread)

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:15:30 +00:00
Marco Zehe
7f72d56975 Bug 1303429 - expose placeholder object attribute for HTML placeholder, r=Jamie
The appropriate case is when placeholder is not used as the absolutely last fallback for the accessible name, and the input is not labeled by the same text as in the placeholder attribute itself. So a label and the placeholder text must be different for the object attribute to be exposed.

In addition, for ATK, placeholder is being renamed to placeholder-text to comply with the platform specification.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:21:32 +00:00
pradeepgangwar
d2e475753a Bug 1350740- Make [Learn More] Link of console message unselectable; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D17494

--HG--
extra : moz-landing-system : lando
2019-02-18 09:53:09 +00:00
Alex Henrie
7afb5aaf34 Bug 1521425 - Round up when inflating mRect of SVG text. r=longsonr 2019-02-17 22:27:56 -07:00