Граф коммитов

19757 Коммитов

Автор SHA1 Сообщение Дата
Margareta Eliza Balazs 4551f2e31e Merge inbound to mozilla-central r=merge a=merge 2017-12-12 23:58:36 +02:00
Sebastian Hengst bcb7c2c601 merge mozilla-central to autoland. r=merge a=merge 2017-12-12 19:05:39 +02:00
Sebastian Hengst 9d920555ec Backed out 2 changesets (bug 1421482) for failing modified mochitest layout/base/tests/test_bug1078327.html. r=backout a=backout
Backed out changeset a8701e1bd012 (bug 1421482)
Backed out changeset d774f5fe6e94 (bug 1421482)
2017-12-12 19:03:49 +02:00
Tom Tung 4db2688a52 Bug 1420672 - P2: Add wpt tests to verify service workers redirect the hash fragment if the redirect URL doesn't have one. r=bkelly
--HG--
extra : rebase_source : 61c69670543d920724266334524a2c367e35060d
2017-12-08 17:26:52 +08:00
Sebastian Hengst 8b217db2f0 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-12 19:07:09 +02:00
Dorel Luca 7cb442edf3 Merge mozilla-central to inbound r=merge 2017-12-12 00:25:30 +02:00
Dragana Damjanovic 1ee1f7ed9c Bug 1409449 - Update test for bug 1409449. r=:ckerschb 2017-12-12 10:34:42 +01:00
David Burns 86ea646fc6 Bug 1407383: Wait for the URL to change in test before asserting r=ato
MozReview-Commit-ID: IGrdTTUI8y1

--HG--
extra : rebase_source : b0561c337c60704fa02645078f8ef80b7238c8f3
2017-12-08 12:16:16 +00:00
Stone Shih 841f50b537 Bug 1421482 Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.

MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Tooru Fujisawa c43c8f4bd8 Bug 1416446 - Part 1: Wait for the next tick in BrowserTestUtils.waitForEvent. r=Paolo 2017-12-09 06:08:43 +09:00
Dorel Luca e50bd4b0f9 Backed out changeset 44737c79883b (bug 1416446) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE 2017-12-09 18:59:35 +02:00
Gurzau Raul 0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Gurzau Raul 91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Mats Palmgren afee933c5a Bug 1418727 part 4 - [css-grid] Update WPT expected result (automated update). r=me
MozReview-Commit-ID: CrJd1kLLij5
2017-12-08 16:49:40 +01:00
Boris Zbarsky 3b3ea3f709 Bug 1423875. Fix InitializePropertiesFromCompatibleNativeObject to get the shape of the resulting object right. r=jandem
MozReview-Commit-ID: 8wnOnUv57pV
2017-12-08 10:36:58 -05:00
Tooru Fujisawa 4e2bef04c1 Bug 1416446 - Part 1: Wait for the next tick in BrowserTestUtils.waitForEvent. r=Paolo 2017-12-09 06:08:43 +09:00
Geoff Brown 52ac315bd7 Bug 1411298 - Update test-verify subsuite mapping; r=jmaher 2017-12-08 13:46:57 -07:00
Clément David e315ae631a Bug 1419495 - Remove SelfSupport service r=dexter r=smaug 2017-12-02 21:52:30 +01:00
Narcis Beleuzu 04a25ecb14 Backed out changeset 6e523917ee97 (bug 1423353) as requested by igoldan. a=backout 2017-12-08 12:03:06 +02:00
Cosmin Sabou c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Geoff Brown 6b6a2f5071 Bug 1424005 - Add support for an Android 7.0 x86_64 avd in 'mach android-emulator'; r=me, a=test-only
This enables 'mach android-emulator --version x86-7.0'. Works great for me!
2017-12-07 18:23:39 -07:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Bill McCloskey ab17db9708 Bug 1412456 - Add BrowserTestUtils.addContentEventListener (r=mconley)
This function makes it possible to listen for multiple events from the
content process, even when there are frameloader swaps.

This commit also adds a checkFn param to firstBrowserLoaded, which is
useful.

MozReview-Commit-ID: 93ItHIPSGVU
2017-12-07 12:55:21 -08:00
Hiroyuki Ikezoe 280df82ed9 Bug 1416966 - Perform a micro task checkpoint in DocumentTimeline::WillRefresh. r=bevis,birtles
MozReview-Commit-ID: Kd1Il7COZZY

--HG--
extra : rebase_source : 872267be92883ed5f94b2e4dbca7fd7f24941f34
2017-12-12 18:44:05 +09:00
Hiroyuki Ikezoe 8680a80c0d Bug 1416966 - Test that there is a micro task checkpoint before requestAnimationFrame callbacks. r=birtles
The test intentionally uses async_test to avoid browser's awkward micro task
handling.

MozReview-Commit-ID: K5WzEML7D5M

--HG--
extra : rebase_source : 67d35539e4c3654aca4d2016e6d3b5cb3221c02f
2017-12-12 18:44:05 +09:00
Hiroyuki Ikezoe 35ed855402 Bug 1416966 - Make sure the next frame happen in the case where we are in the callback for Animation.ready Promise. r=birtles
MozReview-Commit-ID: 86cnNoGgA9r

--HG--
extra : rebase_source : a65a4865b8bb3c611695a4477d509d317aa9420d
2017-12-12 18:44:04 +09:00
Andreas Tolfsen 844fad888d Bug 1423282 - Remove last remenants of frame.Manager. r=automatedtester
This removes the last remenants of frame.Manager and
testing/marionette/frame.js from Marionette.  The preceding commits
in this changeset has gradually removed the unused and duplicated
features that it implemented.  The only remaining pieces are the
registrating of some chrome-side IPC message handlers which we can
leave attached for the duration of the Marionette session.

MozReview-Commit-ID: EYjrJBeTybz

--HG--
extra : rebase_source : cf8b2d04c05d22eea6fe24061ccb9b21680f0d3c
2017-12-05 21:28:59 +00:00
Andreas Tolfsen 0dd9f4d02f Bug 1423282 - Remove unused IPC listener Marionette:getImportedScripts. r=automatedtester
MozReview-Commit-ID: EwRaq9ljYxo

--HG--
extra : rebase_source : f018496a4593f05fc8637411492bcecb8416fd55
2017-12-05 21:21:26 +00:00
Andreas Tolfsen 3bf8512e70 Bug 1423282 - Drop Marionette:emitTouchEvent IPC message and related infra. r=automatedtester,maja_zf
This removes the Marionette:emitTouchEvent IPC message which is
currently not in use by any tests.  Along with removing this message
listener we can get rid of a tonne of complicated infrastructure
in testing/marionette/frame.js.

On switching the content frame we no longer await frame scripts to
register themselves because they implicitly inherit the parent's
frame script in Firefox/Fennec.  This was a relic from the B2G days
when each frame was OOP.

MozReview-Commit-ID: 5vxrWHjzd68

--HG--
extra : rebase_source : 544013f42c9ee9eebb119b8d98061d997c7a10f0
2017-12-05 21:08:48 +00:00
Andreas Tolfsen 1ce25757d1 Bug 1423282 - Remove legacy action chain browser close guard. r=automatedtester,maja_zf
It turns out that we no longer need to guard against the browser/frame
closing when using the legacy actions module.  This means we can
get rid of GeckoDriver#addFrameCloseListener, which again populates
mozBrowserClose and adds handlers for the related mozbrowserclose event.

The mozbrowsercloseevent was set for every case of Marionette:ok,
Marionette:done, and Marionette:error IPC messages.  These events
are still in use in testing/marionette/proxy.js, but with this
patch we stop listening for these events in testing/marionette/driver.js.

MozReview-Commit-ID: jp34kh7nqD

--HG--
extra : rebase_source : b9551972717c9c399806b7c7e1e2a1adc99593c5
2017-12-05 21:05:37 +00:00
Andreas Tolfsen abd2686324 Bug 1423282 - Remove aliveCheck to frame message manager. r=automatedtester
The IPC message "aliveCheck" will always fail because there is no such
message handler in Marionette and because it swallows all thrown errors.

MozReview-Commit-ID: JISuK65ZcGM

--HG--
extra : rebase_source : e4ccbb96727a67ce11f31463a08f66768bd23589
2017-12-05 20:50:14 +00:00
Andreas Tolfsen 774177521d Bug 1423282 - Drop MarionetteFrame:getCurrentFrameId IPC message. r=automatedtester,maja_zf
The MarionetteFrame:getCurrentFrameId IPC message was used for B2G
applications that needed access to chrome-scoped APIs for emitting
touch events.  Now that actions happen either in chrome _or_ in
content this is no longer necessary functionality to maintain.

MozReview-Commit-ID: Bk9LRAOxjAw

--HG--
extra : rebase_source : 71dac090db681a24dc5ebb54fdf1cf02a97563b0
2017-12-05 19:40:29 +00:00
Andreas Tolfsen f42cdc3940 Bug 1423282 - Drop MarionetteFrame:getInterruptedState IPC message. r=automatedtester,maja_zf
MarionetteFrame:getInterruptedState was used in B2G to abortence
if the OOP frame got interrupted by a modal dialogue.  Like the
MarionetteFrame:handleModal IPC message, the frame script needed
chrome assistance for querying the presence of this dialogue.

Today modal dialogues (known as "user prompts") are handled entirely
in chrome space, and the presence of such a dialogue is indeed
meant to pause script execution in the web document.

This patch makes some rather questionable changes to the legacyaction
module, but this is alright because we don't expect any more tests to
be written using it.  This patch just about makes sure the remaining
body of tests keeps passing.

MozReview-Commit-ID: 72g0GlYy21T

--HG--
extra : rebase_source : f44ed5999554a42c67827d6935bd96cc79a8e5dd
2017-12-05 19:22:53 +00:00
Andreas Tolfsen 79058696cd Bug 1423282 - Drop MarionetteFrame:handleModal IPC message. r=automatedtester
The MarionetteFrame:handleModal IPC message is not used in listener.js,
and it is no longer a requirement that this is done through a call
from the content frame script.

MozReview-Commit-ID: Bn40b1VT7Da

--HG--
extra : rebase_source : 9def3f7faa5f860622259bd85982e1072b436be0
2017-12-05 18:52:07 +00:00
Andreas Tolfsen 0bcf875fad Bug 1423282 - Drop Marionette:shareData IPC message. r=automatedtester
The Marionette:shareData IPC message was used by the simpletest
harness to share test logs with the main process.  This is no longer
a requirement.

MozReview-Commit-ID: 4nn7FefCdJ8

--HG--
extra : rebase_source : 44d8334c4a116d7056ee7a938fdf900e350d73f2
2017-12-05 18:48:37 +00:00
Andreas Tolfsen 74a8fcb707 Bug 1423282 - Drop Marionette:log IPC message. r=automatedtester
We used to transport log messages to the main process for logging.
This is no longer required and the IPC message has not been in use
for some time.

MozReview-Commit-ID: F5thqDOJADd

--HG--
extra : rebase_source : b1ba930cc870655398f7024213c77cb6b93113c9
2017-12-05 18:46:49 +00:00
Andreas Tolfsen f1282f9d51 Bug 1423282 - Drop Marionette:switchToModalOrigin IPC message. r=automatedtester
In B2G, when a frame was interrupted by a modal dialogue, the
Marionette:switchToModalOrigin IPC message allowed you to switch
back to the frame that was interrupted.  It got called by the
interrupted frame once the dialogue got dismissed and the frame
resumed its process.  This functionality is no longer requried.

MozReview-Commit-ID: DtCOzeW45qP

--HG--
extra : rebase_source : 46ed3841abc53e0369246625d16839e9b2576d39
2017-12-05 18:44:24 +00:00
Matt Brubeck c61db3912d Bug 1424096 - Consolidate on a single version of each vendored Rust crate r=rillian
MozReview-Commit-ID: GSGQpjXLuVR

--HG--
rename : third_party/rust/gcc-0.3.42/LICENSE-APACHE => third_party/rust/bitflags-1.0.0/LICENSE-APACHE
rename : third_party/rust/libc-0.2.24/LICENSE-MIT => third_party/rust/bitflags-1.0.0/LICENSE-MIT
rename : third_party/rust/bitflags/tests/conflicting_trait_impls.rs => third_party/rust/bitflags-1.0.0/tests/conflicting_trait_impls.rs
rename : third_party/rust/bitflags/tests/external.rs => third_party/rust/bitflags-1.0.0/tests/external.rs
rename : third_party/rust/bitflags/tests/external_no_std.rs => third_party/rust/bitflags-1.0.0/tests/external_no_std.rs
rename : third_party/rust/bitflags/tests/i128_bitflags.rs => third_party/rust/bitflags-1.0.0/tests/i128_bitflags.rs
rename : third_party/rust/gcc-0.3.42/LICENSE-APACHE => third_party/rust/lazy_static-0.2.11/LICENSE-APACHE
rename : third_party/rust/lazy_static-0.2.8/LICENSE-MIT => third_party/rust/lazy_static-0.2.11/LICENSE-MIT
rename : third_party/rust/lazy_static-0.2.9/README.md => third_party/rust/lazy_static-0.2.11/README.md
rename : third_party/rust/lazy_static-0.2.8/tests/no_std.rs => third_party/rust/lazy_static-0.2.11/tests/no_std.rs
extra : rebase_source : 0a199bf892c53b56c739f18577c28f69df7e65e1
2017-12-08 10:24:40 -08:00
Andrew Swan 0a51e1ac64 Bug 1263313 Remove search pane from about:addons r=rhelmer
Also remove related code that was only used from here including
stuff related to marketplace purchases, etc.

MozReview-Commit-ID: ESX78tVQK7M

--HG--
extra : rebase_source : 56d956168f75cdc40fd3df057e41493f80733352
2017-12-05 21:17:13 -08:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Nick Alexander 0cf6550d5a Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander 2d84ab6e71 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
shindli 53c3b17b09 Backed out 6 changesets (bug 1417232) for failing in /python/mozbuild/mozbuild/test/configure/lint.py::Lint::test_mobile_android r=backout on a CLOSED TREE
Backed out changeset 06e72cdd94a5 (bug 1417232)
Backed out changeset 036308b8fe6b (bug 1417232)
Backed out changeset bb63e12fea6f (bug 1417232)
Backed out changeset d0a9d2d4c5b7 (bug 1417232)
Backed out changeset b613dde03d99 (bug 1417232)
Backed out changeset 8699e19b02e5 (bug 1417232)
2017-12-08 01:25:05 +02:00
Nick Alexander d1d1541e8d Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander 0801b79cd4 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
shindli 76ee711dab Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-08 00:24:48 +02:00
Geoff Brown 9bffbea004 Bug 1410723 - Throw DMError when getDirectory() fails suspiciously; r=bc
It looks like the main cause of intermittent failures in getDirectory is
that the adb pull command fails because the emulator has hung. For other
commands, we usually handle this by checking the return code and raising
DMError if anything fails. There is mozharness/taskcluster code in
place to automatically retry tasks that throw DMError.
2017-12-07 08:02:15 -07:00
Neil Deakin 60e7f4183f Bug 1419925, implement a promise-oriented version of waitForClipboard, promiseClipboardChange, change a selection of tests to use this instead. Simplify some other clipboard tests that were unreliable before the fix for 1394757. r=jmaher 2017-12-07 08:39:50 -05:00
Jon Coppeard 1d4c4b18bf Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham 2017-12-06 14:54:58 +00:00
Andrea Marchesini 4aa1ef9c23 Bug 1423507 - Data URL Shared Workers must be shared when the parent origins match - WPT, r=bkelly 2017-12-07 12:32:06 +01:00