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

683928 Коммитов

Автор SHA1 Сообщение Дата
James Graham e6adb1482b Bug 1601981 - Make wpt fission tests tier 2, r=ahal,neha
This also reduces the configuration to just the -qr subset of the
configuration that runs for mochitest -fis.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 22:32:26 +00:00
Jon Coppeard 47fa72c92f Bug 1602741 - Ensure shell drainJobQueue() function always drains the job queue r=sfink
Previously this wouldn't drain any jobs queued by FinalizationGroup callbacks.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 20:26:20 +00:00
Johann Hofmann 3292e920dc Bug 1601784 - Use a built-in "Learn More" link instead of custom nodes for the storage access prompt. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D56553

--HG--
extra : moz-landing-system : lando
2019-12-11 10:08:19 +00:00
Jan de Mooij 5adcd32e48 Bug 1602390 - Ensure scripts do not start with a JSOP_LOOPHEAD. r=tcampbell
Since bug 1598548 scripts could start with a JSOP_LOOPHEAD for while-loops
(do-while loops always have a JSOP_NOP for the debugger) but this confuses
the JITs in various places.

Fixing this edge case properly isn't trivial (see comments on bug 1602681 for
example) so this patch inserts a JSOP_NOP if needed to prevent this for now.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 10:04:04 +00:00
Brian Grinstead 9cfedc33a3 Bug 1602947 - Don't set flex=1 on actionButtons containers in about:preferences so that the buttons don't expand r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56667

--HG--
extra : moz-landing-system : lando
2019-12-11 09:56:23 +00:00
Martin Stransky 7c668f73cb Bug 1602309 [Wayland] Set opaque region directly to mShell wl_surface to bypass Gtk opaque region cache, r=heftig
Differential Revision: https://phabricator.services.mozilla.com/D56554

--HG--
extra : moz-landing-system : lando
2019-12-11 09:26:43 +00:00
Dão Gottwald eb29184025 Bug 1603050 - Remove unused displayurl and lookslikeurl attributes from autocomplete-richlistitem.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56695

--HG--
extra : moz-landing-system : lando
2019-12-11 09:31:37 +00:00
Dana Keeler 4b23c0a91f bug 1598605 - be more consistent about decoding IP addresses in PSM r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D56240

--HG--
extra : moz-landing-system : lando
2019-12-10 22:06:37 +00:00
Marco Bonardo d360177352 Bug 1601450 - Further restrict the retained results behavior. r=dao
If the user types a full url, confirms it, and then focuses the urlbar, we should
not

When focusing the address bar after typing and confirming a page, we end up reopening
the view because the search string is the same. This causes unexpected noise and
selection problems (the url is not selected anymore).
This patch changes the behavior so we don't reopen on valid pageproxystate, that
seems to make sense considering the feature scope of restoring an abandoned search.

Additionally, make the keyboard shortcut not trying to reopen the view if it's
already open, to avoid messing up with the selection.

Finally, restore the appropriate allowAutofill status from the last context.
This may still cause us to not autofill something that was previously autofilled,
if 2 tabs contain the same exact search, but that's an edge case, so acceptable.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 09:16:22 +00:00
Marian Raiciof 14cd1737c5 Bug 1602761 - Run regular speedometer tests against Fennec v68 and Fenix using a cron job r=perftest-reviewers,sparky,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D56544

--HG--
extra : moz-landing-system : lando
2019-12-11 08:47:00 +00:00
Tom Tung c5e5044d11 Bug 1474608 - P4 - Initialize swm before the profile-change-teardown in test_sss_sanitizeOnShutdown.js to avoid test timed out; r=dom-workers-and-storage-reviewers,perry
The test starts timed out after applying the changes in P1-P3. The main reason is that P1-P3 ensure SWM and the QuotaManger clear their storage in any condition in clear data service. However, since the SWM adds a shutdown blocker during the initialization and it's initialized during the profile-change-teardown because of the changes and the test scenario.

To fix that, ideally, SWM should differentiate if it's initialized before or during the profile-change-teardown and that requires a non-small change. Since we haven't got this signature in the real world and similar cases (SWM gets initialized during profile-change-teardown) have been taken care of, this patch only adds a workaround to avoid the issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 16:11:13 +00:00
Tom Tung 21f3d11a5b Bug 1474608 - P3 - Add a argument (aCallback) to deleteDataFromOriginAttributesPattern and add a browser test to verify the behavior on quota storage; r=asuth,baku
Differential Revision: https://phabricator.services.mozilla.com/D34325

--HG--
extra : moz-landing-system : lando
2019-12-10 10:03:34 +00:00
Tom Tung dcf0aeb0a2 Bug 1474608 - P2 - Clear origin attributes data directly on cache2; r=asuth,michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D34324

--HG--
extra : moz-landing-system : lando
2019-12-02 19:47:05 +00:00
Tom Tung 83eb41d14a Bug 1474608 - P1 - Clear origin attributes directly for deleteDataFromOriginAttributesPattern if it's possible; r=asuth,baku
The idea of this patch is to try to not use oberver mechanism as possible. To
achieve that, it introduces deleteByOriginAttributes() to cleaners. Different
from other methods, it would only be executed if it's implemented from a
cleaner.

It doesn't remove oberver mechanism entirely since some cleaners are still using
that for other deleteByXXX() functions. So, it only applies removing stuff to
PushService, QuotaManagerService, ServiceWorkerManager, nsPermissionManager,
nsApplicationCacheService, and nsCookieService.

Since the original issue is related to QuotaManagerService, it adds xpcshell
test under the dom/quota/test/unit/ to ensure the behavior won't be changed
accidentally in the future.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 19:47:13 +00:00
Jan de Mooij 4e90bf4e81 Bug 1602720 part 5 - Merge most code for JSOP_INITELM_INC and JSOP_INITELEM_ARRAY into initArrayElement. r=tcampbell
We now have a shared code path to compile these ops.

JSOP_INITELEM_ARRAY gains IC support and JSOP_INITELEM_INC can potentially use the
fast path now.

Depends on D56533

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:53:54 +00:00
Jan de Mooij d37d695d06 Bug 1602720 part 4 - Factor out jsop_initelem_array fast path code into initArrayElemTryFastPath. r=tcampbell
No change in behavior.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 08:29:04 +00:00
Jan de Mooij 15b7c0b5b7 Bug 1602720 part 3 - Rename initializeArrayElement to initArrayElementFastPath. r=tcampbell
Depends on D56531

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:20:24 +00:00
Jan de Mooij 616fd60304 Bug 1602720 part 2 - Make initializeArrayElement take an MDefinition* instead of size_t. r=tcampbell
Just move the MConstant-creation code into the callers to simplify later changes.

Depends on D56529

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:20:23 +00:00
Jan de Mooij c9b8e8ba45 Bug 1602720 part 1 - Make IonBuilder::initializeArrayElement take an MNewArray argument. r=tcampbell
This removes the confusing isNewArray() check in that function. It's also
incorrect with other changes because it doesn't account for loop phis for
example.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 08:16:55 +00:00
Megha 08ae52fe49 Bug 1556380 - Enable more ESLint rules for extensions/. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43355

--HG--
extra : moz-landing-system : lando
2019-12-06 21:05:20 +00:00
Mark Banner 8365798b9c Bug 1601681 - Re-enable unix-line endings on ESLint controlled files. r=mossop
This was accidentally regressed to match existing line endings in the switch to prettier.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:57 +00:00
Mark Banner 2103c3b16a Bug 1601681 - Switch recently added files with Windows line endings to Unix. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55990

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:49 +00:00
Tom Tung 5775eb8fb7 Bug 1592934 - Measure the success rate for the UpgradeStorageFrom* functions and the InitializeRepository function per repository; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55834

--HG--
extra : moz-landing-system : lando
2019-12-11 08:27:01 +00:00
Jan Varga 143724b74b Bug 1592934 - Abstract first initialization attempt recording into a standalone class; r=ttung,dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D55653

--HG--
extra : moz-landing-system : lando
2019-12-11 08:22:47 +00:00
Tom Tung 279395a8a9 Bug 1592934 - Use spread syntax to reduce the code in test_qm_first_initialization_attempt.js; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55074

--HG--
extra : moz-landing-system : lando
2019-12-09 18:47:56 +00:00
Jan Varga f6d7565873 Bug 1592934 - Change some bools to bitfields before adding new telemetry probes; r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D54902

--HG--
extra : moz-landing-system : lando
2019-12-09 18:47:56 +00:00
Tom Tung 77e83b90da Bug 1592934 - Add telemetry probes to track persistent origins and temporary origins initialization success rate; r=janv
Differential Revision: https://phabricator.services.mozilla.com/D53392

--HG--
extra : moz-landing-system : lando
2019-12-11 08:20:46 +00:00
Jan de Mooij 06b857b44f Bug 1602190 - Fix bug in float32 specialization of phis. r=bbouvier
The test results in a phi with 3 operands: (double, double, float32). The second
operand is not convertible to float32, but we didn't set convertibleToFloat32 to
false in this case. We then incorrectly converted it to float32.

This patch also adds an assertion to help catch similar bugs.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 07:58:30 +00:00
Sylvestre Ledru 29cb752167 Bug 1600089 - Move the windows declaration later in the doc and update the title
Differential Revision: https://phabricator.services.mozilla.com/D56679

--HG--
extra : moz-landing-system : lando
2019-12-11 07:57:45 +00:00
sotaro b6830af239 Bug 1603015 - Block WebRender compositor on all Intel devices with <= 6293 driver r=gw
Differential Revision: https://phabricator.services.mozilla.com/D56673

--HG--
extra : moz-landing-system : lando
2019-12-11 06:19:48 +00:00
Glenn Watson 739fd11cac Bug 1602992 - Add power profiling modes to example-compositor application. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D56653

--HG--
extra : moz-landing-system : lando
2019-12-11 07:13:34 +00:00
Alastor Wu 47d2457f3e Bug 1602163 - part2 : remove 'corruptedFrames' from 'VideoPlaybackQuality' r=bzbarsky
According to [1], we're going to deprecate this attribute.

[1] https://github.com/w3c/media-playback-quality/pull/20

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

--HG--
extra : moz-landing-system : lando
2019-12-11 07:19:15 +00:00
Alastor Wu 8fc6cead9b Bug 1602163 - part1 : remove usage of 'corruptedVideoFrames' in tests. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56622

--HG--
extra : moz-landing-system : lando
2019-12-11 07:19:02 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Matthew Noorenberghe 60e3f6a6e1 Bug 1596660 - Replace pwmgr storage-mozStorage with a stub storage-geckoview. r=sfoster
* storage-mozStorage was used by Fenenc but that is no longer built from m-c.
* Existing Android tests need to be disabled since they rely on being able to manipulate storage but this commit only stubs searching for logins.
* A later commit will actually filter the logins returned by a GV delegate.

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

--HG--
rename : toolkit/components/passwordmgr/storage-json.js => toolkit/components/passwordmgr/storage-geckoview.js
extra : moz-landing-system : lando
2019-12-11 05:22:43 +00:00
Masayuki Nakano a2a7b27d8d Bug 1599971 - part 5: Mark `TextControlState::UnbindFromFrame()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato,emilio
Note that `TextControlState::BindToFrame()` may also run script if it's
called without script blocker.  However, it shouldn't occur.  Therefore,
we don't need to mark it `MOZ_CAN_RUN_SCRIPT`, but we should check
script blocker existence with `MOZ_ASSERT`.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:04:20 +00:00
Masayuki Nakano c13f925d16 Bug 1599971 - part 4: Mark `TextControlState::GetTextEditor()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
If `PreareEditor()` returns `NS_OK`, but if the instance is deleted at returning
from it, `GetTextEditor()` will access `mTextEditor`.  Therefore, this patch
makes `PrepareEditor()` return error if the instance is destroyed at its end.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:03:31 +00:00
Masayuki Nakano 0b75352ba4 Bug 1599971 - part 3: Mark `nsITextControlFrame::SetSelectionRange()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
Similar to the previous patch, it may notify selection listeners of native
anonymous tree in `<input>` and `<textarea>` element.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:02:53 +00:00
Masayuki Nakano f9203c9b66 Bug 1599971 - part 2: Mark `TextControlState::DeleteOrCacheForReuse()` and `TextControlState::Reuse()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
They are really complicated and can run script while the instance is being
destroyed.  Therefore, they should have their own `AutoTextControlHandlingState`
as "kungFuDeathGrip".

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:02:46 +00:00
Masayuki Nakano a26ed4b301 Bug 1599971 - part 1: Mark constructors of `AutoTextControlHandlingState` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
The destructor of `AutoTextControlHandlingState`is marked as
`MOZ_CAN_RUN_SCRIPT`, but it's not checked at build time.  And this does not
need to be created when the method does not run script.  Therefore, we should
mark its constructor as `MOZ_CAN_RUN_SCRIPT` instead since it's stack only
class so that its constructor and destructor are always called from same
method.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:01:37 +00:00
Makoto Kato 5d374a9099 Bug 1598782 - Don't destroy GeckoEditableSupport when getting focus. r=geckoview-reviewers,rbarker
NOTIFY_IME_OF_FOCUS performs lazy initialization for text dispatcher. When
GeckoViewSupport attaches GeckoEditable during initialization,
GeckoEditableSupport destroys myself.

If GeckoEditable already has focus, don't destroy GeckoEditable child.

Also, I want to add debug warning to debug like this issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 20:16:16 +00:00
Brindusan Cristian 9c36dcbf23 Backed out 2 changesets (bug 1580567, bug 1599927) for mochitest failures at test_interfaces.html. CLOSED TREE
Backed out changeset 0e0d88942d33 (bug 1599927)
Backed out changeset 522c8d183bd5 (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 05:31:08 +02:00
Paul Bone 3a3fa7f977 Bug 1592894 - pt 5. Add an assertion to onMayChangeProcess r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D55405

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:42 +00:00
Paul Bone bdbf59d30a Bug 1592894 - pt 4. Remove useHttpResponseProcessSelection pref r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53763

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:25 +00:00
Paul Bone d8a910b09e Bug 1592894 - pt 3. Remove useHttpResponseProcessSelection from SessionStore.jsm r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53762

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:04 +00:00
Paul Bone 6a1e5a7f46 Bug 1592894 - pt 2. Don't need to skip this test for fission anymore r=mattwoodrow
I don't know why, but this test is passing so I'll enable it.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 02:30:31 +00:00
Paul Bone 939cdaba37 Bug 1592894 - pt 1. Rename httpResponseProcessSelection test r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D55793

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_documentChannel.js
extra : moz-landing-system : lando
2019-12-11 02:30:08 +00:00
Brindusan Cristian d784ce8921 Backed out 2 changesets (bug 1602168, bug 1602123) for turning bug 1336075 into perma. CLOSED TREE
Backed out changeset b892c240d938 (bug 1602168)
Backed out changeset f47c59a4e3d3 (bug 1602123)

--HG--
extra : histedit_source : c3cddd5170a0d0e98753cd01f901964a92ad48bc
2019-12-11 04:44:43 +02:00
Emilio Cobos Álvarez 440c6c136b Bug 1599181 - Fix serialization of @namespace rule. r=boris
This code comes from:

https://hg.mozilla.org/mozilla-central/rev/2418cfba72c33c5623f6fb4c243c5203819c8240

I audited other callers of write_str, they seem ok.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 23:21:20 +00:00
Daosheng Mu 3b4a5c5669 Bug 1599927 - Support WebXR device access permission in GeckoSession. r=imanol,rbarker,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D55043

--HG--
extra : moz-landing-system : lando
2019-12-11 02:00:35 +00:00