Commit Graph

650728 Commits

Author SHA1 Message Date
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
Brian Birtles
e65a7d6170 Bug 1550403 - Drop call to Servo_Property_IsAnimatable in SMILCSSProperty::IsPropertyAnimatable; r=hiro
As per bug 1353918 comment 13, all these properties are animatable on the Servo
side so we no longer need this check.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 06:42:17 +00:00
Andrea Marchesini
42390cde39 Bug 1546598 - Remove domain cookies in nsICookieService.removeCookiesFromRootDomain(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D30384

--HG--
extra : moz-landing-system : lando
2019-05-08 22:37:02 +00:00
Ionut Goldan
ab23804ea9 Bug 1548577 - Add missing chromium counterparts r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D30188

--HG--
extra : moz-landing-system : lando
2019-05-08 19:39:10 +00:00
Julian Descottes
efc5cfeb74 Bug 1550213 - Fix devtools try preset r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30430

--HG--
extra : moz-landing-system : lando
2019-05-08 22:14:20 +00:00
Boris Chiou
029fb647e7 Bug 1545309 - Run ResizeObserver eventloop test after loading successfully. r=dholbert
In test0(), we use the callback of `requestAnimationFrame` to know in which
eventloop (i.e. `Tick()`) we are. However, we may not trigger the callback
of `requestAnimationFrame` if we are not visible. This is an optimization
in Bug 1145439.

Detail:
We use `Document::ShouldThrottleFrameRequests()` to check if we should throttle
the frame requests in the current `Tick()`. This function returns true if we
didn't get painted during the last paint, so we are not visible, so throttle
the frame requests. Note that because we have to paint this document at least
once to unthrottle it, we will drop one `requestAnimationFrame` frame when a
document that previously wasn't visible scrolls into view.

Therefore, we should make sure we got the first paint before running test0().
Using onload is not perfect, but we don't have other better choose for now.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:53:09 +00:00
Boris Chiou
006096c775 Bug 1545309 - Make test function independent from others in eventloop.html. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D29904

--HG--
extra : moz-landing-system : lando
2019-05-06 22:52:54 +00:00
Ting-Yu Lin
62831385c7 Bug 1494100 Part 3 - Implement "contain:size" for ColumnSetWrapperFrame. r=dholbert
Add multicol-width-004.html and multicol-width-005.html to test "width:
min-content" and "width: max-content" with column-span:all children.
There's no size containment in these tests.

Note it may be worth to reuse nsBlockFrame's mCachedMinISize and
mCachedPrefISize to cache intrinsic size for ColumnSetWrapperFrame, but
this can be done separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:58:39 +00:00
Ting-Yu Lin
2598c03a8b Bug 1494100 Part 2 - Check column-span pref before checking the size containment in nsColumnSetFrame. r=dholbert
If column-span is enabled, nsColumnSetFrame becomes an inner frame under
ColumnSetWrapperFrame, and that outer frame is then where we should be
handling size containment.

This patch doesn't change the logic but make the logic easier to
simplify once we start eliminating column-span pref.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:49:40 +00:00
Ting-Yu Lin
1dc9d49936 Bug 1494100 Part 1 - Create ColumnUtils, and extract utility functions in nsColumnSetFrame into it. r=dholbert
The functions move to ColumnUtils will be used by ColumnSetWrapperFrame
to implement GetPrefISize() and GetMinISize().

Also, I verify locally that non-unified build is still working by
s/UNIFIED_SOURCES/SOURCES/ in layout/generic/moz.build.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:49:31 +00:00
Botond Ballo
289a01ff3a Bug 1477610 - Update bug reference in disabled annotation of viewport-resize-event-on-load-overflowing-page.html. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D30418

--HG--
extra : moz-landing-system : lando
2019-05-09 03:57:15 +00:00
Botond Ballo
5fa4b3ae8b Bug 1477610 - Wait for the load event before running viewport-unscaled-size-iframe.html. r=hiro
This ensures that the iframe is loaded by the time we query its visual viewport size.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 03:57:08 +00:00
Botond Ballo
c9b2e53ef1 Bug 1477610 - Make sure a resize during page load doesn't get mis-identified as a resize caused by a subsequent layout change. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D30416

--HG--
extra : moz-landing-system : lando
2019-05-09 03:56:58 +00:00
Botond Ballo
c681e36378 Bug 1477610 - Run Visual Viewport web platform tests with APZ zooming prefs enabled. r=kats
This causes some scrollbar-related assertions to fail on desktop because
scrollbar behaviour with desktop zooming is not correct yet.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 03:56:51 +00:00
Botond Ballo
9ec620930d Bug 1477610 - Flush layout when reporting the visual viewport size via the Visual Viewport API. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D29089

--HG--
extra : moz-landing-system : lando
2019-05-09 03:56:41 +00:00
Emilio Cobos Álvarez
936ebd1f3a Bug 1550389 - Remove unnecessary mut usage. 2019-05-09 05:45:10 +02:00
Oana Pop Rus
c1f22ae4da Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-09 06:42:25 +03:00
Oana Pop Rus
b9da45f63c Merge inbound to mozilla-central. a=merge 2019-05-09 06:34:15 +03:00
Cameron McCormack
f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Ed Lee
de6f8d5227 Bug 1550300 - Add top source, unblank discovery and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D30438

--HG--
extra : moz-landing-system : lando
2019-05-09 01:42:56 +00:00
Wes Kocher
3fb822b110 Bug 1501562 - Fixup some wpt metadata syntax to unbreak wpt tests
Differential Revision: https://phabricator.services.mozilla.com/D30436

--HG--
extra : moz-landing-system : lando
2019-05-09 00:22:53 +00:00
Gijs Kruitbosch
ca0496fc85 Bug 1549858 - move blocklist json into tests, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D30394

--HG--
extra : moz-landing-system : lando
2019-05-08 19:04:51 +00:00
Drew Willcoxon
47d0d9dc85 Bug 1548198 - Remove 1px of padding in the urlbar input so that text in the popup is aligned with text in the input. r=dao
In quantumbar, favicons have 8px of margin-end:

https://searchfox.org/mozilla-central/rev/197210b8c139b64f642edaa3336d26b9c1761568/browser/themes/shared/urlbar-autocomplete.inc.css#9
https://searchfox.org/mozilla-central/rev/197210b8c139b64f642edaa3336d26b9c1761568/browser/themes/shared/urlbar-autocomplete.inc.css#100

But in awesomebar, it's 9px, e.g.: https://searchfox.org/mozilla-central/rev/197210b8c139b64f642edaa3336d26b9c1761568/toolkit/themes/osx/global/autocomplete.css#46

It's nice that quantumbar has the same amount of space between the type icon and favicon as it does between the favicon and title, unlike awesomebar.  i.e., there's a single margin-end value for both .urlbarView-type-icon and .urlbarView-favicon (urlbarViewIconMarginEnd, 8px).  So instead of adding another 9px value for .urlbarView-favicon's margin-end, this patch removes the 1px of padding in the urlbar input.  That has the added benefit that the space around the identity box and its search icon (shown when typing) is now more symmetrical, although there's still 1px more space on its right side than its left side.

This patch also adjusts spacing in the awesomebar popup so the alignment remains right there.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 21:22:06 +00:00
Randall E. Barker
df77b15b03 Bug 1550185 - Ensure GeckoView CrashHandler.getRootException() does not return null r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30422

--HG--
extra : moz-landing-system : lando
2019-05-08 23:49:04 +00:00
Boris Chiou
f97f4fc49a Bug 1545239 - Unobserve the target if using a different observed box. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D30129

--HG--
extra : moz-landing-system : lando
2019-05-08 20:54:43 +00:00
Boris Chiou
efb8ebe0fe Bug 1545239 - Add tests for border-box and different writing modes. r=dholbert
1. Add new tests with an extra argument of "content-box"/"border-box" in
   observe(), and test contectBoxSize and borderBoxSize.
2. Add a new test for changing the writing mode. Changing writing mode makes
   the element change the orientation, but the logical box size is still
   the same, so we shouldn't fire the event.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 21:27:55 +00:00
Boris Chiou
d8c029b6bf Bug 1545239 - Make each test cases independent in resize-observer/observe.html. r=dholbert
I think it's better to make sure each test is independent from others, so we
create elements inside each test function. (Only change observe.html
because I touch only this file in this bug.)

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:54:39 +00:00
Boris Chiou
7ab6e6d017 Bug 1545239 - Update ResizeObserver and ResizeObserverEntry. r=smaug,dholbert
In this patch, we support
1. content-box (default)
2. border-box

And let ResizeObserverEntry expose these box sizes.

Besides, we store the mLastReportedSize as the logical size.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:54:36 +00:00
Boris Chiou
6521583602 Bug 1545239 - Move GetNodeDepth into ResizeObserver.cpp r=dholbert
GetNodeDepth() is a special version for ResizeObserver to get the depth
of node (across Shadow DOM). Based on the comment in D27615, it's better
to move it into ResizeObserver.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:52:51 +00:00
Denis Palmeiro
dfac78ef7c bug 1530011: When calculating event durations, if we reach the end of the event list then use the last event as the end event for any events that remain on the stack r=sfink
An assert occurs while calculating durations whenever we reach the end of the event list and we didn't encounter the TraceLogger_Stop events for events that were still active when the profiler stopped.  The fix is to use the last event as the end event for any remaining events on the stack.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:49:19 +00:00