Commit Graph

584309 Commits

Author SHA1 Message Date
Narcis Beleuzu
8c7d795b53 Backed out 2 changesets (bug 1439777) for xpcshell failures on /test_errorhandler_2.js
Backed out changeset d99402ad9ecc (bug 1439777)
Backed out changeset 1af3426dc956 (bug 1439777)
2018-03-06 04:43:41 +02:00
Hiroyuki Ikezoe
97b67fe961 Bug 1442150 - Re-enable test_running_on_compositor.html on Android. r=birtles
Now the test works fine with the new microtask handling.

MozReview-Commit-ID: EhFcN2XAClw

--HG--
extra : rebase_source : f1066bf09df07c1bcbfe5dc5dcc59596530424d0
2018-03-06 11:01:49 +09:00
Hiroyuki Ikezoe
795bd7d475 Bug 1442150 - Wait for one more frame if the animation starts at the current timeline time in the first test case. r=birtles
MozReview-Commit-ID: DVOiauPDqhM

--HG--
extra : rebase_source : 2e9dfd0b7dbef48e92fbe48a5166ec6f3aafcabf
2018-03-06 10:55:05 +09:00
Hiroyuki Ikezoe
16a0b8373a Bug 1442150 - Move startsRightNow into testcommon.js and rename it to animationStartsRightNow. r=birtles
MozReview-Commit-ID: 58umbOjy4di

--HG--
extra : rebase_source : eb6810658f09c848c38e11f7872fb7326021f1a3
2018-03-06 10:35:26 +09:00
Hiroyuki Ikezoe
4bc9a2e83a Bug 1442150 - Rewrite test_running_on_compositor.html with async/await. r=birtles
MozReview-Commit-ID: Cdk7kQWcbXU

--HG--
extra : rebase_source : cc9b0e753c6b7804c7f0233cab0a2d3135118f28
2018-03-06 10:35:26 +09:00
Alexandre Poirot
6afc5d44f8 Bug 1442160 - Remove unnecessary usages of generators in storage test. r=miker
MozReview-Commit-ID: 3x06Clvqtyq

--HG--
extra : rebase_source : ca5425a4bc34f992bf9c7f7d29531bd92479eb5b
2018-03-01 00:47:22 -08:00
Ken VanDine
14dd930e17 Bug 1443419 - Extract gtk30.mo files from all the Ubuntu langpacks and bundle them into the snap. r=jlorenzo
MozReview-Commit-ID: BGioikt15CL

--HG--
extra : rebase_source : 2f7a3bd3b66bd0dbd0534398d0d4056b4f199019
2018-03-06 09:15:26 +00:00
Gerald Squelart
a1f5bed9e9 Bug 1443367 - Rework MakeNotNull to build with VS 2017 15.6 - r=njn
VS 2017 15.6 (March 2018) doesn't seem to understand
`*DeclVal<SharedFontList*>()` anymore.
To work around this issue, the pointed-to type is now extracted in a separate
struct, for which we provide a specialization for raw pointers, so we don't
encounter the shaky `*DeclVal<T*>()` statement anymore.

MozReview-Commit-ID: FuslManbfdB

--HG--
extra : rebase_source : be3813aa9a028e6891cb3de1fc4faae5bde0348e
2018-03-06 20:27:27 +11:00
Emilio Cobos Álvarez
1eb8ff79cc servo: Merge #20210 - style: Add a comment about the weird setup for justify-items (from emilio:justify-items-kinda-sucks); r=Manishearth
And derive ToCss while at it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 226d9a5b0e69185b95c62e79b81044beba477654

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ec12a77c78322539584e8392b907e87a1de167ce
2018-03-06 05:29:17 -05:00
Andreas Tolfsen
e8b0dd1386 Bug 1442543 - Add type checks for WebDriver:{ExecuteScript,ExecuteAsyncScript}. r=whimboo
Adds type checks for the WebDriver:ExecuteScript and
WebDriver:ExecuteAsyncScript commands.  This should help prevent
accidental programming mistakes with the Marionette Python client.

MozReview-Commit-ID: JjKgG9OWrdL

--HG--
extra : rebase_source : cd652717f6d4b98d396386e2b971d51a7e737725
2018-03-02 13:25:59 +00:00
Henrik Skupin
86fe20bf8b Bug 1407383 - [wdspec] Re-enable key.py on Linux64. r=jgraham
The timeout failures for key.py only happen on Linux 32 due to
a slow startup of Firefox for the very first test. Bug 1377805
tracks enabling the test for Linux32.

MozReview-Commit-ID: JKVMQfz0rpx

--HG--
extra : rebase_source : 047aac86759a41244e6322a6b6ea0f30fe61ff71
2018-03-05 23:43:14 +01:00
Henrik Skupin
38c3e2b8d2 Bug 1407383 - [wdspec] Remove usage of mozlog to prevent process lock. r=jgraham
Due to misbehavior of the threading module in how threads are forked,
the mozlog module and specifically the Lock instance in StructuredLogger
can cause a hang of random duration when trying to require the lock.

Given that mozlog isn't used anywhere workaround this problem by
removing all instances of it.

MozReview-Commit-ID: 10yrUIb0XW4

--HG--
extra : rebase_source : 2ce40453b7e268817c291ae369c7ed4100634b75
2018-03-05 22:32:57 +01:00
Henrik Skupin
d48531cbad Bug 1407383 - [wdspec] Remove unused imports from fixtures module. r=jgraham
MozReview-Commit-ID: LgAI7fOhyqB

--HG--
extra : rebase_source : 6584b2d01fccdd7a6257bd83c5884bc999d94264
2018-03-05 22:33:48 +01:00
Michael Ratcliffe
9bcb26d26c Bug 1437807 - Enable browser_console_addonsdk_loader_exception.js in new frontend r=jdescottes
MozReview-Commit-ID: 4vGsRWzuFpn

--HG--
extra : rebase_source : 81e3ee6286d4006fc5227a519827805ec6c62947
2018-03-01 18:12:19 +00:00
Johan Lorenzo
2e4d45ba2b Bug 1443432 - Set scopes to push to Snap store's candidate channel r=mtabara
MozReview-Commit-ID: B2Z6bdDJw6f

--HG--
extra : rebase_source : 1a04ea56d68ae3f7a5408b9886f2d83952496d7b
extra : source : 517fe68440b3c9b31611a83e3208793e287dc56a
2018-03-06 10:55:21 +01:00
Henrik Skupin
87af8d3b07 Bug 1443446 - Enable geckodriver/Marionette trace output for wdspec test jobs in automation. r=ato
MozReview-Commit-ID: 14l4teCjrbY

--HG--
extra : rebase_source : 439b34c6076f6a5d12a5637ed592ac3d25f56adb
2018-03-06 11:41:59 +01:00
Bryce Van Dyk
3114bcb097 Bug 868797 - Update libnestegg to be more tolerant of blocks with negative timecodes. r=kinetik
Bump nestegg to commit 89ed0daf2edccb25f744e5faff88b8b4684adceb. This brings
across tolerance of blocks with negative timecodes. Instead of rejecting these
the timecodes are now set to 0.

Also brings across a change to appease clang in ne_read_block_additions by
adding an explicit assignment to data_size.

MozReview-Commit-ID: 7J8YPUUwSBp

--HG--
extra : rebase_source : f55bd987465baf21f383095b60e9148349936fef
2018-02-28 16:34:05 -05:00
Botond Ballo
1b4474359e Bug 1443231 - Follow-up to fix warning-as-error on Windows (CLOSED TREE). r=botond
MozReview-Commit-ID: 52PVwcjRVu3

--HG--
extra : rebase_source : 1c2b39bdcce30f47d1b675615a35c4573556459e
2018-03-05 16:38:17 -05:00
Narcis Beleuzu
34b2bf4c13 Backed out changeset a8130e46c530 (bug 1434483) for ESlint failures on browser_change_shipping.js. CLOSED TREE 2018-03-05 23:50:02 +02:00
Hiroyuki Ikezoe
0476fc2aa7 Bug 1442861 - Clear mNeedStyleFlush flag after ProcessPendingRestyles(). r=emilio
mNeedStyleFlush is also set by animation restyle request.  So it's possible
that the flag is set again in PostRestyleForThrottledAnimations() or in
sequential tasks for updating animations after the flag is cleared at the top
DoFlushPendingNotifications().

MozReview-Commit-ID: KPSS6cJb4HX

--HG--
extra : rebase_source : 31d839f12b654d52b352cd50e19bc1953c46b7c2
2018-03-06 06:34:02 +09:00
Jim Blandy
dd76a8cf31 Bug 1438121: Part 3: Add shell tests for implicit async stacks. r=fitzgen
MozReview-Commit-ID: BfPPrvEGSgg

--HG--
extra : rebase_source : 09c9bc2b61f83d5316fd46f2da2e8a15dc986060
2018-02-25 16:22:32 -08:00
Jim Blandy
2dde84ffff Bug 1438121: Part 2: Define the 'bindToAsyncStack' JS shell testing function. r=fitzgen
See JS_FN documentation for details.

MozReview-Commit-ID: 6WUaGfdwogX

--HG--
extra : rebase_source : 24116d97e9ed40697d296b3b18879ab5b4705fe4
2018-02-25 15:43:20 -08:00
Jim Blandy
f61135a1b9 Bug 1438121: Part 1: Add job dispatch primitive to shell. r=fitzgen
See JS_FN documentation for details.

MozReview-Commit-ID: 8ZLyOX85qqh

--HG--
extra : rebase_source : 3b249dc19ffba6fb700290b88b23207de539bcb5
2018-02-25 14:06:05 -08:00
Rob Wu
7b7f160bef Bug 335545 - Add test to verify that overflowing clipboard data survives r=mstange
I accidentally broke the ability to retrieve a big string from the
clipboard, and there was no test that failed. So this provides a new
test that does the following:

1. Store a big string in a nsTransferable.
2. Copy it to the clipboard.
3. Create a new nsTransferable, initialize with small data.
4. Populate the nsTransferable with (big) data from the clipboard.
5. Populate the nsTransferable with small data.

After each step, the test checks whether the transferable holds the
expected data and length, and (on non-Windows) checks that the big
data is backed by a file, and small data is not.

MozReview-Commit-ID: 9yuXZxVqD6R

--HG--
extra : rebase_source : 6cec638c59e8ce5a18adbb642779c1dcd457cc5b
2018-02-25 19:08:12 +01:00
Rob Wu
877c911eae Bug 335545 - Make DataStruct non-copyable r=mstange
DataStruct cannot safely be copied if its mCacheFD member is set.
Currently there is no code for this case, but to avoid problems later,
mark the copy and assignment constructors private and delete them.

A move-constructor was added to compensate for the deleted copy
constructor. nsTransferable::AddDataFlavor uses this new constructor
instead of the previous implicit default copy constructor.

MozReview-Commit-ID: 3N5xjFXOUKB

--HG--
extra : rebase_source : dc609f20c7048b3630fa99fe2deef3f5be155334
2018-02-25 17:36:08 +01:00
Rob Wu
57cfe68440 Bug 335545 - Count FD instead of looking for clipboardcache in test_bug1123480.xul r=mstange
- Count open file descriptors instead of testing the existence of a file
  (because the clipboard is now only reachable through file descriptors,
  and not through a file path).

- Use a fixed string instead of a random string. The previous way of
  generating a string was non-deterministic, and there was a very small
  chance that the generated string was not large enough to trigger the
  cache-to-disk-mode.

- Use "text/unicode" instead of "text/plain", because JavaScript strings
  use two bytes, not one bytes each.

- The cache file is already created when the Transferable is created, so
  check the cache file after assigning data to the nsITransferable, but
  before copying it to the clipboard.

MozReview-Commit-ID: KOkYOm280Oh

--HG--
extra : rebase_source : 3515ff55a316720b87f2473a1450e5d8304728e8
2018-02-25 17:30:13 +01:00
Jim Blandy
011d61207b Bug 1438121: Part 5: Don't propagate the 'hasCachedSavedFrame_' bit from the RematerializedFrame to the BaselineFrame. r=fitzgen
When capturing the JavaScript stack as a chain of SavedFrames, the
hasCachedSavedFrame flag on a frame indicates that the frame has an entry in
the LiveSavedFrameCache, which may hand us the SavedFrame for a previously
captured remainder of the stack, letting us stop the stack walk early.

The LiveSavedFrameCache uses AbstractFramePtr and jit::CommonFrameLayout* values
as keys. A RematerializedFrame uses an AbstractFramePtr as its key, but the
BaselineFrame we build from it has a jit::CommonFrameLayout* as its key; the two
keys are unequal. It's valuable to be able to assert that, if a frame has its
hasCachedSavedFrame flag set, then it must have an entry in the cache; to allow
that, converting a RematerializedFrame to a BaselineFrame must clear the flag,
since the BaselineFrame's key is not present.

We could instead fix up the cache entry's key, and carry over the flag, but it's
simpler to just let the cache get repopulated as needed.

MozReview-Commit-ID: 612daDJ1R4w

--HG--
extra : rebase_source : c528eafff0b1d7eeaa5f7c688a6c82631f5282a6
2018-02-23 22:28:56 -08:00
Jim Blandy
da36f58516 Bug 1438121: Part 12: Make LiveSavedFrameCache::getFramePtr's parameter const. r=fitzgen
MozReview-Commit-ID: K4JAFidKNzJ

--HG--
extra : rebase_source : 112932d0bf455d1eab0061d3500be7e4ad838712
2018-03-02 00:05:27 -08:00
Jim Blandy
2216bc1d9b Bug 1438121: Part 8: AutoSetAsyncStackForNewCalls doc fix. DONTBUILD r=fitzgen
MozReview-Commit-ID: JwIM2EAmPZY

--HG--
extra : rebase_source : 7bf7dc85b676fe3597b919989f2a8ae2b9ec677e
2018-02-25 23:33:54 -08:00
Jim Blandy
eda1ea97d0 Bug 1438121: Part 6: Improve comments for js::LiveSavedFrameCache. DONTBUILD r=fitzgen
MozReview-Commit-ID: C4W5cgwdNtv

--HG--
extra : rebase_source : 3e0f37f632b267dd79a27b30d75d9db7fe4cab02
2018-02-24 13:57:41 -08:00
Ben Hearsum
b90100556e bug 1443313: select betas and RCs for testing when generating secondary update verify configs. r=nthomas 2018-03-05 18:02:21 -05:00
Ben Hearsum
5b3af06a90 bug 1443190: fix watersheds for all platforms and branches in update verify config tasks. r=nthomas 2018-03-05 18:01:36 -05:00
Cosmin Sabou
b8f1487915 Backed out 2 changesets (bug 1432362) for build bustages at tests/gtest/TestHistograms.cp on a CLOSED TREE
Backed out changeset e372427420a8 (bug 1432362)
Backed out changeset aed9a827a1b9 (bug 1432362)
2018-03-06 00:33:22 +02:00
Cosmin Sabou
ed1b2a8736 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE.
Backed out changeset b98740e7c639 (bug 1437167)
Backed out changeset 4476e8f51fa6 (bug 1437167)
Backed out changeset c79dc40faa41 (bug 1437167)
Backed out changeset b608d2dcbb86 (bug 1437167)
2018-03-06 00:09:46 +02:00
Dhi Aurrahman
6731fbe8de Bug 1432362 - Add test cases for AccumulateTimeDelta. r=chutten 2018-03-05 23:57:07 +07:00
Dhi Aurrahman
88418795cf Bug 1432362 - Add test cases for AccumulateTimeDelta. r=chutten
--HG--
extra : rebase_source : 238c59bac6fb50f676c8dd66181643b30570b80d
2018-03-05 23:57:07 +07:00
Dhi Aurrahman
c6ef91c8e0 Bug 918557 - Remove TelemetryPing's histogram cache. r=chutten
--HG--
extra : rebase_source : ac8815b8706f17e87ed2165f5b269840a8c0207d
2018-03-05 23:11:47 +07:00
Jonathan Kew
e9ea06543a Bug 253143 - Add a web-platform reftest for letter-spacing in the presence of zero-width format controls. r=jwatt 2018-03-05 21:58:30 +00:00
Jonathan Kew
195f35adee Bug 253143 - Do not add letter-spacing after zero-width format controls such as ZWSP. r=jwatt 2018-03-05 21:57:57 +00:00
Nika Layzell
7d5a04f0fb Bug 1437167 - Part 4: Spell CVStatus correctly on a CLOSED TREE, a=bustage
MozReview-Commit-ID: I4t8OtmxjDa
2018-03-05 16:47:29 -05:00
Geoff Brown
8ef8ab63df Bug 1442783 - Simplify and correct mozharness configuration for some macosx64 tests; r=jmaher
Remove references to remove_executables from test task configurations for
mac mochitest-chrome, mochitest-clipboard, and test-verify. This fixes the
minidump_stackwalk definition, allowing proper crash reporting.
2018-03-05 14:39:56 -07:00
Geoff Brown
1ca8ea6a02 Bug 1443177 - Support 'verify' in reftest sandbox; r=jmaher 2018-03-05 14:39:53 -07:00
Nika Layzell
801a4a8d1a Bug 1437167 - Part 3: Fix some platform-specific consumers of the Monitor::Wait APIs on a CLOSED TREE, a=bustage
MozReview-Commit-ID: FymGvwEtZRk
2018-03-05 16:31:18 -05:00
Nathan Froyd
08e65e40ba Bug 1443265 - make already_AddRefed a MOZ_TEMPORARY_CLASS; r=mystor 2018-03-05 16:12:41 -05:00
Christian Holler
0d3ff9caec Bug 1440627 - Use fallible setLength in StructuredCloneHolder. r=baku 2018-02-23 14:57:00 +01:00
Christian Holler
a7aaab24d3 Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku 2018-02-23 14:51:26 +01:00
Christian Holler
2d642a506c Bug 1440397 - Handle unexpected principal tag gracefully in FUZZING. r=baku 2018-03-02 19:01:00 +01:00
Andreas Tolfsen
4534dde032 Bug 1443466 - Reference --marionette-port in --connect-existing docs. r=me
MozReview-Commit-ID: 16ZCieH8Pm4
2018-03-06 13:08:17 +00:00
Andreas Tolfsen
6abe1c6703 Bug 1443466 - Link to firefox-source-docs.m.o in geckodriver README. r=me
MozReview-Commit-ID: CONSsWFMQiI
2018-03-06 13:08:16 +00:00
Andreas Tolfsen
b7fda6e441 Bug 1443466 - Improve --marionette-port documentation. r=me
Explains how --marionette-port interacts with --connect-existing.

MozReview-Commit-ID: 8WwM7wHXfcn
2018-03-06 13:08:16 +00:00