Commit Graph

606019 Commits

Author SHA1 Message Date
Martin Stransky
6eaa46bc39 Bug 1406533 - Configure compositor widget to shape X11 window on non-compositing WM, r=lsalzman
Also remove mozilla.widget.use-argb-visuals which is useless since we don't allow transparent
toplevel windows.

MozReview-Commit-ID: 2ep3daeLZTG

--HG--
extra : rebase_source : 9ca5f2d0ded6dec1827caf2cb87e81fcb9b11792
2018-07-24 16:11:37 +02:00
Martin Stransky
7cf247d562 Bug 1406533 - Implement a way to transfer shape option from nsWindow to WindowSurfaceX11Image, r=lsalzman
Add a new config attribute to GtkCompositorWidgetInitData to allow transfer
the shape option from nsWindow. Also when shape is requested don't use XRender
or Shm widgets - only X11Image is supported now.

MozReview-Commit-ID: ElxnGQpLOry

--HG--
extra : rebase_source : 03552fc4103f6b22c512c07fe37102701998ed94
2018-07-24 16:07:04 +02:00
Martin Stransky
c7e7412047 Bug 1406533 - Create and apply XShape mask at WindowSurfaceX11Image, r=lsalzman
Derived routines for shape bitmap mask form nsWindow.cpp,
at WindowSurfaceX11Image we compose a final RGBA image and then create
the shape mask from image alpha channel.

Also the implementation is slightly simplified as it's meant as a fallback only.

MozReview-Commit-ID: 6VtGcsVKlcv

--HG--
extra : rebase_source : e8b96d68082ae687e376bc89c79f88f9c34cdc15
2018-07-24 16:02:05 +02:00
Andreea Pavel
1df5cdcc43 Backed out changeset a3f6db75bb07 (bug 1473586) for failing talos headless at ts_paint_heavy on a CLOSED TREE 2018-07-25 10:27:48 +03:00
Daisuke Akatsuka
85d81de980 Bug 1473586: Reduce testing time and add requestLongerTimeout. r=gl
MozReview-Commit-ID: 75EaEwkISrY

--HG--
extra : rebase_source : 2e852bb2126ff83db902c10db1e6c48c9ec146e2
2018-07-25 12:28:03 +09:00
Bogdan Tara
8cd47f8f14 Backed out 2 changesets (bug 1476393) for toolkit/components/passwordmgr/ failures CLOSED TREE
Backed out changeset b22dd03454ff (bug 1476393)
Backed out changeset cb876d3e8a69 (bug 1476393)
2018-07-25 06:39:58 +03:00
Brad Werth
453b9eabbf Bug 1471894 Part 3: Update expectation to pass for parts of a WPT test. r=dholbert
MozReview-Commit-ID: K6nU6C76gZg

--HG--
extra : rebase_source : 4b2dad845ba4fb36fdd1ac3f0c1ec87ff260eb84
2018-07-24 13:51:37 -07:00
Brad Werth
0af3272a74 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : a054942c6c3bf67824e9352baf8828a7fbeeac2f
2018-07-12 11:55:32 -07:00
Brad Werth
969d967c9f Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : 36a6d337deb93e3b12cbc38d4bc0b7db3eaeb480
2018-07-12 11:55:32 -07:00
Brad Werth
6a7460adae Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Robert Bartlensky
48c813758b Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D2266

--HG--
extra : moz-landing-system : lando
2018-07-23 23:38:46 +00:00
Chris Pearce
1087bd7454 Bug 1477881 - Ensure AutoplayPermissionRequest can't double report a response. r=alwu
We cancel the permission request in the AutoplayPermissionRequest destructor,
and if we get a genuine cancel from the doorhanger. The Request reports the
cancel to the AutoplayPermissionManager, but we reuse the same manager across
different requests. So if a second request for permission comes in, we create a
new AutoplayPermissionRequest and fire that off to the front end code, but the
first request could be destroyed after the second request is dispatched but
before the response for the second request has retuned. Thus and the cancel in
the first's destructor could be reported to the manager as the second's result.

We should clear the AutoplayPermissionRequest's reference to the Manager in
Approve() and Cancel() so that we can't mixup the responses like this.

MozReview-Commit-ID: 1qYJfLOaqST

--HG--
extra : rebase_source : 871889da5420aff83c50933863ee3dd3d496bc12
2018-07-24 10:23:05 +12:00
Bogdan Tara
1cd7dec7b6 Backed out 4 changesets (bug 1468020) for crashtest failures on gfx/tests/crashtests/1468020.html CLOSED TREE
Backed out changeset 262d541a474f (bug 1468020)
Backed out changeset 621ab5087373 (bug 1468020)
Backed out changeset 866492bf5ccf (bug 1468020)
Backed out changeset eb6a2ae68d09 (bug 1468020)
2018-07-24 22:57:02 +03:00
Bogdan Tara
d45fc12653 Backed out 2 changesets (bug 1471894) for dialog.html wpt failures and crashtest failures CLOSED TREE
Backed out changeset a20576472778 (bug 1471894)
Backed out changeset 7342b2da7568 (bug 1471894)
2018-07-24 22:45:27 +03:00
Christian Holler
32e2fbf410 Bug 1476098 - Add Google and Mozilla API keys to ASan Nightly. r=glandium
MozReview-Commit-ID: AAQWWiHeLB0

--HG--
extra : rebase_source : f9ea0d4a704ec77b9d4822ea9042339fa45b33f0
2018-07-21 11:49:54 +02:00
Imanol Fernandez
c7746a52c2 Bug 1476380 - Remove the spin wait in Android gfxVRExternal PullState calls; r=kip
MozReview-Commit-ID: 7pwMhE7emwY

--HG--
extra : rebase_source : f7ce0053855e51c0b166a0a9e686e2f2e9a09e22
2018-07-24 16:27:58 +02:00
Brad Werth
79c23e6597 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : a054942c6c3bf67824e9352baf8828a7fbeeac2f
2018-07-12 11:55:32 -07:00
Brad Werth
769888390c Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : f452f1e4825dbd7a9165eb780774e643112e786e
2018-07-11 16:52:33 -07:00
Matthew Noorenberghe
1671d3642c Bug 1463538 - Fix previously uncaught errors in PaymentReqest UI tests. r=jaws
MozReview-Commit-ID: JUu3ljLLDLO

--HG--
extra : rebase_source : c1f72bc856bba0760b1ee427327ef6e4c7ec806a
2018-07-23 11:38:47 -07:00
Matthew Noorenberghe
8be80047e1 Bug 1463538 - Fail PaymentRequest UI tests upon console errors. r=jaws
MozReview-Commit-ID: 2IzUaENZjfl

--HG--
extra : rebase_source : 3cce2b9a6ec32ba02c0fd60fa3c2c7ee1e6da0a5
2018-07-24 19:24:29 -07:00
Matthew Noorenberghe
791b509e81 Bug 1463538 - Make all <input> in the PaymentRequest debug panel live. r=sfoster
MozReview-Commit-ID: 4nutxHpmnlc

--HG--
extra : rebase_source : 5c4a431997b39bd34675ddf244e641af35a3c1ae
2018-07-23 20:01:19 -07:00
Matthew Noorenberghe
a6b3276e31 Bug 1463538 - Remove the formautofill-storage-changed observer at PR dialog unload. r=jaws
MozReview-Commit-ID: H0PWlps796I

--HG--
extra : rebase_source : 52430c8af7604c33be87199953fc45f16b62bd48
2018-07-21 22:17:49 -07:00
Hiroyuki Ikezoe
4785e473c5 Bug 1478158 - Don't expose prefers-reduced-motion setting in content if Resist Fingerprinting enabled. r=heycam
MozReview-Commit-ID: JaTTT0HIjFx

--HG--
extra : rebase_source : bf3d44ed400960de5dd3d1b6e8571eab859c8897
2018-07-25 07:36:19 +09:00
Hiroyuki Ikezoe
ba664f7542 Bug 1444816 - Use navigation start time in the case where the refresh driver's time stamp is behind from the start time to avoid negative timelime time at the very beginning of document load. r=birtles
MozReview-Commit-ID: GTnDNRMAWNQ

--HG--
extra : rebase_source : c741ffdd9b90bf1e11ebc3dfc462b60e032aa2f4
2018-07-25 09:41:14 +09:00
Hiroyuki Ikezoe
580f683896 Bug 1444816 - Drop RefPtr for nsDOMNavigationTiming in DocumentTimeline::ToTimeStamp. r=birtles
We don't need to hold the strong reference in DocumentTimeline::ToTimeStamp().

MozReview-Commit-ID: 85UQBoPTjfA

--HG--
extra : rebase_source : 43f957d5b6cb9a2ed0db7105b23c634b04d10bc2
2018-07-25 08:54:01 +09:00
Jed Davis
ec4764f25f Bug 1243108 - Work around Linux kernel bug causing broker responses to be dropped. r=gcp
MozReview-Commit-ID: LX2kEXybFGW

--HG--
extra : rebase_source : 922af6565786ec0eb4d041606d094b4a3fde739b
2018-07-19 18:20:03 -06:00
Ed Lee
077dad8094 Bug 1478144 - Add TippyTop RemoteSettings, TaskCluster MochiTests and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: CwJ4zU7CvnD

--HG--
extra : rebase_source : 88f29fe32245e7b73faa399df0d69a454eb19865
2018-07-24 14:02:06 -07:00
Brian Grinstead
40b40ad653 Bug 1478128 - Rename MOZ_BROWSER_CHROME_URL_QUOTED to BROWSER_CHROME_URL_QUOTED;r=gps
MozReview-Commit-ID: G73z0y5A8Re

--HG--
extra : rebase_source : 074d5085d37d726716b7522e1a049c98ea3e44c7
2018-07-24 15:25:18 -07:00
Jeff Gilbert
c4da2d9fee Bug 1471632 - Cherry-pick mingw clang compilation fix.
Differential Revision: https://phabricator.services.mozilla.com/D2346

--HG--
extra : moz-landing-system : lando
2018-07-24 23:23:52 +00:00
Dan Glastonbury
5ba8f2364f Bug 1330375 - P4: GetInnerText perf regression test. r=heycam
Mochitest to ensure that that zero reflows occur while iterating table
calling innerText and setting `display:none`.

MozReview-Commit-ID: K5vrsj3ogWy

--HG--
extra : rebase_source : 61ceacc5133db6a558a4e8b80f72f18a7195d153
2018-07-19 17:34:48 +10:00
Dan Glastonbury
04130fc7b4 Bug 1330375 - P3: Add WPT test to ensure innerText works with dynamic changes. r=heycam
To check that changes in P1 still work when layout is required.

MozReview-Commit-ID: ArqwDQXQwnR

--HG--
extra : rebase_source : 28cec6a6805bbd3c993c91115c663b791e35a20d
2018-07-12 13:25:56 +10:00
Dan Glastonbury
19dd66bbb1 Bug 1330375 - P2: Reduce layout flushes in nsGenericHTMLElement::GetInnerText. r=emilio,heycam
Instead of unconditionally flushing layout, flush style and skip flush
layout unless any frame state bits on the element, or ancestors,
indicate that a flush is required.

MozReview-Commit-ID: 4zaB1eaE0fm

--HG--
extra : rebase_source : a02b014e127f8fc3e27afedb2012e09a7e8905b8
2018-07-19 14:26:46 +10:00
Dan Glastonbury
165882c3b0 Bug 1330375 - P1: Helper for checking for ancestor of dirty reflow root. r=emilio,heycam,rwood
Including refactoring mDirtyRoots into nsIPresShell to avoid virtual call.

MozReview-Commit-ID: KxST8FMsZl9

--HG--
extra : rebase_source : 1be1a8065815bb1e67293c7839c6e9189fc693bc
2018-07-19 14:18:53 +10:00
Brad Werth
653730a83e Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Julian Descottes
6b744d9ea6 Bug 1443923 - part6: Update markup view when a custom element is defined;r=bgrins
MozReview-Commit-ID: BIDonbaoewh

--HG--
extra : rebase_source : ec8d22e890445e9185597014f610effac23ef753
2018-07-07 09:57:13 +02:00
Julian Descottes
c81dc03e34 Bug 1443923 - part5: Emit chrome-only event customelementdefined for DevTools;r=masayuki
MozReview-Commit-ID: GCFhhpVj5VS

--HG--
extra : rebase_source : 358985aafe8f517c16be5a570fea7ed0ef68b6c3
2018-07-20 11:01:43 +02:00
Julian Descottes
6aa9e3336e Bug 1443923 - part4: Expose isCustomElementName to DevTools via InspectorUtils;r=emilio
MozReview-Commit-ID: GaHP1gOCwoB

--HG--
extra : rebase_source : ee275d6643300e09a92e79c3aa0b84a3b96d5581
2018-07-19 13:59:05 +02:00
Mike Shal
57f8df0a94 Bug 1473667 - Handle multiple GENERATED_FILES outputs in the faster make backend; r=gps
For files that come from the objdir in install manifests (eg: '!buildid.h'),
the FasterMake backend runs 'make -C dirname filename' to build the file
with the RecursiveMake backend before the install manifest is processed.
This works fine for GENERATED_FILES that produce a single target, but if
the GENERATED_FILES invocation produces multiple targets, the FasterMake
backend will run the command multiple times. Eg:

GENERATED_FILES += [('output1', 'output2')]
...
make -C dirname output1
make -C dirname output2

These invocations may be run in parallel, and would produce both output1
and output2 twice.

Instead we can track the GeneratedFile objects as they are emitted, and
only add the first output as a dependency on the install manifest. The
RecursiveMake backend is then only invoked once for the whole group of
GENERATED_FILES.

MozReview-Commit-ID: 6mvkHow2V2i

--HG--
extra : rebase_source : c6cd50d972fe8764831544685a63921e0548e765
2018-07-05 11:48:59 -04:00
Kartikaya Gupta
76a7f3cba7 Bug 1468020 - Add crashtest. r=mstange
MozReview-Commit-ID: KeWy2KHPSjl

--HG--
extra : rebase_source : d22c55d1d0fa17bf722f4540ab7fb3243a3001af
2018-07-24 14:21:09 -04:00
Kartikaya Gupta
970bd5648f Bug 1468020 - Extract helper function to avoid duplicated code. r=mstange
MozReview-Commit-ID: JuirkAId7Km

--HG--
extra : rebase_source : 3e2b3d228b3ad6dafc11dc89631778cd23580c9c
2018-07-24 14:21:08 -04:00
Kartikaya Gupta
af58b4a732 Bug 1468020 - Conform to static analysis bot suggestion. r=mstange
MozReview-Commit-ID: KeWy2KHPSjk

--HG--
extra : rebase_source : 4280ba5c9f2b77e5c5ed98cfc9b9e586c4794add
2018-07-24 14:21:08 -04:00
Kartikaya Gupta
614fc7e747 Bug 1468020 - Don't layerize filter and mask items. r=mstange
This restricts the active-item-detection code to wrap lists because
other wrapper items are not supported yet.

MozReview-Commit-ID: JuirkAId7Kk

--HG--
extra : rebase_source : 5dbb8af8504f301ca49273b4f6f434a91524860a
2018-07-24 14:21:07 -04:00
Mike Cooper
3c5b5341ed Bug 1477380 - Don't set startup prefs for user-branch Normandy pref-experiments r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D2305

--HG--
extra : moz-landing-system : lando
2018-07-24 18:24:22 +00:00
Julian Descottes
6e10df70d3 Bug 1443923 - part3: Add custom badge in markup view to open custom element definition;r=bgrins,flod
MozReview-Commit-ID: HM9rAFTj9f6

--HG--
extra : rebase_source : bb3faa5b167b13daee3e313ea4169e6ec4360b41
2018-07-05 10:00:46 +02:00
Julian Descottes
4d80b685bb Bug 1443923 - part2: Add inspector menu-item to jump to custom element definition;r=bgrins,flod
MozReview-Commit-ID: 6O6yClz6OOC

--HG--
extra : rebase_source : 73feea94296a838e03ede23fe1e879f1ac4e0d22
2018-07-04 11:50:40 +02:00
Julian Descottes
c729e260ce Bug 1443923 - part1: Return script location for shadow host in NodeActor form;r=bgrins
MozReview-Commit-ID: CLmOqqAa123

--HG--
extra : rebase_source : c793484450420f097dea057e18397577e0346f72
2018-07-05 09:47:56 +02:00
Julian Descottes
869c52dfc2 Bug 1478254 - Enable browser_animation_updatedState.js;r=pbro
MozReview-Commit-ID: LoEGC4M7liJ

--HG--
extra : rebase_source : cc7484ba78cee49f269f6f83f66a862a8e75e998
2018-07-25 12:12:22 +02:00
Marco Bonardo
6da5d81859 Bug 1452068 - Move MAX_TAG_LENGTH to the bookmarking API. r=Standard8
The tagging API is moving to the bookmarking API, this is one step

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

--HG--
extra : moz-landing-system : lando
2018-07-24 18:45:13 +00:00
Dão Gottwald
7596141cc9 Bug 1478041 - Remove some old UI migration steps. r=Gijs
MozReview-Commit-ID: KnCUnzZusjf

--HG--
extra : rebase_source : c176ecee67ef62a8ec56d00b1a80ef166ef31aa7
2018-07-25 14:30:38 +02:00
Shane Caraveo
7962eacafd Bug 1344771 - Implement attribution on OSX using quarantine data, r=mossop,spohl
MozReview-Commit-ID: NgjE1HZS7M

--HG--
rename : browser/modules/AttributionCode.jsm => browser/components/attribution/AttributionCode.jsm
rename : browser/modules/test/unit/test_AttributionCode.js => browser/components/attribution/test/xpcshell/test_AttributionCode.js
extra : rebase_source : 197f427e0d2fcbdbe85d5ebe65067dcc9eee6407
2018-07-23 11:01:26 -03:00