Commit Graph

565809 Commits

Author SHA1 Message Date
Andreas Tolfsen
aa7af34cf4 Bug 1410891 - Use "is" operator to compare responses. r=maja_zf
The "is" operator tests if two objects are the same object, and
does not consider the values of the two objects.

This also gives a better pytest error message should the assertion fails.

MozReview-Commit-ID: GOUek15TUPU

--HG--
extra : rebase_source : f15e92aff9f593d702f0abd8631e2609b8b6e919
2017-10-23 14:49:11 +01:00
Andreas Tolfsen
9b2cc4060e Bug 1410891 - Remove unused imports from Get Active Element WPT test. r=maja_zf
MozReview-Commit-ID: NmPXv8mOuu

--HG--
extra : rebase_source : 6e55938658445606484d0bc34c54014cc9b4f501
2017-10-23 14:48:23 +01:00
Andreas Tolfsen
a99190f0aa Bug 1411052 - Show local variables in wdspec tracebacks. r=maja_zf
Using the "--showlocals" pytest flag we can show the values of
variables in the local scope in the pytest tracebacks.  This seems
like a good thing to do to ease debugging.

Thanks-to: Dave Hunt <dave.hunt@gmail.com>

MozReview-Commit-ID: F62untoxEyi

--HG--
extra : rebase_source : db803258395e9bbacf10b06dc8ca367ae79ec67f
2017-10-23 22:23:06 +01:00
Andreas Tolfsen
690ea166e1 Bug 1411045 - Display error when response is unsuccessful. r=maja_zf
Instead of the default pytest error message when the assertion
fails, which is rather pointless because we know we did not match
the 200 HTTP status code, display the string representation of
wdclient.error.WebDriverException.

This string representation includes the remote end's stacktrace,
which is infinitely more useful in this context.

MozReview-Commit-ID: 6XUgEEc9Qoj

--HG--
extra : rebase_source : 68fbcf5e70bfcc064302b139b0c5edff2a0ecb72
2017-10-23 22:15:53 +01:00
Andreas Tolfsen
38c8ff6a95 Bug 1411045 - Provide response-to-error conversion. r=maja_zf
This adds a new error.from_response(wdclient.Response) function that lets
a WebDriverException be constructed from a wdclient.Response object.
If the Response is not an error, i.e. has a 200 HTTP status code,
an UnknownErrorException is raised.

MozReview-Commit-ID: JW89Ily2voC

--HG--
extra : rebase_source : 5b126f3d62fc19a1ef0df7374167a7ee6828ab29
2017-10-23 22:13:00 +01:00
Andreas Tolfsen
b49d1c1ffc Bug 1411045 - Fix error.get argument name. r=maja_zf
We talk about "error codes", not "status codes", for WebDriver errors.

This is a non-functional change.

MozReview-Commit-ID: Bl8zT8lZvzK

--HG--
extra : rebase_source : 7271e6a00170f58e4f1f0086c3d46b67664c7e4a
2017-10-23 22:10:46 +01:00
Andreas Tolfsen
d481e7daf0 Bug 1411045 - Prettify error in wdclient.Response. r=maja_zf
When showing wdclient.Response's object representation, prettify
the error if there is one.  Otherwise include the full body as before.

MozReview-Commit-ID: 64QpsB89Oiw

--HG--
extra : rebase_source : d29a1b644156c6b0557d7d408a9b9398bc11d754
2017-10-23 22:09:46 +01:00
Andreas Tolfsen
f5d1ddacb0 Bug 1411045 - Add object- and string representations for WebDriverException. r=maja_zf
MozReview-Commit-ID: C6gdV9B8aIU

--HG--
extra : rebase_source : a15c36625277d43146cf13ba73bf32a618d5d3eb
2017-10-23 22:07:38 +01:00
abhinav
9500e6c3b6 Bug 1251836 - Request URL should not include URL fragment identifier. r=gasolin
MozReview-Commit-ID: HeCSPcrQN2x

--HG--
extra : rebase_source : c4ed04ab730a219629b81df22a825db9189d2864
2017-10-24 23:37:25 +05:30
Luke Chang
bf7ba5740b Bug 1409658 - Increase timer for waiting menubutton's binding. r=steveck
MozReview-Commit-ID: 9B2uGb1jt5t

--HG--
extra : rebase_source : 232a1b0b5e013453cafb49a475dcdc4bac0be5a1
2017-10-24 11:29:22 +08:00
Nevin Chen
8ca3d01790 Bug 1409303 - Make PWA enable by default. r=maliu
MozReview-Commit-ID: 5jGDP1Xf1aj

--HG--
extra : rebase_source : df088cd3a04c99c04fdd25543e11ac84ad84bef5
2017-10-25 12:02:23 +08:00
Alex Touchet
0112722c1f servo: Merge #19013 - Update Browser.html (from atouchet:bhtmlup); r=KiChjang
There have been some interface improvements since this was last updated.

<!-- 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
- [ ] `./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: 5da0a8d8725edde1aab0e802b1381bb379fd6638

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7b8c0483bd121f9906c551ecb41dadff5e7da1c9
2017-10-24 23:12:39 -05:00
Masayuki Nakano
ad20ed277d Bug 1410988 - Add a debug mode pref to emulate odd touchpad utils which give focus to window under mouse cursor when user tries to scroll the content r=jimm
Some odd touchpad utils give focus to window under mouse cursor when user tries
to scroll the content with swiping or something.

This is really odd behavior because some windows like popup windows doesn't
want focus. However, such ones do actually. For making easier to check such
device's behavior, we should have a pref to emulate such behavior.

MozReview-Commit-ID: 6euwpHn7blf

--HG--
extra : rebase_source : cc23f08f422f25f2851404696e06e069c7936186
2017-10-19 02:28:37 +09:00
Alfredo.Yang
ccda6970dd Bug 1410565 - add gtest for mTimescale checking. r=kinetik
MozReview-Commit-ID: JHpbUKIyOkN

--HG--
extra : rebase_source : 34768a30256b2f1e39478049a5009b28beb1d9e5
2017-10-24 16:05:46 +08:00
Alfredo.Yang
5ad617cb8a Bug 1410565 - check mTimescale to avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 7uxgaVAbQds

--HG--
extra : rebase_source : c3976d03877cdd8d1e03ee22ca29f54a9800eb67
2017-10-24 14:44:19 +08:00
Ralph Giles
cbe716f52a Bug 1411073 - av1: Clean up duplicate filenames check. r=kinetik,mshal
Check for filenames which differ only by .asm vs .c filename
extensions when importing a new version of the libaom reference
implementation of the av1 video codec.

These confuse our build system as well. Also remove the obsolete
vp8 and vp9 search directories, which generate warnings from 'find'.

MozReview-Commit-ID: DRZL7GUrsYh

--HG--
extra : rebase_source : 4bc8708dd3b2e386c19bd6b952ca2587a2284a19
2017-10-17 10:21:58 -07:00
Nils Ohlmeier [:drno]
6fbfc060a8 Bug 1410655: extend WebRTC ICE Telemetry probes to 62. r=francois,mjf
MozReview-Commit-ID: DUnk7C0FPQA

--HG--
extra : rebase_source : baeb4b467b9983a1f59560323596ba66d12f2f89
2017-10-21 12:29:07 -07:00
Nils Ohlmeier [:drno]
93ea315403 Bug 1410654: extend WebRTC Scalar Telemetry probes to 62. r=francois,mjf
MozReview-Commit-ID: JbXfJdIHN1a

--HG--
extra : rebase_source : 9cef0ea2b66fd132fcbc1a7ac2afc135a594664e
2017-10-21 12:08:40 -07:00
Sebastian Hengst
319217d574 Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 0b31c5a3d73783a3c60f4126a5c11fdda862d9e3
2017-10-25 00:32:35 +02:00
Sebastian Hengst
6231274042 Backed out changeset cb49e178390c (bug 1405359) for Windows build bustage in ScrollingLayersHelper.h. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 81b0a5bd94ad8e5d83e455e5a226a578b7060dc4
2017-10-25 00:17:01 +02:00
Sebastian Hengst
1d775e1d29 Backed out changeset f6ce05f8e699 (bug 1405359) 2017-10-25 00:16:55 +02:00
Sebastian Hengst
c10fc4a634 Backed out changeset 154c415885b8 (bug 1405359) 2017-10-25 00:16:49 +02:00
Sebastian Hengst
eecd8d4a11 Backed out changeset 988d6a397ea8 (bug 1405359) 2017-10-25 00:16:43 +02:00
Sebastian Hengst
5a6323a88c Backed out changeset 1593dfc4cf04 (bug 1405359) 2017-10-25 00:16:37 +02:00
Sebastian Hengst
d3632a713b Backed out changeset 4f223f11a08f (bug 1334411) for failing xpcshell's browser/modules/test/unit/test_SitePermissions.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 312a520b843a8b640ffc5060651c64b36a6ddd97
2017-10-25 00:11:02 +02:00
Sebastian Hengst
24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Xidorn Quan
16e53464c5 Bug 1411143 - Give dummy URL extra data a dummy referrer rather than null. r=bz
MozReview-Commit-ID: GV07RBocNnH

--HG--
extra : rebase_source : 1f6371173d9fb2d8811f9fa9e0b0123976974fb9
2017-10-24 18:32:48 +11:00
Mike Hommey
bf5c85e4ef Bug 1411156 - Set MOZ_DEBUG globally as both a CONFIG and a #define. r=mshal
Bug 1365460 introduced code paths behind MOZ_DEBUG #ifdefs, but
MOZ_DEBUG is never defined, while it is available in CONFIG in
moz.builds. This is kind of a confusing situation, but the fact that
we've been able to avoid those problems for so long would tend to
put the blame on mozjemalloc, and fixes should go there.

Except that bug 1261161 explains that the only existing alternative
(the DEBUG #define), as used in MFBT, is not working for spidermonkey,
so it actually makes sense to converge to MOZ_DEBUG rather than DEBUG.

So start defining MOZ_DEBUG globally, fixing the mozjemalloc issues of
not having the debug code enabled. Bug 1261161 can then take care of
changing the DEBUG #ifdefs.

--HG--
extra : rebase_source : 37e3d03ac8350c62c8059d4ca01d1ecfdf5f421a
2017-10-24 14:07:37 +09:00
Mike Hommey
ffe63a7d7f Bug 1411201 - Don't disable inlining in mozjemalloc on debug builds. r=njn
The way inlining is disabled in mozjemalloc is via a #define of "inline"
to nothing, which is a dubious way to do that. This makes the compiler
trigger warnings we -Werror on for some static functions. While there
are such functions in mozjemalloc.cpp that could be fixed by wrapping
them in the right #ifdefs, there are also others coming from headers,
and it's not something that can be fixed in a satisfactory way.

The right way to disable inlining is to pass the right compiler flags
for that. But inlining is the least of the problems to debug optimized
C++ code, so it feels like if debugging requires some optimization
tweaking, it should be done manually with compile flags when needed,
instead of fiddling with #defines to remove keywords.

--HG--
extra : rebase_source : 962c3409f86060c4d5ddf966778b58b64f89c31d
2017-10-24 18:42:24 +09:00
Emilio Cobos Álvarez
e99ba89767 servo: Merge #19005 - style: Move animation-name and animation-iteration-count outside of mako (from emilio:less-mako-more-joy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f9f71c7ed105dfb415c38bf6826942cb757b1bcc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1f9146e65d1008b711268470d78b1683994ea5dd
2017-10-24 15:29:21 -05:00
Gabriele Svelto
a3d1d04f8d Bug 1410165 - Make the test harness properly listen to crash events when running a test more than once; r=mconley
MozReview-Commit-ID: C3PDtOfaz0v

--HG--
extra : rebase_source : 568387a2a53a55b19a03c6cc793125a01ebd3760
2017-10-20 15:21:46 +02:00
Kartikaya Gupta
0950c9499b Bug 1405359 - Add some logging code in ScrollingLayersHelper. r=jrmuizel
MozReview-Commit-ID: 3OLNPHlkO9M

--HG--
extra : rebase_source : dcfbae96dc8de0a5d726140a05b5807e2b03412d
2017-10-24 16:15:00 -04:00
Kartikaya Gupta
3bc78496af Bug 1405359 - Avoid pushing and popping identical clip stacks for adjacent display items. r=jrmuizel
Instead of unconditionally pushing and popping clips per display item,
this patch changes things so that for each recursive display list, we
create an ItemClips struct. We push this onto the stack when we enter
the display list, and pop it off at the end. For each display item, we
check to see if the clips would actually change compared to the previous
display item, and only do the pop/repush in that case.

MozReview-Commit-ID: GadIp2J8TrA

--HG--
extra : rebase_source : ba64c6b4659b8e51cab19b807088b9a50d71b85a
2017-10-24 16:15:00 -04:00
Kartikaya Gupta
1ef110fd03 Bug 1405359 - Make ScrollingLayersHelper a more stateful class. r=jrmuizel
This makes ScrollingLayersHelper a non-RAII type class, and instead adds
methods to notify it of when we start processing a new transaction or a
new display item within the transaction. This patch has no functional
changes, it's non-obvious refactoring.

MozReview-Commit-ID: 3yq9sPiHMge

--HG--
extra : rebase_source : 286423f56de59211e320f015cb1004a1e98332b8
2017-10-24 16:15:00 -04:00
Kartikaya Gupta
7feb6820bd Bug 1405359 - Replace the mPushed* variables with a more encapsulated struct. r=jrmuizel
Storing the per-item clip state in a struct like this will allow us to
easily compare the desired clip state across items, so we can avoid
doing unnecessary work when going from one item to the next. This patch
has no functional changes, it's just refactoring.

MozReview-Commit-ID: 49B6hmsWZ4V

--HG--
extra : rebase_source : 8ac4bbf039f81bc2d26e92924ed041fa3d18e5ba
2017-10-24 16:15:00 -04:00
Kartikaya Gupta
b43a3f46dc Bug 1405359 - Stop passing around the clip id cache in all the functions. r=jrmuizel
Instead just keep a ref to it as a member variable. No functional
change.

MozReview-Commit-ID: 5fccUlSifsA

--HG--
extra : rebase_source : a14672f926c383354db76e553ae23613fe4a432a
2017-10-24 16:14:59 -04:00
Tom Ritter
6a8841a184 Bug 1411374 Do not redefine PATH_MAX if it is already defined r=njn
MozReview-Commit-ID: trabOdGWYD

--HG--
extra : rebase_source : e5ffae150ece205c41bb69dc6f2b068f03a5b8ac
2017-10-24 00:36:58 -05:00
Alex Gaynor
4374c58da3 Bug 1411255 - Fixed unnecessary mut warning; r=valentin
MozReview-Commit-ID: 9MDk0LlA6uR

--HG--
extra : rebase_source : bc5dac8e99d26dbec2385ad781026df75992206e
2017-10-24 09:42:28 -04:00
Mark Striemer
04b924cbdf Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : 98875d0bcabbae86f9c25dea9b4fe30d6a3d0109
2017-10-18 14:54:54 -05:00
Junior Hsu
47c1ce6716 Bug 870460 - Part 3: Add cookies.sqlite{|-shm} to xperf whitelist. r=jmaher
--HG--
extra : source : 224e8667174335d6a6ab1e17260fc65be4ed39a5
2017-10-11 20:59:00 -04:00
Junior Hsu
68d3cbb372 Bug 870460 - Part 2: Close syncconn for edge cases. r=nwgh
--HG--
extra : source : b0ddf460db0712431c4bfd8d6590eb69a23ecf4e
2017-10-09 00:19:00 -04:00
Tom Ritter
be2cb401bc Bug 1372958 Stack alignment on Windows is 4 bytes, not 16 r=luke
MozReview-Commit-ID: sLOruY3UJE

--HG--
extra : rebase_source : e137df3bed9573efdc26e5d5b47bb5e08f0d2dec
2017-10-06 16:43:07 -05:00
Justin Wood
64a5aa9829 Bug 1405681 - Use a special beetmover template for win32 to win64. r=nthomas a=release DONTBUILD
MozReview-Commit-ID: DSjOxoRr6qk

--HG--
rename : testing/mozharness/configs/beetmover/partials.yml.tmpl => testing/mozharness/configs/beetmover/win32_to_win64_partials.yml.tmpl
extra : transplant_source : IV%86Ui.W%9BZ%95u%01N%BB%F1_%15%D9%8C%60
2017-10-04 21:46:15 -04:00
Joel Maher
a89ccf49cd Bug 1410306 - Disable dom/canvas/test/webgl-conf/generated/test_2_conformance__glsl__misc__shader-uniform-packing-restrictions.html on win7/debug for frequent failures. r=me, a=testonly 2017-10-24 12:37:25 -04:00
Joel Maher
e1c3ca518d Bug 1408506 - run linux browser-chrome tests on m3.large instead of legacy m1.medium. r=gbrown 2017-10-24 12:37:23 -04:00
Joel Maher
92be126aad Bug 1395539 - Disable toolkit/mozapps/extensions/test/browser/browser_bug591465.js on linux/opt to get tests running in multi-core. r=gbrown 2017-10-24 12:37:20 -04:00
Ben Hearsum
d718446a1c bug 1411277: stop submitting bz2 updates to balrog for staging releases. r=rail 2017-10-24 12:29:06 -04:00
Rail Aliiev
60468af545 Bug 1410960 - beetmover fails with lzma.h: No such file or directory r=bhearsum DONTBUILD
MozReview-Commit-ID: 1hSOgdOJ5b8

--HG--
extra : rebase_source : 7416419e1b3c0a0ad9fd428fb763ff932dca2560
extra : amend_source : 9a05f90a71fc736f6ed8a3343f3492bb936bee42
2017-10-23 13:03:27 -04:00
Kartikaya Gupta
18ef86a9cf Bug 1353399 - Remove stale comment. r=me and DONTBUILD
MozReview-Commit-ID: HsZfmxdBmSm
2017-10-24 11:34:50 -04:00
Gabriele Svelto
d2bf4663bd Bug 1411196 - Make |mach bootstrap| on Gentoo use the latest version of Oracle's JDK for Fennec builds; r=froydnj
MozReview-Commit-ID: 7bUtundkBZU

--HG--
extra : source : dc1e64ab4995a17b52181ab703d9e0f5aea71d75
2017-10-24 11:15:16 +02:00