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

694268 Коммитов

Автор SHA1 Сообщение Дата
Scott aed6b54fb8 Bug 1619654 - Update bundle because of package version regression r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D65140

--HG--
extra : moz-landing-system : lando
2020-03-04 00:31:24 +00:00
shindli e06f2a369b Backed out 3 changesets (bug 1616625) for causing xpcshell failures in xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_csp_custom_policies.js CLOSED TREE
Backed out changeset b43ca6507c9a (bug 1616625)
Backed out changeset c0e05f4f2db2 (bug 1616625)
Backed out changeset a1eb1e65a239 (bug 1616625)
2020-03-04 02:26:51 +02:00
Eitan Isaacson bc77e9f52d Bug 1616468 - Indicate required field in hint string. r=Jamie
Android does not currently have anything similar to a 'required' state
to indicate that a field or input is required before submission. In this
patch we append a localized "required" string onto the node's hint.

The hint typically has the description of the node. If the node is an
entry the hint will have its label followed by the description.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 00:00:44 +00:00
Eitan Isaacson fefb04c15e Bug 1619458 - Don't create OSX accessibles for XUL tooltips. r=morgan
Depends on D65038

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

--HG--
extra : moz-landing-system : lando
2020-03-03 17:47:09 +00:00
Eitan Isaacson 3ea5342b3a Bug 1619458 - Add Accessible::IsXULTooltip. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D65038

--HG--
extra : moz-landing-system : lando
2020-03-03 01:42:46 +00:00
Eitan Isaacson 01c6855e5e Bug 1619438 - Don't get dom node id from accessible with no associated content. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D65029

--HG--
extra : moz-landing-system : lando
2020-03-03 17:45:15 +00:00
Emilio Cobos Álvarez 6b08c584ef Bug 1619428 - Annotate more Android passes.
MANUAL PUSH: More broken stuff I accidentally fixed.

--HG--
extra : rebase_source : fc41c2a97f38b3ed86efe046fca7bb780440a9dc
extra : amend_source : c6c6b373f0a8fbd3f45415d3cef7417720d353be
2020-03-04 00:26:50 +01:00
Agi Sferro 45283ccbf3 Bug 1616625 - Implement active parameter for tabs.create and update. r=mixedpuppy,snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D64800

--HG--
extra : moz-landing-system : lando
2020-03-03 23:19:03 +00:00
Agi Sferro d0840b96b4 Bug 1616625 - Move TabDelegate to be per-WebExtension and per-GeckoSession. r=mixedpuppy,snorp,esawin
Before this patch, the TabDelegate was "special" as in it had just one global
delegate that receives events for all extensions and sessions. This was done to
allow mochitests to call tabs.create and tabs.remove.

This hack is no longer needed as now we can notify the embedding layer that a
new extension has been installed and we have a way to list currently installed
extensions.

This patch makes TabDelegate behave the same as the other delegates
(ActionDelegate and MessageDelegate) and will allow further simplications of
the WebExtension Delegate code.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 23:19:03 +00:00
Agi Sferro 3e32832970 Bug 1616625 - Move Extension session delegates to SessionController. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D64798

--HG--
extra : moz-landing-system : lando
2020-03-03 23:19:02 +00:00
Matthew Gaudet a879fc366b Bug 1619690 - Fix Innocuous tracing error with FunctionCreationData r=caroline
Differential Revision: https://phabricator.services.mozilla.com/D65175

--HG--
extra : moz-landing-system : lando
2020-03-03 23:18:32 +00:00
Daisuke Akatsuka 547f305f40 Bug 1567800: Skip if debug or windows 7. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D65227

--HG--
extra : moz-landing-system : lando
2020-03-03 23:12:57 +00:00
Ted Campbell 25960bc80a Bug 1591600 - Follow-up clang-format fix in JSFunction.cpp. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D65231

--HG--
extra : moz-landing-system : lando
2020-03-03 23:12:28 +00:00
Dragana Damjanovic bb98ad6009 Bug 1605099 - Add some telemetry for http3. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D58063

--HG--
extra : moz-landing-system : lando
2020-03-03 23:11:46 +00:00
Agi Sferro 5061b2e4f5 Bug 1618349 - Resolve domFile async before returning the file picker callback. r=esawin
|get domFileOrDirectory| is sync so we cannot return a promise from there. We
instead resolve the DOMFile before returning from the file picker callback
which is async already.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 23:08:12 +00:00
Lina Cambridge bcd8f1f81a Bug 1613835 - Don't try to merge synced bookmarks if a transaction is already open. r=markh
Occasionally, we might try to apply synced bookmarks when a transaction
is already in progress. Consider something like this:

1. The user clicks the star button, which adds a bookmark to the
   default folder. Under the hood, this runs a transaction to
   completion—`BEGIN`, some `INSERT`s and `UPDATE`s, then `COMMIT`.
2. The `item-added` observer notification kicks off a sync.
3. The user, with the star UI still open, picks a new folder for the
   bookmark. This moves the bookmark under the hood.
4. To move the bookmark, we run `BEGIN` on the Places connection's
   async thread. Remember, `Sqlite.jsm` runs async statements one at a
   time.
5. Concurrently, the merge runnable is scheduled on the async thread.
   It's not aware of the `Sqlite.jsm` transaction queue, and doesn't
   know that a transaction for the move is already open.
6. The merger tries to open its own transaction with `BEGIN`, fails
   noisly, and returns a "cannot start a transaction within a
   transaction" error back to the main thread.
7. The move transaction started in (4) runs to completion, updating
   the new bookmark's parent and committing the changes.

This is a case of bad timing—retrying the sync once the user finishes
making changes will work—but reports errors in telemetry and logs.
This commit downgrades those to warnings.

Depends on D63732

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

--HG--
extra : moz-landing-system : lando
2020-03-03 22:58:07 +00:00
Lina Cambridge 38a1672309 Bug 1613835 - Use a SQLite API call to check for in-progress transactions. r=mak
Previously, `mozIStorageConnection#transactionInProgress` returned true
only if a transaction was started via `beginTransaction()`. This meant
that manually executing `BEGIN`, as `Sqlite.jsm` and the Rust bindings
do, wouldn't accurately report if a transaction was in progress.
Similarly, the flag wasn't accurate in cases where SQLite automatically
rolled back a transaction.

Fortunately, SQLite provides the `sqlite3_get_autocommit()` function,
which we can use to determine if a transaction is open or not. This
commit refactors the `transactionInProgress` getter, along with all
`Connection` methods that depend on it, to use the SQLite API instead
of managing that state on the connection. `mozStorageTransaction` and
`Sqlite.jsm` still use their own flags to decide whether to commit
their transactions, for reasons explained in the IDL comment.

This commit also moves `transactionInProgress` to
`mozIStorageAsyncConnection`, so that `Sqlite.jsm` can use it, and
exposes it to Rust.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 22:57:39 +00:00
Punam Dahiya c48b401439 Bug 1618342 - Add Start Browsing button and Browse Privately onboarding card r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D65006

--HG--
extra : moz-landing-system : lando
2020-03-03 22:52:23 +00:00
John Lin 40f6a18be6 Bug 1615930 - don't immediately flush Java decoder after draining. r=jya
In current implementation of Drain(), we use the Flush() method of remote
decoder to restart it so that the decoder can accept new input again. This
will force the decoder to drop all internal buffers, including those that
are not rendered yet. Since Flush() is called after Drain(), there is no need
to do that internally.

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

--HG--
extra : moz-landing-system : lando
2020-03-01 12:38:29 +00:00
Tyson Smith 7f6936156c Bug 1404547 - Enable 'enum' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65213

--HG--
extra : moz-landing-system : lando
2020-03-03 22:30:39 +00:00
Ted Campbell cf634d85bc Bug 1591600 - Replace JSFunction INTERPRETED_LAZY flag r=mgaudet
Replace the INTERPRETED/INTERPRETED_LAZY flag with BASESCRIPT/SELFHOSTLAZY
flags. This delegates more of the responsibility onto the BaseScript itself
and will allow us to combine the lazy and non-lazy script instances in a
single BaseScript.

The choice of these flags corresponds to the union-arms of JSFunction. This
simplifies reasoning in the JITs as well.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 22:34:49 +00:00
Ted Campbell d8d8e5c668 Bug 1591600 - Remove uses of JSFunction::hasScript/hasLazyScript r=mgaudet
In order to stop relying on the JSFunction flags to determine if a function
is currently lazy, we need to remove uses of JSFunction::hasScript,
JSFunction::hasLazyScript, JSFunction::isInterpretedLazy.

Uses of hasScript() can be replaced by a new JSFunction::hasBytecode()
method. To use this method we need to ensure the function is not incomplete
(marked as interpreted but missing the script). This is often implied by the
context, but care must be taking if the function came from iterating GC
arenas.

Uses of hasLazyScript() can be replaced by checking for hasBaseScript() and
the lack of hasBytecode().

Uses of isInterpretedLazy() are replaced by checking for isInterpreted() and
the lack of hasBytecode(). This differs from hasLazyScript() because it
includes the SelfHostedLazyScript case.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 22:33:10 +00:00
Ted Campbell 5a2ac2fc67 Bug 1591600 - Remove AutoAssertFunctionDelazificationCompletion r=mgaudet
These checks are reliant on the details of current lazy-script handling and
interfere with removing the INTERPRETED_LAZY flag so remove them for now.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 22:32:19 +00:00
Scott c5c4d3ecdf Bug 1619754 - Removing hover jank on ds dismiss button. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D65205

--HG--
extra : moz-landing-system : lando
2020-03-03 22:27:53 +00:00
Mike Hommey b1ef3b02cf Bug 1619504 - Make the build system look for wine64. r=dmajor
Wine64 is the version that supports 64-bits binaries as well as 32-bits.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 12:54:47 +00:00
Gavin Lazar Suntop 677ecba1df Bug 1617249 - adding background hover state to collection r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D65172

--HG--
extra : moz-landing-system : lando
2020-03-03 20:16:19 +00:00
Jan Henning a231c232c9 Bug 1540176 - Ensure input elements don't become font inflation containers. r=emilio
Previously, text input controls weren't font inflation containers simply by
virtue of being "display:inline" by default, which automatically makes them in-
eligible for becoming an inflation container.
As of bug 1539469 this has changed however - those <input> elements are now
"display:inline-block" by default, which with the current font inflation logic
turns them into font inflation containers.

This leads to a few problems:
1. The logic from bug 708175 (stop inflation if there is a size-constrained non-
   inline frame in the chain from the current frame to their font inflation
   container) is built on the assumption that the (possibly size-constrained)
   form control itself isn't a font inflation container.
2. When form controls end up as font inflation containers themselves, they no
   longer size themselves properly to match the size of their inflated
   contents, because they are now subject to the AutoMaybeDisableFontInflation/
   mInflationDisabledForShrinkWrap logic which ends up disabling font inflation
   during the size calculation of the form control.

1.) means that we now inflate some text inputs that we didn't use to inflate
previously and 2.) means that every time we attempt to inflate a text input, we
end up with the text content being inflated, but the containig box being not and
therefore too small.

Because of this, as well as because
1. The introductory comment in nsFrame::IsFontSizeInflationContainer itself
   mentions that form controls aren't expected to be inflation containers.
2. There is the precedent from bug 786946, where <select> elements were
   specifically excluded from becoming font inflation containers when their
   default display style was changed from "inline" to "inline-block".

all of this points towards having to specifically preclude <input> elements
from becoming font inflation containers as well.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 21:47:21 +00:00
Emilio Cobos Álvarez c30e9fa249 Bug 1619428 - Annotate a test as passing that should've been annotated in the previous patch. CLOSED TREE
MANUAL PUSH: Always forget to hg remove :(

--HG--
extra : rebase_source : abe9e6eb0e3e3103dbc4d34de9a7fb62cd1347de
extra : amend_source : 1969f20d064ed7276d38aa7f7856ca355867ae02
2020-03-03 22:58:32 +01:00
Jan Henning d1a5485cf9 Bug 1619150 - Include font inflation info when dumping frame data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64907

--HG--
extra : moz-landing-system : lando
2020-03-03 21:47:01 +00:00
Emilio Cobos Álvarez 19ba70d2a5 Bug 1619428 - Annotate two WPT tests on Android.
One of them used to pass accidentally (due to a bug that the previous patch in
this bug fixes).

The other one is now passing.

MANUAL PUSH: Fixup expectations for a patch that fixed select rendering on Android

--HG--
extra : rebase_source : 8fd39f8971493ea9b7ce0509f46099e4ea4f1b72
extra : amend_source : 2094f77a54c5af3649f5efcffc03eb0f82364321
2020-03-03 22:52:33 +01:00
Randall E. Barker 6746c46e53 Bug 1618958 - Add GeckoSession.reload(int flags) r=geckoview-reviewers,agi,esawin
Add a version of GeckoSession.reload that takes LOAD_FLAGS_* so
that it is possible to bypass caches and proxies on reload.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 21:47:30 +00:00
Hiroyuki Ikezoe f0b17ecc30 Bug 1510120 - Block running background-color animation on the compositor if there is any current-color keyframe. r=boris,flod
Differential Revision: https://phabricator.services.mozilla.com/D63629

--HG--
extra : moz-landing-system : lando
2020-03-03 21:48:01 +00:00
Subhamoy Sengupta b94fdf1c30 Bug 1485319 - P1 - Call to nsTSubstring::GetMutableData removed r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65133

--HG--
extra : moz-landing-system : lando
2020-03-03 21:02:19 +00:00
Razvan Maries 0b474b2251 Backed out changeset dc3ad7ffa787 (bug 1617678) for perma failures on bg-image-div-001.html. CLOSED TREE 2020-03-03 23:16:37 +02:00
Mike Shal 810b3916fb Bug 1619768 - Remove extraneous MOZ_PROFILE_GENERATE defines r=dmajor
MOZ_PROFILE_GENERATE is already defined in mozilla-config.h and doesn't
need to be re-defined by the moz.build files.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 21:06:36 +00:00
Jeff Walden d92c45cab7 Bug 1502355 - Fill in more of |ReadableStreamPipeTo|, as regards consing up a |PipeToState| closure to store state variables. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D65058

--HG--
extra : moz-landing-system : lando
2020-03-03 21:07:26 +00:00
Jeff Walden d451364e60 Bug 1502355 - Make |ReadableStreamPipeTo| return |PromiseObject*|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D65057

--HG--
extra : moz-landing-system : lando
2020-03-03 21:06:39 +00:00
Jim Blandy 7db1aac145 Bug 1618319: Segregate intern::UpdateList insertions and removals. r=gw
Rather than treating webrender::intern::UpdateList as a sequence of operations,
each of which might be an insertion or a removal, and using a side table to
supply extra data for insertions, it's simpler to segregate insertions and
removals into two separate vectors. This avoids the need for an enum whose
discriminant needs to be checked within the loop, and allows a few loops that
are only looking for one kind of operation to skip over the others entirely.

Ultimately, there should be no change in the order in which operations occur. In
practice, the old UpdateList always held a contiguous run of insertions,
followed by a run of removals (removals are consumed by apply_updates directly
after being generated by end_frame_and_get_pending_updates).

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

--HG--
extra : moz-landing-system : lando
2020-02-27 02:26:09 +00:00
Bogdan Tara 56a69ac3b7 Bug 1578594 - Skip browser_webconsole_warning_group_multiples.js on fission since it's perma failing r=nchevobbe,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D65051

--HG--
extra : moz-landing-system : lando
2020-03-03 10:36:48 +00:00
Emilio Cobos Álvarez d9d7f09456 Bug 1619428 - Make the overlay scrollbars check work in all platforms. r=mstange
Reuse the AddXULMinSize logic which already deals with all the widget stuff,
non-themed scrollbars, etc.

Remove some useless margin declarations and such in GeckoView scrollbars code
now that AddXULMinSize does look at the min-width/height properties.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 20:30:52 +00:00
Yury Delendik 1e4ad1d104 Bug 1619737 - Update wasmparser to version 0.10.0 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D65136

--HG--
extra : moz-landing-system : lando
2020-03-03 19:45:28 +00:00
shindli b961822146 Backed out changeset be3b005bfc6d (bug 1619428) for causing reftest failure in contain-size-select-elem-002-ref.html CLOSED TREE 2020-03-03 22:15:47 +02:00
Harry Twyford 4783212dfc Bug 1617029 - Enable urlbar.update1.* prefs (quantumbar update 1) on Release. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65159

--HG--
extra : moz-landing-system : lando
2020-03-03 20:04:11 +00:00
Nazım Can Altınova eb62d34bc6 Bug 1616622 - Increase the buffer limit and refactor the java code r=gerald,julienw
Differential Revision: https://phabricator.services.mozilla.com/D64754

--HG--
extra : moz-landing-system : lando
2020-03-03 17:14:19 +00:00
Nazım Can Altınova 1533571e92 Bug 1616622 - Rename SamplingThread class to SamplingRunnable instead. r=julienw
This class is not technically the thread itself, it's the runnable that the
sampling thread uses. This name is more accurate and clear for it.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 17:10:42 +00:00
Nazım Can Altınova d0a7abbc3d Bug 1616622 - Remove the SparseArray from the samples array since we only profile the main thread. r=julienw
Currently we only profile the Java Main Thread, and don't profile anything
else. This is not ideal, but this is how it works right now. And inside the
code index `0` was hardcoded on the most parts of the code. We can rollback
this patch once we want to implement profiling more than one thread, or we can
think about something more clever.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 17:10:19 +00:00
Morgan Reschenberg 11e8355a59 Bug 1617678: Modify background image styling to only apply URL-sourced images when backplate is enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64200

--HG--
extra : moz-landing-system : lando
2020-03-03 19:16:30 +00:00
David Parks d7f1ab7118 Bug 1615752: Require 10-byte detour for Win 8.0 x64 CreateFileA and DuplicateHandle r=aklotz
In the current Win 8.0, these functions both start with a RIP-relative JMP (6 bytes) followed by 6 nops (6-bytes), which does not give us the 13-bytes we need for a trampoline so we require the trampoline to fit into 10 bytes.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 19:23:53 +00:00
Divya Rani 427ae6c5f6 Bug 1619280 - Port warnings-summary [mach] to Python 3.r=championshuttler,firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64951

--HG--
extra : moz-landing-system : lando
2020-03-03 19:18:52 +00:00
Tom Schuster 0281383267 Bug 1619171 - Don't prefix warnings with Error: in the console. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D65091

--HG--
extra : moz-landing-system : lando
2020-03-03 18:14:00 +00:00