Commit Graph

624730 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
e26af16187 Bug 1495791 - Add a reftest.
Before https://github.com/servo/webrender/pull/3315 this rendered a red square
under the green square on WR.
2018-11-20 14:23:11 +01:00
Ms2ger
be8b28960a Bug 1506352 - Followup: Add missing blank line to placate flake8. 2018-11-20 14:19:32 +01:00
Ms2ger
55728e3099 Bug 1506352 - Add a --log-wptreport option to jstests; r=bbouvier,jgraham 2018-11-20 14:00:23 +01:00
Christoph Kerschbaumer
fdf9634845 Bug 1508596: Remove unused CreatePrincipalFromReferrer within nsDocshell. r=jkt 2018-11-20 12:12:01 +01:00
Andrew Osmond
e18584c788 Bug 1507691 - Add image/webp to default HTTP Accept header. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D12136
2018-11-20 06:42:04 -05:00
Tooru Fujisawa
3393c83db7 Bug 1505511 - Part 3: Support WeakMap and WeakSet in Xray. r=bholley 2018-11-20 20:21:32 +09:00
Tooru Fujisawa
9008ca14c2 Bug 1505511 - Part 2: Use ClassSpec in WeakSetObject. r=evilpie 2018-11-20 20:21:32 +09:00
Tooru Fujisawa
b16b06c87d Bug 1505511 - Part 1: Use ClassSpec in WeakMapObject. r=evilpie 2018-11-20 20:21:32 +09:00
Gabriele Svelto
3521fc20c7 Bug 1502284 - Cleanup of the observer service code r=erahm
This refactors the observer service code to improve readability, uses MOZ_TRY
and other checking macros wherever possible to simplify error handling and
replaces the ObserverRef class with the more generic nsMaybeWeakPtr class.
This cuts away some code and halves the amount of memory needed to store an
event listener. The external behavior is almost unchanged save for some error
codes which are now more specific.

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

--HG--
extra : source : 10d910aa9f31435116a718bafe8a2b71c61fe23d
2018-11-12 11:04:17 +01:00
arthur.iakab
bc099328fe Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 11:46:12 +02:00
arthur.iakab
55895c49f5 Merge autoland to mozilla-central. a=merge 2018-11-20 11:34:11 +02:00
Sebastian Hengst
30252fd68c Bug 1508577 - disable browser/components/payments/test/browser/browser_tab_modal.js on Linux opt-ish for permafails (reason unknown). a=test-disabling 2018-11-20 11:05:40 +02:00
arthur.iakab
e46aa1cd0c Backed out changeset b876444d90a6 (bug 1469036) for causing mochitest failures on test_console_serviceworker_cached.html and test_devtools_track_serviceworker_time.html a=backout 2018-11-20 10:18:02 +02:00
Cameron McCormack
3e8ab627f8 Bug 1507961 - Check that an SVG DOM item wasn't removed from its list before scheduling its animation update r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D12361

--HG--
extra : moz-landing-system : lando
2018-11-20 07:01:49 +00:00
Tooru Fujisawa
f68ba1e757 Bug 1508178 - Part 2: Add a script to align the stack transition comment. r=jorendorff 2018-11-20 14:45:09 +09:00
Tooru Fujisawa
7b18c2b3ca Bug 1508178 - Part 1: Move the stack transition comment in BytecodeEmitter and helper classes into its own line, and align globally. r=jorendorff 2018-11-20 14:45:08 +09:00
Razvan Maries
208d16134b Merge mozilla-inbound to mozilla-central a=merge 2018-11-20 07:03:17 +02:00
David Major
76236b5c34 Bug 1507842: Fix tab/space lint failure on a CLOSED TREE 2018-11-19 20:59:36 -05:00
Markus Stange
164289e1b6 Bug 1501930 - Make the performance attribute on WorkerGlobalScope Replaceable, as per spec. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D9899

--HG--
extra : moz-landing-system : lando
2018-11-20 01:38:37 +00:00
David Major
ca5f5855d3 Bug 1508416: Check TLS initialization before reading sAlreadyHandlingTrap. r=luke
--HG--
extra : rebase_source : e8d9c35323a54540b57ef4efed2fe05548e07260
2018-11-19 20:30:51 -05:00
Andrew Swan
d6372b1489 Bug 1451532 follow-up: fix eslint on CLOSED TREE r=me
--HG--
extra : amend_source : b437275ac711d2f60879ffd0a86ae3e061b1ccb9
2018-11-19 17:26:42 -08:00
Boris Zbarsky
43bee0536a Bug 1507842. Removing an src attribute from an iframe should load about:blank in it. r=baku 2018-11-19 20:20:23 -05:00
Boris Zbarsky
47f81c215b Bug 1507540 part 7. Use notxpcom more in dom/. r=mccr8 2018-11-19 20:20:17 -05:00
Boris Zbarsky
64ae41821b Bug 1507540 part 6. Make nsIVariant's "type" a notxpcom attribute. r=froydnj 2018-11-19 20:20:05 -05:00
Boris Zbarsky
0216588e17 Bug 1507540 part 5. Use more notxpcom attributes in widget/. r=ehsan 2018-11-19 20:17:54 -05:00
Boris Zbarsky
ec2e099db9 Bug 1507540 part 4. Remove unused nsIProfiler::GetStartParams. r=mconley 2018-11-19 20:17:53 -05:00
Boris Zbarsky
9691e7ba88 Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin 2018-11-19 20:17:53 -05:00
Boris Zbarsky
71db58cf83 Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
Boris Zbarsky
b88f0dc956 Bug 1507540 part 1. Use more notxpcom attributes in caps/. r=mrbkap 2018-11-19 20:17:52 -05:00
Daniel Holbert
03a5bc2fc3 Bug 1494801: Don't add additional "contain:paint" clipping on scroll frames. r=mattwoodrow
The contain:paint clipping would be redundant and hence unnecessary in this
scenario, because:
- Scroll frames already clip their descendant frames.
- contain:paint has other (non-clipping-related) effects that prevent
descendant frames from escaping the scrollframe ancestor.

So, no further clipping is required.

This is a behavior change - it works around an issue that makes us fail to
repaint mousewheel-scrolled content inside of any scrollframe that returns true
from ShouldApplyOverflowClipping().

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

--HG--
extra : moz-landing-system : lando
2018-11-19 23:45:19 +00:00
florin.strugariu
8ef2b84cb6 Bug 1503990 add additional pages to tp6 r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D11058

--HG--
extra : moz-landing-system : lando
2018-11-20 01:21:38 +00:00
alwu
3752749336 Bug 1507615 - part2 : add synthesizeTouch() for BrowserTestUtils and test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12334

--HG--
extra : moz-landing-system : lando
2018-11-20 01:19:18 +00:00
alwu
8c0164ff2e Bug 1507615 - part1 : don't activate document if the 'pointdown' is originated from touch event r=smaug
For touch events, we use 'touchend' to activate document, because 'touchstart' can be the start of either draging
or touch. As 'pointdown' is a precedent event of the 'touchstart', we should not activate document if the source of
event is from touch event.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 01:20:09 +00:00
Qinghao_Jack_Song
79d49a6b70 Bug 1507301 - Migrate about:sessionrestore and about:welcomeback to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D11994

--HG--
extra : moz-landing-system : lando
2018-11-19 22:01:58 +00:00
Francesco Lodolo (:flod)
2106dfb1d2 Bug 1507469 - [trs] Search engine setup for Firefox for Triqui r=delphine
Differential Revision: https://phabricator.services.mozilla.com/D12207

--HG--
extra : moz-landing-system : lando
2018-11-20 00:53:39 +00:00
Ed Lee
52414287aa Bug 1508407 - Add Return-to-AMO firstrun, Pocket-personalization attachment and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12343

--HG--
rename : browser/components/newtab/content-src/components/StartupOverlay/StartupOverlay.jsx => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/StartupOverlay.jsx
rename : browser/components/newtab/content-src/components/StartupOverlay/_StartupOverlay.scss => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/_StartupOverlay.scss
extra : moz-landing-system : lando
2018-11-19 22:05:29 +00:00
byron jones
f7dfd8df9e Bug 1508256 - replace hunspell's README.mozilla with moz.yaml; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D12298

--HG--
rename : extensions/spellcheck/hunspell/src/license.hunspell => extensions/spellcheck/hunspell/src/LICENSE
extra : moz-landing-system : lando
2018-11-20 01:33:40 +00:00
Andreea Pavel
d8849bad00 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-20 07:12:30 +02:00
Cameron McCormack
9c372819c4 Bug 1508013 - Run rustfmt on servo/ports/geckolib/ r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D12206

--HG--
extra : moz-landing-system : lando
2018-11-20 04:37:53 +00:00
Andreea Pavel
17960ad8f1 Backed out changeset ed44376f7c7a (bug 1507961) for failing crashtests on a CLOSED TREE 2018-11-20 06:09:41 +02:00
Hiroyuki Ikezoe
9bebe3cf91 Bug 1423709 - Reftests for auto initial zoom value calculation. r=botond
There are 7 test cases in this commit.

 - no-viewport.html
   A test case that wider contents should be scaled down even if no viewport
   meta tag exists.

 - viewport-width.html
   A test case that wider contents should be scaled down (i.e. fit to the
   device screen).

 - minimum-scale.html
   A test case that the initial zoom value is clamped by minimum-scale.

 - initial-scale-0.html
   A test case that specified initial-scale value is less than the default
   minimum scale value (0.1), in such cases we shrink the content to fit
   the display size.

 - initial-scale-100.html
   A test case that specified initial-scale value is greater than the default
   maximum scale value (10), in such cases we shrink the content to fit
   the display size.

 - initial-scale-1.html
   A test case that the auto initial zoom calculation doesn't apply to the
   documents specifying initial-scale.

 - box-shadow.html
   A test case that box-shadow-ed area isn't incorporated into the initial zoom
   value.

Depends on D10197

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

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:58 +00:00
Hiroyuki Ikezoe
3b0508eef0 Bug 1423709 - Adapt initial zoom value to fit the wider contents to screen device width. r=botond
What we need to do here is to scale down the document as if the document was pinched in
to fit the contents to screen width when all the following conditions are met.

 - it's the first paint for the document
 - no initial-scale is specified in meta viewport tags
 - no mRestoreResolution hasn't set
 - the content width is wider than the initial viewport width

Depends on D10196

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

--HG--
extra : moz-landing-system : lando
2018-11-20 03:56:44 +00:00
Hiroyuki Ikezoe
470587b47e Bug 1423709 - Add initial-scale=1 for tests supposing the page is rendered 1:1 scale. r=botond
Depends on D10195

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

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:57 +00:00
Hiroyuki Ikezoe
d211dab1cc Bug 1423709 - Set mDefaultZoomValid is false in the case of auto-scale. r=botond
Depends on D10194

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

--HG--
extra : moz-landing-system : lando
2018-11-20 03:55:56 +00:00
Hiroyuki Ikezoe
9384f9338a Bug 1423709 - Change boolean arguments for nsViewportInfo to enum classes. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D10194

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:57 +00:00
Micah Tigley
40e7017dba Bug 1507746 - Shorten the flexbox container's selector in the accordion header if its too long. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12292

--HG--
extra : moz-landing-system : lando
2018-11-20 01:55:29 +00:00
Cameron McCormack
4039b4c7c3 Bug 1507961 - Check that an SVG DOM item wasn't removed from its list before scheduling its animation update r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D12361

--HG--
extra : moz-landing-system : lando
2018-11-20 00:54:23 +00:00
Lina Cambridge
4e4798bdb4 Bug 1506287 - Check changed flags when merging child lists for local and remote nodes. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D12079

--HG--
extra : moz-landing-system : lando
2018-11-20 02:21:08 +00:00
Ehsan Akhgari
68a4d46702 Bug 1507677 - Add nsIContentPermissionRequest.topLevelPrincipal r=baku
This is required for the storage access API permission prompt.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 01:52:47 +00:00
Ehsan Akhgari
29136a2209 Bug 1492549 - Enable blocking access to storage from tracking resources by default on all desktop platforms r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12043

--HG--
extra : moz-landing-system : lando
2018-11-19 23:28:44 +00:00