Commit Graph

650706 Commits

Author SHA1 Message Date
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
Dragana Damjanovic
28355093cb Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-08 19:29:16 +00:00
Wes Kocher
f4fbfffbe3 Bug 1501562 - Disable some frequent intermittent failing tests on geckoview testrunneractivity
Differential Revision: https://phabricator.services.mozilla.com/D30424

--HG--
extra : moz-landing-system : lando
2019-05-08 23:17:03 +00:00
Wes Kocher
15748c8677 Bug 1501562 - Update wpt expectation metadata for geckoview testrunneractivity
Differential Revision: https://phabricator.services.mozilla.com/D30423

--HG--
extra : moz-landing-system : lando
2019-05-08 23:16:50 +00:00
Nan Jiang
a40979488e Bug 1549784 - Register a telemetry event for trailhead enrollment r=Mardak,chutten
Register a new telemetry event for Trailhead enrollment.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:25:09 +00:00
Daniel Holbert
d4b5b44718 Bug 1548985: Don't let 'contain:size' suppress the intrinsic size of document-root SVG elements. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D30259

--HG--
extra : moz-landing-system : lando
2019-05-08 23:05:04 +00:00
Mike Hommey
0e4063bd7b Bug 1549886 - Enable MOZ_TELEMETRY_REPORTING by default when MOZILLA_OFFICIAL is set. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30336

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:56 +00:00
Mike Hommey
fa3631a2e3 Bug 1549886 - Move MOZ_TELEMETRY_REPORTING to python configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30335

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:54 +00:00
Gijs Kruitbosch
20b94dcde5 Bug 1549833, r=valentin
Differential Revision: https://phabricator.services.mozilla.com//D30285

--HG--
extra : rebase_source : dcd2ecd154c5423143f449f52411eda32c61a972
2019-05-07 23:23:30 +01:00
Oana Pop Rus
3d78756bdb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-09 01:01:06 +03:00
Oana Pop Rus
6934ea323a Merge inbound to mozilla-central. a=merge 2019-05-09 00:50:52 +03:00
Mark Banner
9f37542745 Bug 1549821 - Fix a couple of issues with the Amazon search engine urls. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D30256

--HG--
rename : browser/components/search/extensions/amazondotcom/_locales/de/messages.json => browser/components/search/extensions/amazon/_locales/de/messages.json
extra : moz-landing-system : lando
2019-05-08 11:50:55 +00:00
Mirko Brodesser
05691b5529 Bug 1549696: factor out functionality to determine fixup node in nsDocumentEncoder. r=hsivonen
In order to reduce code duplication and make the code more legible.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 11:09:51 +00:00
Yu Yin
26a8f7e677 Bug 1549278 - [mips] Wasm/Ion: generate better code for wasmSelect in some cases. r=jandem
port https://phabricator.services.mozilla.com/D27071 to mips.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 07:52:44 +00:00
Edgar Chen
f551bbe0a8 Bug 1548848 - Moving assigned nodes caused by slot removal should properly invalidate layout; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D30194

--HG--
extra : moz-landing-system : lando
2019-05-08 10:39:40 +00:00
Marcos Cáceres
ab5e4d5362 Bug 1549241 - disable payments-related feature-policy tests on GeckoView due to crashes r=baku
See https://bugzilla.mozilla.org/show_bug.cgi?id=1544637

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

--HG--
extra : moz-landing-system : lando
2019-05-08 08:53:25 +00:00
Jan de Mooij
fc5d7b6e60 Bug 1541404 part 24 - Fix JSScript::resetWarmUpCounter() calls to not affect Baseline. r=tcampbell
Most of the script->resetWarmUpCounter() calls are heuristics to delay Ion compilation.
This patch adds resetWarmUpCounterToDelayIonCompilation to make that more explicit.

This method does nothing if the script is not warm enough for Baseline compilation, to
ensure scripts never get stuck in the (Baseline) interpreter.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 10:04:19 +00:00
Makoto Kato
bda6300874 Bug 1418629 - Single quotation mark shouldn't always separator. r=Ehsan
This seems to be regression by bug 1362858.

Actually, single quotation mark is always separator for spellchecker after
landing bug 1462858. When user tries to input "doesn't",  "'" becomes separator
for spellchecker. Then "doesn" will be misspell word.

So we shouldn't mark single quotation mark as separator if user is inputting
word.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 09:36:05 +00:00
Masayuki Nakano
4579004eac Bug 1549319 - Make template methods marked as MOZ_CAN_RUN_SCRIPT take only EditorDOMPoint (i.e., not allow EditorRawDOMPoint) r=m_kato
It'd be better to change copy constructor of `EditorDOMPointBase` to explicit,
but it'd require too many changes in editor code.  So, this patch just changes
each method callers only.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 09:40:17 +00:00
Masayuki Nakano
8eddd573c6 Bug 1549306 - Mark EditorBase::CreateNodeWithTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30052

--HG--
extra : moz-landing-system : lando
2019-05-08 07:00:45 +00:00
Masayuki Nakano
f761cbd2bc Bug 1549302 - Mark EditorBase::DeleteTextWithTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30049

--HG--
extra : moz-landing-system : lando
2019-05-08 06:31:48 +00:00
Jim Porter
679c9bfc7e Bug 1549177 - Fix a race condition when cancelling content JS during navigation; r=smaug
This patch fixes a race condition where we could request that a content page's
JS be cancelled during navigation in `HangMonitorChild::InterruptCallback`,
but the new page has already started loading by the time the JS is cancelled in
`XPCJSContext::InterruptCallback`, thus cancelling the JS of the new page. To
fix this, we now handle everything in `HangMonitorChild::InterruptCallback`,
making sure to only do anything for *content* scripts (to avoid inadvertently
cancelling the browser's JS).

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

--HG--
extra : moz-landing-system : lando
2019-05-07 21:56:58 +00:00
Edwin Gao
fc6d3277ec Bug 1549619 - task efficiency: revisit chunking of mochitest-devtools-chrome r=jmaher
Changes:
- reduced `linux64/debug` chunking to 14 (from 16)
- reduced `linux64-ccov/debug` to 14 (from 16)
- increased `windows64-ccov` to 16 (from 10)
- maintain all non-ccov debug to 8
- maintain all asan to 8
- reduce everything else to 5

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:20:53 +00:00