Commit Graph

662656 Commits

Author SHA1 Message Date
Andreas Tolfsen
c757d8208f bug 1569140: webdriver: lint; r=webdriver-reviewers,automatedtester
Bug 1568889 enabled the rustfmt lint checks in continuous integration,
and while they did not cause any errors, this is a follow-up patch
to fix the non-fatal warnings.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 12:00:31 +00:00
Andreas Tolfsen
2ce9924f6c bug 1569143: mozrunner: lint; r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D39487

--HG--
extra : moz-landing-system : lando
2019-07-26 12:03:22 +00:00
Andreas Tolfsen
ac034168fc bug 1569143: mozprofile: lint; r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D39486

--HG--
extra : moz-landing-system : lando
2019-07-26 12:01:09 +00:00
Timothy Nikkel
674fb7f25d Bug 1565922. When the document viewer loses it prescontext pointer we need to make sure that any potential subdocument display items get rebuilt. r=mattwoodrow
If the subdocument display item gets created when the subdocument doesn't have a root frame it'll be based on the subdocument frame in the parent document. This means that the prescontext pointer on the document viewer of the subdocument can go away without the subdocument display item getting any kind of invalidation. So we make sure the subdocument display item gets rebuilt if that happens. The reason the prescontext pointer is important is that is what nsSubDocumentFrame::GetSubdocumentPresShellForPainting uses (via nsDocShell::GetPresShell) to get the subdocument presshell. So it will fail to get a presshell and RetainedDisplayListBuilder::IncrementSubDocPresShellPaintCount will crash.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:56:14 +00:00
Gurzau Raul
8611828ac4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-29 13:06:31 +03:00
Bogdan Tara
7658261678 Backed out changeset 9bed62de3d16 (bug 1267643) for browser_urlbar_speculative_connect_not_with_client_cert.js failures CLOSED TREE 2019-07-29 13:02:17 +03:00
Gurzau Raul
1eb05019f4 Merge inbound to mozilla-central. a=merge 2019-07-29 12:53:35 +03:00
Ed Lee
f7d0d30b65 Bug 1569306 - Add trailhead cards, accessibile headers and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39561

--HG--
extra : moz-landing-system : lando
2019-07-29 06:55:43 +00:00
Tim Nguyen
9f3d5c1f94 Bug 1569435 - Fix background color of content type in download dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39611

--HG--
extra : moz-landing-system : lando
2019-07-29 01:41:56 +00:00
Bogdan Tara
dfedc5dd8a Backed out changeset 2cb4cc20ea9d (bug 1569306) for gecko decision bustage CLOSED TREE 2019-07-29 09:46:16 +03:00
Ed Lee
97c5d52826 Bug 1569306 - Add trailhead cards, accessibile headers and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39561

--HG--
extra : moz-landing-system : lando
2019-07-29 06:30:12 +00:00
Masayuki Nakano
277978e418 Bug 1560032 - part 3: Make EventStateManager allow to drag password if copying selected password is allowed r=smaug
If copying selected password is allowed by `TextEditor`, we should allow to
drag it too because web apps usually request to input new password twice,
but if users used password generator, they may want to use drag and drop the
new password rather than copy and paste.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 06:21:59 +00:00
Masayuki Nakano
fafe168f04 Bug 1560032 - part 2: Make cut/copy in password field available r=m_kato,smaug
First, we need to make `nsCopySupport::FireClipboardEvent()` keep handling
`eCopy` and `eCut` event even in password field, only if `TextEditor` allows
them.

Then, we need to make `nsPlainTextSerializer::AppendText()` not expose
masked password for making users safer.  Although `TextEditor` does not allow
`eCopy` nor `eCut` when selection is not in unmasked range.  Fortunately,
retrieving masked and unmasked password from `nsTextFragment` has already
been implemented in `ContentEventHandler.cpp`.  This patch moves it into
`EditorUtils` and makes `ContentEventHandler.cpp` and `nsPlaintextSerializer`
share it.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 06:21:42 +00:00
Masayuki Nakano
ffbb14909f Bug 1560032 - part 1: Make TextEditor for password allow to copy password when selected range is in unmasked range r=m_kato
It does not make sense to copy masked password with mask characters.
Therefore, we should allow users to copy/cut in password fields only when
selected range is in unmasked range.

Note that for web-compat, copy/cut are always enabled in HTML/XHTML document
in content.  Therefore this patch changes the behavior only in chrome's
password fields.

Additionally, only the test uses `nsIEditor.canDelete()`.  Therefore, this
removes it and make the test use `nsIDocShell.isCommandEnabled()` instead.
Unfortunately, `nsIEditor.canCopy()` and `nsIEditor.canCut()` are used by
BlueGriffon, therefore, we cannot get rid of them for now.

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

--HG--
rename : editor/libeditor/tests/test_bug1067255.html => editor/libeditor/tests/test_cut_copy_delete_command_enabled.html
extra : moz-landing-system : lando
2019-07-29 06:21:14 +00:00
Tim Nguyen
b4a8eaf9e1 Bug 1569328 - Update sort select styling to be closer to the spec. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39569

--HG--
extra : moz-landing-system : lando
2019-07-28 14:19:26 +00:00
Tim Nguyen
1bde67c90d Bug 1569338 - Make login-item rows closer to the spec. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39573

--HG--
extra : moz-landing-system : lando
2019-07-29 06:14:39 +00:00
Bogdan Tara
05b45758c3 Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
André Bargull
db7b8bab49 Bug 1568175: Directly store result of 'available-locales' function in args.rval(). r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D38996

--HG--
extra : moz-landing-system : lando
2019-07-26 18:40:19 +00:00
André Bargull
1c6519d900 Bug 1433303 - Part 5: Reimport test262 for Intl.Locale tests. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38878

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:57 +00:00
André Bargull
a47b9f2a26 Bug 1433303 - Part 4: Enable test2626 tests for Intl.Locale proposal. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38877

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:37 +00:00
André Bargull
78e220fcb5 Bug 1433303 - Part 3: Tests for Intl.Locale proposal. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38876

--HG--
extra : moz-landing-system : lando
2019-07-29 09:27:11 +00:00
André Bargull
958926a675 Bug 1433303 - Part 2: Add Intl.Locale minimize() and maximize() functions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38875

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:55 +00:00
André Bargull
2684e5023e Bug 1433303 - Part 1: Implement Intl.Locale proposal. r=jwalden
Intl.Locale.m{ax,in}imize() are implemented in part 2.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:35:53 +00:00
Paul Zuehlcke
15afab0390 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-29 08:37:55 +00:00
Alexandre Poirot
741e60d13d Bug 1566421 - Ensure that actions.updateRequest resolves only once the action is processed. r=nchevobbe
The code callng action.updateRequest, in FirefoxDataProvider, expects the updateRequest action
to be processed once the returned promise is resolved. Otherwise it may spawn
duplicated requestData requests.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:18:14 +00:00
Makoto Kato
44c1524bcd Bug 1568455 - Detect Android NDK on Windows. r=nalexander
Toolchain path for Windows version is `<NDK ROOT>/toolchains/llvm/prebuilt/windows-x86_64` etc, so it isn't '`winnt`.
So we has to replace `host.kernel.lower()` with `windows`.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 15:54:07 +00:00
Paul Bone
c21b40d483 Bug 1569163 - Call Mutex::Shutdown() before leaving BufferStreamMain r=luke
Differential Revision: https://phabricator.services.mozilla.com/D39493

--HG--
extra : moz-landing-system : lando
2019-07-29 04:45:53 +00:00
Boris Chiou
5c36bd1e41 Bug 1568370 - Fix the alignment of offset-anchor with offset-path. r=jwatt
When we use SVG layout, and transform-box is fill-box, the current
implementation makes the object not align with offset-path because there
may be an offset (SVG x and y values) between the anchor point and offset-path.
We have to tweak the anchor point to fix the alignment.

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-002.html
extra : moz-landing-system : lando
2019-07-27 16:18:53 +00:00
Boris Chiou
df9aa05d06 Bug 1291187 - Add tests for testing the computed values of flex-basis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39558

--HG--
extra : moz-landing-system : lando
2019-07-29 04:19:13 +00:00
Makoto Kato
9285dad516 Bug 1545393 - Remove layout.reflow.synthMouseMove setting from GeckoView r=geckoview-reviewers,agi
`layout.reflow.synthMouseMove` was added by Fennec/Maemo era (bug 657844) since this was low-end device. Since `layout.reflow.synthMouseMove` is false even if now, sampling rate of GeckoView's mouse event is still very sparse.

Since today is 2019, so we should change this to match sampling rate of mouse event with desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:59:08 +00:00
Daisuke Akatsuka
0933ac4c24 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 02:29:44 +00:00
Tom Tung
f3eb98601f Bug 1563299 - Update the mAbortCode if the IDBTransaction has been aborted yet to correct the IDB_LOG; r=asuth
IDBTransaction generates IDB_LOG base on the mAbortCode, but it fires event
according to the argument "aResult" of FireCompleteOrAbortEvents(). It's
possible to have a situation that IDBTransaction hasn't been aborted yet, but
the transaction on the parent process is aborted and propagate the reason to
IDBTransaction. In this case, IDBTransaction would still fire an abort event as
expected. However, the IDB_LOG would show that it fired a complete event.

Therefore, this patch corrects the behavior and adds an assertion to ensure it's
only possible that parent process tells child process to abort at the last
minate rather than the case of parent is canceling the abort.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 13:29:04 +00:00
Yaron Tausky
f33a502eb3 Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell
This commit adds the text of the spec as inline comments and refactors
the code such that it directly corresponds to the spec's steps. This
makes it easier to understand how the spec's algorithm is implemented.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:05:44 +00:00
georgeroman
ccc3d023a4 Bug 1569466 - Implement Deserialize for ErrorStatus. r=ato
Implement Deserialize for ErrorStatus

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:35:15 +00:00
Bogdan Tara
719acf006d Backed out changeset ba6240f6bc90 (bug 1525373) for speedometer timeouts 2019-07-29 12:32:55 +03:00
Nicolas Chevobbe
88c894d090 Bug 1567832 - Retrieve fission pref and use it in console classes. r=yulia.
We retrieve the preference in the hudservice, where
WebConsoles and BrowserConsoles are created from.
If the pref is set to true, we assign a different
title to the Browser Console window so it will be
easier to spot.
The preference is then passes to the BrowserConsole,
WebConsole, WebConsoleUI and finally WebConsoleConnectionProxy
instances.
Later, we'll check this pref to connect to different
targets and listen to new ones.

Depends on D39646

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe
e56950f59d Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646

--HG--
extra : moz-landing-system : lando
2019-07-29 08:43:25 +00:00
Nihanth Subramanya
aab7ed4472 Bug 1569191 - [Protections Panel] Breakage report view visual updates. r=johannh
1. Inline "Learn more" link with the main description text.
2. Remove margin-inline-start from labels
3. Remove textbox styling of the URL

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:03:44 +00:00
Kershaw Chang
2d553f2a61 Bug 1267643 - Remove client certificate filtering based on CA names r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39345

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:01 +00:00
Jon Coppeard
04584a99c6 Bug 1568821 - Pass wasSwept parameter when freeing malloc memory r=sfink
Now ensure that we know whether malloc memory was freed by the collector or the mutator.  Most of the time we can get the |wasSwept| state from from the FreeOp, so mostly this is passing the FreeOp through in more places.  That's not always possible though since some code uses the runtime's default FreeOp, so this sets the approriate flag on the default free while we're sweeping too.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:56 +00:00
Jon Coppeard
f1b1a791ef Bug 1568821 - Use retained bytes for telemetry and replace the original calculation r=sfink
Now we're calculating retained size here we can remove the same calculation from Statistics.  I had to add a flag to say whether a zone was collected in the last collection so that we know which zones to add to add up.  I checked that this produced the same result as the original calculation.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:31 +00:00
Jon Coppeard
415becea0d Bug 1568821 - Add retained bytes count to memory tracking classes and use this to track retained GC bytes r=sfink
The main idea here is to pass a |wasSwept| parameter to memory tracking methods that remove memory.  We know what to pass for GC heap size because this always goes through HeapSize::removeGCArena().  Getting this right for malloc memory is the subject of a later patch.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:17 +00:00
Daisuke Akatsuka
d6be7f04ea Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 08:32:46 +00:00
Daisuke Akatsuka
bbd3534237 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-29 06:23:09 +00:00
Paul Zuehlcke
f21a6008ac Bug 1568648 - Fixed OS string in test skip config. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39342

--HG--
extra : moz-landing-system : lando
2019-07-26 08:09:29 +00:00
Daisuke Akatsuka
756317c698 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-23 17:20:49 +00:00
shindli
2311ab23b6 Backed out changeset bdb7f8baac7e (bug 1569101) for causing wrench bustages in /builds/worker/workspace/build/tooltool.tt 2019-07-29 04:53:11 +03:00
shindli
1c380bd4ec Backed out changeset a2c0bed45b89 (bug 1568460) for causing spidermonkey failures "[Errno 2] No such file or directory" 2019-07-29 04:51:41 +03:00
Connor Brewster
f74585e5e5 Bug 1569101 - Add red zone padding to built display list during deserialization r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D39464

--HG--
extra : moz-landing-system : lando
2019-07-29 00:33:11 +00:00
Nicholas Nethercote
7774e3aaea Bug 1569036 - Remove all the aSkipAssignment parameters. r=KrisWright
`AddVarCache()` has a `bool aSkipAssignment` parameter. This patch removes that
parameter by splitting the function in two: `AddVarCache()` and
`AddVarCacheNoAssignment()`. (The former calls the latter.)

There are also tons of `Add*VarCache()` functions with `aSkipAssignment`
parameters that default to `false`. These defaults are never overridden, so
this patch removes the unnecessary arguments.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:18 +00:00