Commit Graph

477034 Commits

Author SHA1 Message Date
Drew Willcoxon
c76ce9f99a Bug 1355322 - Add anchor button to urlbar for action menu. r=Gijs
MozReview-Commit-ID: CajXNdGt9cZ
2017-04-27 18:17:29 -07:00
Boris Zbarsky
1f3dc4442d servo: Merge #16637 - Fix Stylist::lazily_compute_pseudo_element_style to return None when it should (from bzbarsky:probing-lazy-pseudos); r=emilio
We have a fast path to return None if we have no rules for the pseudo-element at
all, but we should also return None if we have no _matching_ rules for it for
the given originating element.  This is relied on by consumers like
Servo_ResolvePseudoStyle, which needs to be able to detect the "no styles for
this pseudo-element for this originating element case", to support probing for
whether work for a specific pseudo-element should be done at all.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 04aac0247aea29e361589a75954b4f769478dd02
2017-04-27 18:31:20 -05:00
Andreas Tolfsen
719adb851d Bug 1359079 - Take <select multiple> into account for obscured click test; r=whimboo
Because individual <option> elements are painted and represented in the
DOM when they belong to a <select multiple> list, the center point of
the list might be one of the options.

To take this into account, we perform an inclusive descendant check
(DOMElement.contains) to see if the <option> element is a descendant of
the container <select> element.

In the case the targetted element is the element itself, the test will
still pass since it is an _inclusive_ descendant check.  In other words,
containerEl.contains(tree[0]), if tree[0] is equal to containerEl,
will pass.

The relevant specification changes were made in
40abcefd6a.

MozReview-Commit-ID: ORX8zLxQJ
2017-04-17 17:24:19 +01:00
Aneesh Agrawal
ea618b9163 servo: Merge #16639 - Avoid searching for old nightlies in missing dirs (from aneeshusa:skip-nonexisting-dirs-when-cleaning-nightlies); r=jdm
These directories may be missing (e.g. a first time build or due to Buildbot cleaning),
so don't try to look inside them for old nightlies if so.

I noticed this in http://build.servo.org/builders/arm32/builds/6815/steps/shell__1/logs/stdio.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c321737c65c1c7f11b9c58d010e07412403167a
2017-04-27 17:18:55 -05:00
Sean Lee
556ccca303 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK
2017-04-21 15:20:26 +08:00
Sean Lee
8a87bdd09f Bug 1349489 - Part 1: Move the codes from FormAutofillHandler.collectFormFields to FormAutofillHeuristics.getFormInfo.; r=MattN
MozReview-Commit-ID: BQTpopSyBUe
2017-04-21 15:15:35 +08:00
Wes Kocher
5f59bf2384 Bug 1341102 - Mark shadow-dom-1.html and mstyle-1.xhtml as random on stylo since they're still randomly failing on opt builds a=bustage
MozReview-Commit-ID: H0mRfkfeNDk
2017-04-27 15:45:46 -07:00
Dustin J. Mitchell
7d80659b2d Bug 1355180: remove special-casing of stylo tests on try; r=dustin
MozReview-Commit-ID: 6sCTNptjIBH
2017-04-18 17:18:37 +00:00
Dustin J. Mitchell
4c08063fa3 Bug 1355180: introduce run-on-projects: built-projects, and use it; r=jmaher
This test-only "run-on-projects" option indicates that the test should run on
exactly the projects where its parent build runs.  This avoids the situation
where a build is configured to *not* run on a project, but some wayward test
didn't get the memo and "pulls in" the build anyway.  This has been
particularly problematic with win64-asan/opt.

MozReview-Commit-ID: 8UP6FsXBohy
2017-04-18 15:54:15 +00:00
Aaron Klotz
f3f43946b3 Bug 1358276: Add FixCorruptOleAccRegistration to PostUpdate; r=mhowell
MozReview-Commit-ID: 64hU21BgELu

Some third-party software tampers with the registry settings for the
IAccessible COM interface which is provided by Windows. If these settings
become corrupted, our a11y implementation breaks. We attempt to detect this
by loading the path to the IAccessible typelib and checking to see if that file
still exists. If it is missing, we reset the typelib GUID and version to the
system default.

The GUIDs and version number included in this patch hold from Windows 7 through
to Windows 10 Anniversary Update. The Windows 10 Creators update does not use
a typelib anymore, so we do nothing in that case. This fix is intended to run
on 32-bit builds only.
2017-04-26 14:19:19 -06:00
Michael Kelly
0aff6a072e Bug 1359655 - Sync shield-recipe-client from GitHub (commit e37261c) r=Gijs
MozReview-Commit-ID: CxzS2AtSZSQ
2017-04-27 12:30:07 -07:00
Wes Kocher
b4bad67970 Bug 1341102 - Update expectations so mstyle-1.xhtml only fails on debug a=bustage
MozReview-Commit-ID: KYtyjbEoehd
2017-04-27 15:07:55 -07:00
Milan Sreckovic
944bf0d6b9 Bug 1304605: Part 2. Optimizing NormalizeIPv4. Seems to be 4-6x faster. r=valentin.gosu
MozReview-Commit-ID: FjkNmbW5I93
2017-04-26 12:02:58 -04:00
Milan Sreckovic
da61522450 Bug 1304605: Part 1. Unit tests, including performance, for NormalizeIPv4. r=valentin.gosu
MozReview-Commit-ID: KAecFlYTUfW
2017-04-26 11:56:16 -04:00
Chris Manchester
8fd2a8e93c Bug 1360360 - Package screenshot programs during artifact builds. r=mshal
MozReview-Commit-ID: ExYrFbObOrG
2017-04-27 14:03:19 -07:00
David Keeler
ee5c189fc3 bug 1337950 - work around failing to load a FIPS PKCS#11 module DB in NSS initialization r=Cykesiopka,jcj
Firefox essentially does not support running NSS in FIPS mode any longer. This
has always been the case on Android from what I can tell and it has been the
case on OS X since at least version 34 (see bug 1047584). It became the case on
Windows as of version 53 (see bug 1295937). Unfortunately, before this patch,
if a user attempted to run an affected version of Firefox using a profile
directory containing an NSS database collection that had FIPS enabled, NSS
initialization would fail and fall back to running in no DB mode, which had the
side-effect of making any saved passwords and certificates unavailable. This
patch attempts to detect and work around this failure mode by moving the
PKCS#11 module DB (which is where the FIPS bit is set) to a backup location and
basically running with a fresh, non-FIPS module DB. This allows Firefox to
initialize NSS with the preexisting key and certificate databases available.

MozReview-Commit-ID: 1E4u1ngZyRv
2017-04-20 10:31:22 -07:00
Wes Kocher
b58bdc0198 Bug 1341102 - Update expectations a=bustage
MozReview-Commit-ID: 2RO4GHQHuzs
2017-04-27 14:06:54 -07:00
Gregory Szorc
4094c8fb3e Bug 1359988 - Remove retrieve_b2g_device(); r=mshal
There appear to be no in-tree users of this function and it references
"b2g." I'm pretty sure it is dead code.

MozReview-Commit-ID: EHHRQ2iqQoP
2017-04-26 13:59:36 -07:00
Gregory Szorc
6a4ef4b203 Bug 1359988 - Remove spidermonkey b2g build script; r=mshal
We shouldn't be running any Firefox OS automation.

MozReview-Commit-ID: 4ea9SL7jill
2017-04-26 13:51:01 -07:00
Gregory Szorc
7592a7527c Bug 1359988 - Remove mozharness configs for multi locale b2g builds; r=mshal
We shouldn't be running any automation related to Firefox OS. We should
be able to delete these files.

MozReview-Commit-ID: SY5f0GD9NQ
2017-04-26 13:50:02 -07:00
Gregory Szorc
678b62e174 Bug 1359988 - Remove references to gaia in mozharness; r=mshal
These were the last occurrences of "gaia" in the mozharness directory.

MozReview-Commit-ID: 8ACEw1rMoUS
2017-04-26 13:56:52 -07:00
Gregory Szorc
fcf1973b30 Bug 1359988 - Remove mozharness docs related to gaia; r=mshal
The code is gone. Remove the legacy docs.

MozReview-Commit-ID: 9oIC00swoml
2017-04-26 13:55:10 -07:00
Gregory Szorc
38762efd5d Bug 1359988 - Remove gaia scripts and configs from mozharness; r=mshal
Firefox OS is dead.

MozReview-Commit-ID: CWX04cHHT7u
2017-04-26 13:54:09 -07:00
Wes Kocher
52d75af886 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Wes Kocher
36a9133ce4 Merge inbound to central, a=merge
MozReview-Commit-ID: HZUHBRK4UmL
2017-04-27 13:00:07 -07:00
Wes Kocher
05341df9bd Merge autoland to central, a=merge
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Wes Kocher
e3eac35c11 Merge graphics to central, a=merge
MozReview-Commit-ID: JY76sgXJHM0
2017-04-27 11:22:35 -07:00
Kartikaya Gupta
4fbf750c6a Merge m-c to graphics
MozReview-Commit-ID: EdvTPLc8PCy
2017-04-27 13:03:06 -04:00
sotaro
11ec0449d5 Bug 1359206 - Fix CompositionTime and CompositeUntil handling of WebRenderImageHost r=nical 2017-04-27 09:34:54 -07:00
Kartikaya Gupta
917cbc416f Bug 1359842 - Remove a bunch of now unused functions. r=nical
MozReview-Commit-ID: HeIXvHl41IZ
2017-04-27 12:04:26 -04:00
Kartikaya Gupta
3928dd684f Bug 1359842 - Use the StackingContextHelper for WebRenderContainerLayer as well. r=nical
MozReview-Commit-ID: DXhhBB3qdzX
2017-04-27 12:04:25 -04:00
Kartikaya Gupta
84a2895fe0 Bug 1359842 - Remove if/else branch in WebRenderContainerLayer so it goes through a single PushStackingContext call. r=nical
This is functionally equivalent since one variant of the
PushStackingContext was already delegating to the other (in
DisplayListBuilder).

MozReview-Commit-ID: 8PfMm3bHeSZ
2017-04-27 12:04:25 -04:00
Kartikaya Gupta
ed6e5a8d25 Bug 1359842 - Add a StackingContextHelper to reduce duplicated code. r=nical
This class is a RAII class that can be used to push a stacking context
with properties from a WebRenderLayer. It can also then be used to
convert rects in the layer coordinate system to be relative to the
stacking context, which is what we want for passing to WR.

MozReview-Commit-ID: 1WVrfRYqLqc
2017-04-27 12:04:25 -04:00
Kartikaya Gupta
342f3e9393 Bug 1359842 - Rename ParentStackingContextBounds to ParentBounds. r=nical
MozReview-Commit-ID: HmvRnzvgRML
2017-04-27 12:04:13 -04:00
Kartikaya Gupta
2ca75cca15 Bug 1359842 - Remove unused function. r=nical
MozReview-Commit-ID: GJxowTIOyCT
2017-04-27 12:04:13 -04:00
Kartikaya Gupta
52f3a8a0d9 Bug 1359842 - Convert RelativeToParent to deal with typed units. r=nical
As we are often converting from LayoutDevicePixel to LayerPixel types
in WebRenderDisplayItem code, I added a convenience overload of
RelativeToParent that takes a LayoutDeviceRect and returns a LayerRect,
even though this is a potential footgun if abused.

MozReview-Commit-ID: DABAWdOBsbV
2017-04-27 12:04:13 -04:00
Kartikaya Gupta
2ad1749b23 Bug 1359842 - Replace use of NSRectToRect in WebRender-related code with proper LayoutDevicePixel types. r=nical
MozReview-Commit-ID: 7MXFubPtLoD
2017-04-27 12:04:12 -04:00
Kartikaya Gupta
6af3a99399 Bug 1359842 - Convert some functions to deal in LayerRect instead of gfx::Rect. r=nical
MozReview-Commit-ID: LRXgYseBRzR
2017-04-27 12:04:12 -04:00
Kartikaya Gupta
53d559cbd5 Bug 1359842 - Do some cleanup of GetWrClipRect. r=nical
This extracts a strongly-typed ClipRect() function from GetWrClipRect.
GetWrClipRect is left as a weakly-typed wrapper for existing call sites,
and also does the necessary reference point conversions.

MozReview-Commit-ID: EuyzYIYLR6S
2017-04-27 12:04:12 -04:00
Kartikaya Gupta
59ee4ab32a Bug 1359842 - Do some cleanup of GetWrRelBounds. r=nical
This moves the bulk of the meaningful work done by GetWrRelBounds into
strongly-typed helper functions. GetWrRelBounds is left as a wrapper so
call sites don't need to be updated yet. Note also that the
strongly-typed functions do not do any conversions from one reference
point from another (e.g. by calling the RelativeToXXX functions).

MozReview-Commit-ID: B3nPbOJOf9o
2017-04-27 12:04:12 -04:00
Joel Maher
6d646099c6 Bug 1354865 - Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_newtab_from_popup.js. r=gbrown 2017-04-27 11:52:43 -04:00
Joel Maher
7314fe4c7d Bug 1358356 - Intermittent browser/base/content/test/windows/browser_toolbariconcolor_restyles.js. disabled for osx/debug. r=gbrown
MozReview-Commit-ID: Dlmi20LW0HB
2017-04-27 11:38:33 -04:00
Kartikaya Gupta
6de178fbc1 Bug 1359748 - Extract a WebRenderLayer.{h,cpp} from WebRenderLayerManager.{h,cpp}. r=jrmuizel
Other than moving the code into new files, this just cleans up includes
in the modified and dependent files.

MozReview-Commit-ID: JpJ8rwOkfOO
2017-04-27 11:28:31 -04:00
Kartikaya Gupta
23a6b280d3 Bug 1359748 - Remove commented-out code. r=jrmuizel
MozReview-Commit-ID: 2f67oNaa8Tk
2017-04-27 11:28:23 -04:00
Christoph Kerschbaumer
008d320ce5 Bug 1345615: Disable websocket tests on android. r=test-fix 2017-04-27 17:28:13 +02:00
ffxbld
9c753f7780 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-04-27 07:52:27 -07:00
ffxbld
d10a2ad232 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-04-27 07:52:24 -07:00
Dragana Damjanovic
7103eb740f Bug 1334776 - ResponseHeader Visitor will get original header casing. We need to fix it at some places in devtools. 2017-04-27 16:48:43 +02:00
Dragana Damjanovic
2392afc0e0 Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
Dragana Damjanovic
25a14a612a Bug 1359496 - Remove code added in bug 1340164. This code was taking care that we do not send multiple socket status events. r=mcmanus 2017-04-27 16:37:31 +02:00