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

677067 Коммитов

Автор SHA1 Сообщение Дата
Logan Smyth d9f546cf87 Bug 1570178 - Part 4: Support setting onPop when the frame is not live. r=jimb
Since we're now allowing onStep when not live, it makes sense to do the same
for onPop, and since it does not have any implementation details preventing
setting it while the frame is dead, we might as well.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 08:27:54 +00:00
Logan Smyth 5eb14d59ba Bug 1570178 - Part 3: Support setting onStep when the frame is not live. r=jimb
We want to be able to set onStep when generators are suspended, and since that
already requires changes, it is easy to expand that and allow setting onStep
even after a frame is entirely dead. This simplifies the implementation,
and better matches user expectations around object properties not throwing
or vanishing due to actions outside their control.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 05:53:13 +00:00
Logan Smyth dd33864eb6 Bug 1570178 - Part 2: Stop using the presence of onStep as a flag for stepper increment. r=jimb
Since we want to start allowing onStep to persist even after the frame's
internal state has been cleared, we cannot use the presence on onStep to
indicate this flag anymore.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 00:28:12 +00:00
Logan Smyth 93ba8835c8 Bug 1570178 - Part 1: Remove failure possibility from decrementStepperCount. r=jimb
DebugScript::decrementStepperCount() cannot fail and
DebugState::decrementStepperCount() cannot either. Making this clearer allows
us to not seeming like we are silently ignoring the possibility of a 'false'
return value in 'maybeDecrementFrameScriptStepperCount()' since we don't
currently check the return value in there.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:13:02 +00:00
Dzmitry Malyshau 2db3c22a35 Bug 1570736 - Blocklist WR swizzling on HD3000 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50813

--HG--
extra : moz-landing-system : lando
2019-10-28 21:38:11 +00:00
Boris Zbarsky d36e5a4ea5 Bug 1214364 part 4. Only output full-featured Init methods for dictionaries that need them. r=peterv
Dictionaries that we never initialize with JS values don't need a full-featured
Init() method.  Instead, we output a cut-down Init() method that doesn't even
take a JSContext and Value as argument, and skips as much work as it can.  It
uses constant-false for "is the value present?", but also, to avoid compilation
errors due to use of `cx` and `val` in now-dead conversion code, it tells the
native-to-JS conversion machinery that the value is always missing, which lets
it skip most of the the work it would normally try to do and just output
initialization to the default value.  We only need to do this for members that
have default values; the others either remain no-passed or are required members
with no default-initialization behavior.

This saves about 330KB of codesize on Linux64 without PGO and 285KB with PGO.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:24:31 +00:00
Boris Zbarsky 0d2e9ff1f1 Bug 1214364 part 3. Only output ToObjectInternal methods for dictionaries that need it. r=peterv
This saves about 270KB of codesize on Linux64 without LTO, or 20KB with LTO.

The basic idea is that we can flag dictionaries that need to-JS conversion
(hence ToObjectInternal) based on various IDL uses (return value in normal
interface, argument in callback, etc) and then annotate the ones that are
converted to JS manually in C++ code.

The mozwebidlcodegen changes are needed because non-local changes (e.g. whether
a dictionary is used as a return value somewhere) can now affect the code
generation for a dictionary and hence whether the relevant binding file should
be regenerated.  Since these changes can happen in any .webidl file, we need to
check for them.  We can't track this via the dependency set on the dictionary
itself, because that would not notice new uses being added.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:20:11 +00:00
Boris Zbarsky bbc03b9834 Bug 1214364 part 2. Remove the dead code around MethodNotNewObjectError. r=peterv
I don't know when we stopped raising them, but we did at some point.

I am leaving the capability to not generate a union's ToJSVal method, because I will need it soon.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 18:04:30 +00:00
Boris Zbarsky 3a2aa6f9b1 Bug 1214364 part 1. Only output conversions to/from JSON for dictionaries that need it. r=peterv
This saves about 200KB of codesize on Linux64 without LTO.  No effect with LTO,
but is needed for the following patches to work.

Very few dictionaries need these conversions, so explicit opt-in is fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 15:58:29 +00:00
Emilio Cobos Álvarez e8cae1b5d0 Bug 1591132 - Use an atomic bool for Checker::mIsWritable. r=froydnj
It's a bool, should use a bool.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:27:37 +00:00
Emilio Cobos Álvarez 30240152f3 Bug 1591132 - Make it easy to switch on and off these assertions in different build configurations. r=froydnj
Put them behind a MOZ_HASH_TABLE_CHECKS_ENABLED define, which right now is only
defined in DEBUG builds, preserving behavior.

MakeImmutable becomes an empty inline function when disabled, which should be
zero-cost.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:27:30 +00:00
Emilio Cobos Álvarez 9d4e6eee54 Bug 1591132 - Remove some useless ifdefs. r=froydnj
Default constructors of members run if not specified there, and these ifdefs
are ugly.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:27:28 +00:00
Emilio Cobos Álvarez 4c1606c97c Bug 1591132 - Make hashtable checker use MOZ_RELEASE_ASSERT. r=froydnj
I want to maybe enable some of these checks in DIAGNOSTIC_ASSERT builds.

The whole type is compiled out in release builds at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:27:26 +00:00
Oana Pop Rus 6b1e67496e Backed out changeset 8799781bbf34 (bug 1591761) for causing mass test failures. on a CLOSED TREE 2019-10-29 01:19:11 +02:00
Oana Pop Rus 9523825524 Backed out changeset ce39fc80bb5b (bug 1591209) due to perf/memory regressions at tcampbell request. 2019-10-29 01:15:12 +02:00
Aaron Klotz b3407dccf1 Bug 1592120: Add flag to Authenticode::GetBinaryOrgName to skip trust verification and use it in untrusted modules processing; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D50862

--HG--
extra : moz-landing-system : lando
2019-10-28 21:58:49 +00:00
Alexander J. Vincent 369ca66a21 Bug 1591761 - parseXULToFragment should throw a clearer exception for non-well-formed markup. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D50729

--HG--
extra : moz-landing-system : lando
2019-10-28 21:59:59 +00:00
Anshul ec63a27082 Bug 1590811 - Better align the breakpoint icon and change hover effects.
Differential Revision: https://phabricator.services.mozilla.com/D50157

--HG--
extra : moz-landing-system : lando
2019-10-28 22:24:26 +00:00
Nathan Froyd 7f08913d02 Bug 1584296 - add C++17 bits to fake compiler definitions in test_toolchain_configure.py; r=glandium
Separating these changes out into a separate patch/bug makes them a
little easier to verify.  Turning on C++17 support should then be just a
matter of updating expected results.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:58:15 +00:00
Erica Wright 8ec1fcd4ea Bug 1585184 - Migrate users from custom to standard if their settings exactly match r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50369

--HG--
extra : moz-landing-system : lando
2019-10-28 22:12:15 +00:00
jaril ba28db66a0 Bug 1581245 - Add a frame timeline to web replay
Differential Revision: https://phabricator.services.mozilla.com/D49698

--HG--
extra : moz-landing-system : lando
2019-10-28 14:17:18 +00:00
Chun-Min Chang 97ec12425c Bug 1590890 - Disable bindgen when building coreaudio-sys. r=glandium
Revert the coreaudio-sys dependency changed in bug 1589514, which causes
a trouble when compiling with sccache

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

--HG--
extra : moz-landing-system : lando
2019-10-28 22:04:16 +00:00
Marco Bonardo 5990b7245c Bug 1573753 - Copy the urlbar value when pageproxystate is invalid and there's no result. r=adw
When copying from the input field, when the value has already been confirmed
by the user (either by picking a result or Enter), we cannot use the selected
result information, because it has already been cleared by _loadURL setting
the value to the final one.
If the page already finished loading, pageproxystate is valid and we can use
currentURI, but if the page takes a long time to load, or the load is canceled,
we need a fallback, because we don't want to interrupt the copy operation.

In this case, the current value can be either a valid url or a search string.
If it's a valid url, we can just go through the usual URI handling, trying to
make it nicer. After all, we'd do the same just after the page is done loading.
Otherwise, we fallback to the currently selected value.

This works also if the user is still in the process of selecting a result
and tries to copy from the input field, because on result selection we set
either a valid url or a non-url.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 21:53:16 +00:00
Olli Pettay 574f798fb3 Bug 1586750, don't compile event handlers on unloaded windows r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D48983

--HG--
extra : moz-landing-system : lando
2019-10-28 21:08:50 +00:00
Liang-Heng Chen f7b811213d Bug 1590124 - extend `expires_in_version` of `networking.data_transferred_v3_kb` and `HTTP_TRAFFIC_ANALYSIS_3`; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D50789

--HG--
extra : moz-landing-system : lando
2019-10-28 14:16:25 +00:00
Tomislav Jovanovic c9669e07c3 Bug 1591736 - Fix AddonManagerWebAPI::IsAPIEnabled in out-of-process iframes r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D50713

--HG--
extra : moz-landing-system : lando
2019-10-28 21:51:30 +00:00
Glenn Watson 074c0fe3ca Bug 1591527 - Integrate partial repainting with OS compositor surfaces. r=kvark,mstange
This passes the existing dirty rect for a picture cache update
through the native compositor interface, allowing compositors
to only update a sub-rect of a tile.

Also update the example to pass dirty rect to DirectComposition,
and add debug drawing for compositor redraw region.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:56:42 +00:00
Ehsan Akhgari d8ae659ab1 Bug 1590779 - Remove social-tracking-protection-digest256 in preferences and GeckoView; r=englehardt,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50714

--HG--
extra : moz-landing-system : lando
2019-10-28 21:45:31 +00:00
Ehsan Akhgari e97e6980e5 Bug 1589154 - Replace base-track-digest256 in urlclassifier.trackingTable; r=englehardt
Differential Revision: https://phabricator.services.mozilla.com/D50712

--HG--
extra : moz-landing-system : lando
2019-10-28 21:41:48 +00:00
Mike Conley 315a7c522c Bug 1588002 - Make sure to remove every nsIDOMMozWakeLockListener added by browser_media_wakelock.js even if a notification is not seen. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D48931

--HG--
extra : moz-landing-system : lando
2019-10-28 20:41:36 +00:00
Matthew Gregan 25d20e8373 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50005

--HG--
extra : moz-landing-system : lando
2019-10-22 13:58:33 +00:00
Matthew Gregan a3d568e14c Bug 1590249 - Enable AudioIPC on Windows in Nightly builds. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50004

--HG--
extra : moz-landing-system : lando
2019-10-22 13:58:32 +00:00
Alexander J. Vincent 4061cf92e2 Bug 1476659, remove invertSelection from mozilla-central, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D50407

--HG--
extra : moz-landing-system : lando
2019-10-28 20:58:38 +00:00
Matt Brandt c70db2d144 Bug 1592072 - [iris firefox] Update Taskcluster to the latest rev in iris_firefox
This pulls in the latest `iris_firefox` code base; pulling in fixes for Win10 tests and making the build green. This also adds an`$IRIS_CODE_ROOT`env var for `iris core` to read from.

[[ https://tools.taskcluster.net/groups/EsjqpXCPTt2aKEP0N6IW1Q | Try build can be viewed here ]].

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:58:45 +00:00
Jonathan Kew 25f7012319 Bug 1588788 - Pass the correct variation settings to harfbuzz shaping, including any derived from font-weight/-stretch/-style properties. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D50830

--HG--
extra : moz-landing-system : lando
2019-10-28 20:57:19 +00:00
Gabriel Luong 7d8648596f Bug 1578745 - Introduce a preference to enable fission frame inspection in DevTools. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50666

--HG--
extra : moz-landing-system : lando
2019-10-28 20:45:21 +00:00
Kagami Sascha Rosylight 8ae1d6eba9 Bug 1591849 - Support [Pure] for stringifier attributes r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50795

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:09 +00:00
Boris Zbarsky 033a03eb89 Bug 1591491. Add more use of FakeString::ShareOrDependUpon. r=froydnj
If someone then saves the resulting string, this will let us avoid a copy.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:41:59 +00:00
Glenn Watson d9b66a11dc Bug 1591837 - Support specification of FBO id in native compositor interface. r=mstange
Platform differences between DirectComposition and CoreAnimation
mean that WR needs to bind the FBO ID that the underlying platform
returns as part of the surface binding operation.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:38:57 +00:00
prathiksha 770ea8cdd6 Bug 1563355 - Handle exceptionDialogButton click on certerror pages in AboutNetErrorhandler.jsm. r=johannh
Depends on D46438

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:16 +00:00
prathiksha f23a25ca16 Bug 1563355 - Remove AboutNetErrorResetPreferences and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler. r=johannh
Depends on D46154

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:01 +00:00
prathiksha f70c312dac Bug 1563355 - Remove AboutNetErrorSetAutomatic and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler.jsm. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46154

--HG--
extra : moz-landing-system : lando
2019-10-28 20:38:45 +00:00
Arthur Iakab 4320e59942 Backed out changeset 42823d984687 (bug 1580165) for causing devtools failures on browser_toolbox_remoteness_change.js. CLOSED TREE
--HG--
extra : rebase_source : 141bf36ac3a9ab307613c6489c156f57cead397d
2019-10-28 22:36:11 +02:00
Luca Greco e55ba5638c Bug 1586973 - Fix typo in Telemetry assertEvents filter parameter used by browser_interaction_telemetry.js. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D50841

--HG--
extra : moz-landing-system : lando
2019-10-28 19:58:59 +00:00
Olli Pettay 542288fa53 Bug 1396309, try to make file_fragment_handling_during_load.html less racy, r=peterv
The changes try to ensure we haven't really started load process of the new page, just that
there is ongoing active request. history.back() will then only affect to the fragment navigation.

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

--HG--
rename : docshell/test/navigation/file_fragment_handling_during_load_frame2.html => docshell/test/navigation/file_fragment_handling_during_load_frame2.sjs
extra : moz-landing-system : lando
2019-10-28 20:18:24 +00:00
Arthur Iakab 2db2be67ab Bug 1591865 - enable test on fission because it is fixed. a=test-only CLOSED TREE
--HG--
extra : amend_source : 1418e4a510118edec95bb8d5ceff29dba0da869b
2019-10-28 22:20:22 +02:00
Arthur Iakab e12bd930c4 Backed out changeset 94a89e567444 (bug 1578745) for causing multiple devtools failures on browser_dbg-inline-preview.js. CLOSED TREE 2019-10-28 22:15:51 +02:00
Arthur Iakab 470c5a07f1 Backed out 2 changesets (bug 1591803) for causing build busatges on PermissionManager.idl. CLOSED TREE
Backed out changeset 060f159fa43d (bug 1591803)
Backed out changeset b53a3d8c408d (bug 1591803)
2019-10-28 22:12:01 +02:00
Glenn Watson af909bd6ee Bug 1591223 - Tidy up the WR renderer options for partial present and native compositing. r=kvark
This patch is a small refactor of the public and internal structures
for options related to partial present and native compositing. It
doesn't contain any functional changes.

It adds a field to the native compositing setup to allow clients to
express whether dirty rect updates are supported when native compositing
is enabled (not currently used but will be enabled soon).

It also removes the partial present config options, and makes them
part of the default / draw compositing mode.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 19:51:24 +00:00
Sorin Davidoi 22872132ba Bug 1580323 - test(browser_dbg-quick-open): Remove timeouts
Increase stability by replacing the arbitrary timeouts with waiting for the DOM.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 19:47:23 +00:00