Commit Graph

650757 Commits

Author SHA1 Message Date
Ehsan Akhgari
6b7e90e3e5 Bug 1547813 - Part 2: Introduce nsIWebProgressListener::STATE_COOKIES_PARTITIONED_FOREIGN; r=baku
This error code indicates the specific case where the antitracking backend
rejects a particular access request because the resource is third-party and
the cookie policy mandates that third-party resources must be partitioned.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:47 +00:00
Ehsan Akhgari
564ae33dab Bug 1547813 - Part 1: Introduce nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
This new code designates our new cookie policy for blocking cookies and
storage access from third-party trackers and partitioning the cookie jar
of the rest of third-party resources.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:40 +00:00
Marco Bonardo
582ea00aa6 Bug 1550480 - Increase the Quantum Bar stale rows removal timer. r=dao
Try to further reduce flicker by increasing the time we keep stale results visible.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 15:00:47 +00:00
Sean Feng
760251d1c3 Bug 1533861 - Add a telemetry to detect disk type r=chutten,froydnj,bdekoz
Differential Revision: https://phabricator.services.mozilla.com/D29383

--HG--
extra : moz-landing-system : lando
2019-05-08 15:30:07 +00:00
Dão Gottwald
24c3de356b Bug 1550423 - When a result's title or URL overflows, expose the full value in a tooltip. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D30470

--HG--
extra : moz-landing-system : lando
2019-05-09 13:06:53 +00:00
Rob Wu
ef01932b50 Bug 1546248 - Loosen Client-ID check in unit test r=rpl
The client_id part of browser_html_discover_view_clientid.js was failing
on TV because of a pre-existing, test-specific issue in Telemetry.
Fixing this is not trivial, so just check that the ID was set instead of
checking its exact value.

See the comment for more details; the fix will be part of bug 1537933

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:18 +00:00
Rob Wu
3964ab68f9 Bug 1546123 - Correct size calculation of theme previews r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29482

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:31 +00:00
Rob Wu
9675eda2fa Bug 1546980 - Add ratings and user counts to discopane r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D29481

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:32 +00:00
Rob Wu
bb1e8193ce Bug 1542262 - Match AMO's rating logic in about:addons r=mstriemer,Pike
- Fill stars based on whether the rating is within the 0.5 range of a
  0.5-multiple, rather than checking whether the rating is at least as
  large as the 0.5-multiple. This follows the boundaries at:
  bb9277eeff/src/ui/components/Rating/index.js (L139-L140)

- Use a review star rating instead of re-using the bookmark star.
  This is not necessarily to be more consistent with AMO's stars,
  but to prevent the stars from becoming non-stars if we ever change
  the bookmark icon. The SVG icon is based on the path at:
  bb9277eeff/src/ui/components/IconStar/index.js (L19)

- Turn it into a custom element to make re-use easier.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 18:30:04 +00:00
Rob Wu
163dcef402 Bug 1546248 - Add attribution parameters to AMO links r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29479

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:17 +00:00
Rob Wu
07b06b75fa Bug 1546248 - Put HTML discopane behind separate pref r=mstriemer
Require `extensions.htmlaboutaddons.discover.enabled` to be enabled
before the HTML-based discopane is shown. This allows the feature
to be turned on and/or off independent of the other HTML views.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:17 +00:00
Rob Wu
006cf25259 Bug 1546248 - Add notice to discopane when TAAR is enabled r=mstriemer,flod
The `<message-bar>` custom element used in this patch will be
introduced by https://phabricator.services.mozilla.com/D27547

The notice text and SUMO link target were taken from
6d2de7e52a/src/disco/pages/DiscoPane/index.js (L211-L213)

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Rob Wu
a4d633137e Bug 1546248 - Change "Get Add-ons" to "Recommendations" r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D28936

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Rob Wu
dd8df1ac64 Bug 1546248 - Add discopane to about:addons HTML view r=mstriemer,flod,aswan
The api_response.json test file is the response from
https://addons-dev.allizom.org/api/v4/discovery/?lang=en-US
It has not been modified, except for being prettified using `json_pp`.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Noemi Erli
1c65279044 Backed out changeset 38ce182f68ea (bug 1402530) for build bustages in nsMixedContentBlocker.cpp CLOSED TREE 2019-05-09 17:29:38 +03:00
David Walsh
e5afc68fb2 Bug 1515108 - Add DAMP test for project search r=jlast
Adds test for damp searches

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

--HG--
extra : moz-landing-system : lando
2019-05-08 21:57:04 +00:00
James Graham
815ab6dd7d Bug 1504776 - Reenable tests that were disabled for a harness bug, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D30376

--HG--
extra : moz-landing-system : lando
2019-05-09 14:07:14 +00:00
James Graham
24e220ca75 Bug 1504776 - Fix a test that tries to navigate the test window, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D30375

--HG--
extra : moz-landing-system : lando
2019-05-09 13:53:37 +00:00
Sebastian Streich
db1660661f Bug 1402530 - Use IsOriginPotentiallyTrustworthy in ShouldLoad r=ckerschb,jkt
Differential Revision: https://phabricator.services.mozilla.com/D28870

--HG--
extra : moz-landing-system : lando
2019-05-07 18:08:19 +00:00
Raphael Pierzina
77e6f296b4 Bug 1546614 - Run telemetry-tests-client on macosx64, linux32, windows32 on CI; r=chutten,ahal
Differential Revision: https://phabricator.services.mozilla.com/D30481

--HG--
extra : moz-landing-system : lando
2019-05-09 13:39:39 +00:00
Jon Coppeard
75bfdb344c Bug 1549853 - Ignore associations of zero bytes of malloc memory with a GC thing r=sfink?
Differential Revision: https://phabricator.services.mozilla.com/D30355

--HG--
extra : moz-landing-system : lando
2019-05-08 17:46:02 +00:00
Jon Coppeard
94e50ef5a8 Bug 1549986 - Make all concrete implementations of JSTracer final to aid devirtualization r=sfink?
Differential Revision: https://phabricator.services.mozilla.com/D30362

--HG--
extra : moz-landing-system : lando
2019-05-09 08:39:23 +00:00
Julian Descottes
6d85f4e2fa Bug 1549940 - Close about:debugging messages when clicking anywhere on the close button r=Ola
Simply moved the callback from the icon to the button and updated the test.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:59:00 +00:00
Emilio Cobos Álvarez
f65bcfba56 Bug 1549559 - Add bindings for ArcSlice and ThinArc, and use them to reduce copies of SVG path data. r=heycam
As I said over bug 1549593, the eventual goal is to use ArcSlice in all
inherited properties. But this seemed like a good first candidate that doesn't
require me to move around a lot more code, since we were already using cbindgen
for the path commands.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:43:19 +00:00
Emilio Cobos Álvarez
f59bb7ae91 Bug 1549559 - Introduce ArcSlice, a small wrapper over ThinArc but without an explicit header. r=heycam
We could make the header PhantomData or something, but then we wouldn't be able
to bind to C++, since C++ doesn't have ZSTs. So add a canary instead to add a
runtime check of stuff being sane.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 10:53:50 +00:00
ffxbld
6b6a4743bb No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D30488

--HG--
extra : moz-landing-system : lando
2019-05-09 12:41:52 +00:00
Emilio Cobos Álvarez
1de789c618 Bug 1549593 - Move OwnedSlice to style_traits. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30126

--HG--
rename : servo/components/style/owned_slice.rs => servo/components/style_traits/owned_slice.rs
extra : moz-landing-system : lando
2019-05-09 10:49:50 +00:00
Emilio Cobos Álvarez
38065025d9 Bug 1548691 - Use the owned slice type for basic shape polygon coordinates. r=TYLin,heycam
This enables destructors for tagged unions in cbindgen, implemented in:

 * https://github.com/eqrion/cbindgen/pull/333

Which allow us to properly generate a destructor for the cbindgen-generated
StyleBasicShape (which now contains an OwnedSlice).

For now, we still use the glue code to go from Box<BasicShape> to
UniquePtr<BasicShape>. But that will change in the future when we generate even
more stuff and remove all the glue.

I could add support for copy-constructor generation to cbindgen for tagged
enums, but I'm not sure if it'll end up being needed, and copy-constructing
unions in C++ is always very tricky.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 11:24:57 +00:00
Emilio Cobos Álvarez
7d9dca2244 Bug 1548691 - Add an owned slice type which cbindgen can understand. r=heycam
Passing these by value won't be ok of course, but that's fine.

I plan to combine this with https://github.com/eqrion/cbindgen/pull/333 to
actually be able to share representation for ~all the things, this is just the
first bit.

Box<T>, Atom and Arc<T> will be much easier since cbindgen can understand them
without issues.

It's boxed slices the only ones I should need something like this. I could avoid
it if I rely on Rust's internal representation, which we can per [1], but then I
need to teach cbindgen all about slices, which is generally hard, I think.

[1]: https://github.com/rust-lang/unsafe-code-guidelines/blob/master/reference/src/layout/pointers.md

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

--HG--
extra : moz-landing-system : lando
2019-05-09 10:49:22 +00:00
Emilio Cobos Álvarez
23b7a280bf Bug 1545823 - Implement non-standard CSSStyleSheet.rules, CSSStyleSheet.addRule and CSSStyleSheet.removeRule. r=bzbarsky
It's not worth dying on this hill. Both Blink and WebKit pass the tests.

(Well, WebKit actually fails one of the latest ones I wrote, cssRules and rules
are not the same JS object, WebKit returns a new rule list. I'll file)

Spec PR in https://github.com/w3c/csswg-drafts/pull/3900.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:32:52 +00:00
Florin Strugariu
70d07476cb Bug 1541041 Page timeouts are ignored during cold page-load test suites r=rwood,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D26309

--HG--
extra : moz-landing-system : lando
2019-05-08 18:29:56 +00:00
diana.iacos
57aa3d1fab Bug 1547929 - Default browser preference cleanup on tablets; r=petru
The "Make default browser" setting is now just a button, part of the "General" settings.
We'll remove the layout for 2-pane settings and the now unused String.

Depends on D30468

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

--HG--
extra : moz-landing-system : lando
2019-05-09 10:23:02 +00:00
diana.iacos
9fa264ed41 Bug 1547929 - [Tablet] Make default browser option not displayed on top of the Settings Menu; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D30468

--HG--
extra : moz-landing-system : lando
2019-05-09 10:23:25 +00:00
Jorg K
80ee16b7f4 Bug 1549980 - Disable eBay search engine test for Thunderbird since Thunderbird doesn't have eBay search. r=standard8 2019-05-09 13:47:07 +03:00
arthur.iakab
1df56d2ae8 Backed out changeset 9461cf2c40e4 (bug 1549741) for causing Android lint busage on lint-results-withoutGeckoBinariesDebug.html CLOSED TREE 2019-05-09 13:26:59 +03:00
Nagy Mihaly
8a6b7522e7 Bug 1549741 - Removed TrackingProtectionPrompt. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D30473

--HG--
extra : moz-landing-system : lando
2019-05-09 09:01:05 +00:00
Jonathan Kew
e6aa378ae6 Bug 1545177 - Add crashtest. r=heycam
Depends on D27980

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

--HG--
extra : moz-landing-system : lando
2019-05-09 05:15:50 +00:00
Jonathan Kew
5ae044cb25 Bug 1545177 - Add WPT test for modifications to FontFace descriptors after initial creation. r=heycam
Depends on D27980

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

--HG--
extra : moz-landing-system : lando
2019-05-09 05:15:37 +00:00
Jonathan Kew
c8c951fbbe Bug 1545177 - If descriptors of a FontFace are modified after creation, update the associated font entry so that face selection will respect the new values, and mark font sets as dirty. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D27980

--HG--
extra : moz-landing-system : lando
2019-05-09 09:43:42 +00:00
Luca Greco
97a6924489 Bug 1549991 - No remove action on report submitted for add-ons without PERM_CAN_UNINSTALL. r=flod,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D30366

--HG--
extra : moz-landing-system : lando
2019-05-09 06:41:13 +00:00
Luca Greco
f513023141 Bug 1549706 - Use per addonType Fluent id for abuse-report remove and keep actions. r=flod,mstriemer
Depends on D30186

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

--HG--
extra : moz-landing-system : lando
2019-05-08 16:24:56 +00:00
Luca Greco
c8c39ad483 Bug 1549706 - Fix typo on abuse-report-broken-example Fluent string. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D30186

--HG--
extra : moz-landing-system : lando
2019-05-07 13:58:44 +00:00
Makoto Kato
53c91b6d96 Bug 1538458 - Part 2. Update tests that includes fieldset r=geckoview-reviewers,snorp
Update this junit test with this bug's test case. Actually, autofill_userpass
doesn't work with the latest GV, so I should like to update this to fix focus
timing.

Also, this does't run on our test infra because this requires API 26.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:17:28 +00:00
Makoto Kato
fcfbec0479 Bug 1538458 - Part 1. LoginManagerContent requires <input> or <input type="password"> element to recognize login form r=geckoview-reviewers,snorp
Actually, sample url has `<fieldset>` element, so LoginManagerContent cannot detects username field.

`LoginManagerContent.getUserNameAndPasswordFields` detects username field and password field when passing `<input>` element.  So we should pass password field if possible.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:18:12 +00:00
Jonas Allmann
a6cd76af0c Bug 1549356 - Remove setup from eval()-whitelist, r=ckerschb
Flip pref in test_basic_form_autocomplete.html to allow eval() temporarily.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 08:23:11 +00:00
Kershaw Chang
0b4a4597ab Bug 1545226 - Enable gtests r=valentin
This patch fixes some build issues on Android and also enables some gtests.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:56:51 +00:00
arthur.iakab
44c83c7596 Backed out changeset d9cf7d539c45 (bug 1549619) for turning Bug1443043 into permafail 2019-05-09 11:15:57 +03:00
Marcos Cáceres
5fe496724a Bug 1550412 - disable payments-related feature-policy tests on GeckoView due to crashes r=KWierso
Fixed an "and" that should be "or"

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

--HG--
extra : moz-landing-system : lando
2019-05-09 07:46:46 +00:00
Masayuki Nakano
19fbb1a392 Bug 1549925 - Mark all methods of nsIDocumentStateListener as can_run_script r=m_kato
`nsIDocumentStateListener` is a scriptable interface and each method may run
any script.  So, we should mark them as `can_run_script`.  Then, we need to
mark a lot of editing methods because we need to mark
`EditorBase::EndTransactionInternal()` and `EditorBase::DoTransactionInternal()`
as `MOZ_CAN_RUN_SCRIPT`.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 07:37:51 +00:00
Makoto Kato
d75677fa6d Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki
When using `CheckAsync` IPC, we don't hold `mozSpellChecker`. It causes that
`mozSpellChecker` may be destroyed during IPC call.

The destructor of `mozSpellChecker` destroys actor of spellchecker IPC via
`Send__delete__`. Although IPC rejects pending promises of async IPC during
destroying actor, it cannot remove replay messages from parent process.
So route error occurs.

So we have to keep `mozSpellChecker` during async IPC.

And we cannot convert attached test case to crashtest or mochitest since this
depends on navigation and timing. So I don't add it.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 13:21:55 +00:00