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

545602 Коммитов

Автор SHA1 Сообщение Дата
Grigory Kruglov d4d7e1babe Bug 1378246 - Ensure that we correctly fire 'notifyChanged' during bookmark deletions r=jwu
This patch introduces a notion of "changed" count during bookmark deletions, and firms up
our deletion logic to ensure we're counting affected records correctly.

Changes are mostly clearer comments describing what's going on, as well tests to ensure
we're doing the right thing.

One logical change is that this patch drops an additional call to updateBookmarks. AFAIK,
that call is unnecessary. It doesn't achieve its stated goal of writing first (it performs
a select first), and since we're doing a deletion, the "bump timestamps of an old parent
in case parent changed" logic is unused).

MozReview-Commit-ID: 9B1FW9pgsf1

--HG--
extra : rebase_source : dd8f10c58fd0042f94072bb99c28dc4545165dd5
2017-07-05 18:13:28 -04:00
John Dorlus c46132a660 Bug 1377346 - Fixed assertion to use local variable r=chutten,rpapa
Changed assertion from using harness class ping variable to local variable in test. That way, popping the ping doesn't affect
outcome of test. Also check that ping is not None.

MozReview-Commit-ID: AEDJmhJHUxv

--HG--
extra : rebase_source : 9b4b8ae01a036788b47941b15f5e3b12ae9030cc
2017-06-30 23:07:40 -04:00
Andreas Tolfsen 2ec9000e7f Bug 1379482 - Release geckodriver 0.18.0; r=jgraham
MozReview-Commit-ID: LDb9G7srbcz

--HG--
extra : rebase_source : bd2592ba2827c7e775cda854f4e77807a784bded
2017-07-10 16:53:01 +01:00
Andreas Tolfsen 2775e687c8 Bug 1379482 - Update geckodriver repository address; r=jgraham
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory.  Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.

MozReview-Commit-ID: LmnviuC7Z9Y

--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
2017-07-10 14:47:17 +01:00
Andreas Tolfsen 6ce3ddca8d Bug 1379482 - Update geckodriver changelog for 0.18.0; r=jgraham
MozReview-Commit-ID: GRIJM8fEwts

--HG--
extra : rebase_source : 67f76fc3a5515c4c517904f75409eda46d050480
2017-07-10 14:37:20 +01:00
Andreas Tolfsen 27406dfcac Bug 1379482 - Upgrade mozrunner to 0.4.1; r=jgraham
Upgrades the mozrunner crate dependency by pinning it to 0.4.1.  With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.

This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.

MozReview-Commit-ID: 8emDKbiYd0S

--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
2017-07-10 16:52:41 +01:00
Andreas Tolfsen 3e285d3a48 Bug 1379482 - Update geckodriver README with -profile and -headless; r=jgraham
Overhaul of geckodriver's README to include more detailed information
about picking up prepared profiles from the filesystem using the args
capability in moz:firefoxOptions.  It also includes a short example
on running Firefox in headless mode, which is available on some modern
Firefoxen on certain systems.

Also updates build instructions now that geckodriver lives in-tree.

MozReview-Commit-ID: AoJtpULBctH

--HG--
extra : rebase_source : 3697262f7050778ee1bc81ff4c26d51bf2cf86d4
2017-07-10 14:32:36 +01:00
Andreas Tolfsen d0c2d63a7c Bug 1379482 - Add hgignore rules for geckodriver for parity; r=jgraham
Removes .version file ignore from .gitignore and creates a
testing/geckodriver/.hgignore rule file for parity with git.

MozReview-Commit-ID: HXgbLxeleAl

--HG--
extra : rebase_source : 8c1f919a77351378a580ab161e9660c5868e881f
2017-07-10 14:24:51 +01:00
Andreas Tolfsen b7dac93d57 Bug 1379482 - Sync geckodriver README with GitHub; r=jgraham
Upstream of changes made on GitHub.

MozReview-Commit-ID: 3GP1NwIDlwW

--HG--
extra : rebase_source : 72102f794fa11760ca70164ebb33a5c61a6d7edc
2017-07-10 13:41:46 +01:00
Johan Lorenzo 2d14bc82b0 Bug 1374589 - Port windows tests which require signed builds to in-tree tasks r=Callek
MozReview-Commit-ID: JI0T2qW6P00

--HG--
extra : rebase_source : 50d82d94cfe93ba2f50753b49c2530da02e18aaa
2017-06-29 13:50:13 -07:00
Alex Gaynor f514ff97b3 Bug 1379182 - Remove some unnecessary file-write permissions types from the content process on macOS; r=haik
On macOS, the file-write* permission type contains numerous sub-permissions (see
bug for full listing). Restrict the ones we allow to only the two we need:
file-write-create and file-write-data. This primarily reduces kernel attack
surface, I'm not aware of any bad things that could be done directly with the
removed permissions.

MozReview-Commit-ID: 3VvjFesy2qx

--HG--
extra : rebase_source : 934ec17c44c9ef3d7fab29919d66cf1a55d57697
2017-07-07 11:05:01 -04:00
Sylvestre Ledru 3aab9a7979 Bug 1376803 - add support of ./mach clang-format -p <file/dir> r=gps
MozReview-Commit-ID: nmAqNsSWho

--HG--
extra : rebase_source : 880980ae1a458c06fe66d7ce60d0a66fee7cd883
2017-06-29 09:35:23 -07:00
Sylvestre Ledru dbf920a78e Bug 1376803 - Move the clang-format diff into a specific function r=gps
MozReview-Commit-ID: C7cy5U0HJ8

--HG--
extra : rebase_source : 7113cfa45a2c50a756cacceba6d73e73c86942c8
2017-06-27 18:34:39 -07:00
Ed Lee c790e1b7cc Bug 1372664 - browser_messagemanager_loadprocessscript.js fails when Activity Stream is enabled. r=krizsa
Allow for either the usual 3 base process count or with activity-stream both 3 or 4 counts.

MozReview-Commit-ID: 2VQuq4KpBPK

--HG--
extra : rebase_source : 1c846f3d07da477ebf6564532116c6dc1ceaf882
2017-07-05 15:44:23 -07:00
Ralph Giles 50b5412f42 Bug 1379382 - Correct rust srcdir url. r=gps
We were prefix-matching the rust srcdir when hyperlinking
symbols, but then appending the relative source path to
the top level repo url, resulting in broken links.

Instead, link to the srcdir url at github.

MozReview-Commit-ID: 33tSMM96Vie

--HG--
extra : rebase_source : 13d5638d4029e40077c0ba8de34a64d3ff9e92be
2017-07-08 08:00:27 -07:00
Patrick Brosset 2be9e15604 Bug 1377326 - Don't assume targets are tabs in style-editor media sidebar; r=ntim
MozReview-Commit-ID: KJczS4aEAUS

--HG--
extra : rebase_source : e5ab4ed89a2d34a8eedb0b921852d0fa7c8e55cb
2017-07-03 17:38:02 +02:00
Mike Conley 442cb9772b Bug 1372261 - Bump tps Talos test version number. r=rwood
MozReview-Commit-ID: Ksd3SJOT9eD

--HG--
extra : rebase_source : 112727987f5b93c2b71a6833e12b363b9300e056
2017-07-05 22:53:19 -04:00
Mike Conley 127dc8dbc6 Bug 1372261 - Make tps Talos test move each tab next to the blank 'palette-clenser' tab before switching, to avoid noise from the tab strip scrolling. r=rwood
MozReview-Commit-ID: Kg4of1Kqm0e

--HG--
extra : rebase_source : 627fa5bc79d81c6450c02e6b3f15950b3a953770
2017-07-05 15:59:41 -04:00
Mike Conley a98e7a3037 Bug 1372261 - Make tps Talos test use the performance timing API instead of Date.now() to avoid clock skew. r=rwood
MozReview-Commit-ID: CPzaN7T5fJV

--HG--
extra : rebase_source : 5f9cd8787b0422f253dcb7503420e20dfcb6f5d6
2017-06-30 01:32:25 -04:00
Sebastian Hengst e57529282b Backed out changeset a8d854de191c (bug 1327947) for eslint failures in browser_applications_selection.js. r=backout 2017-07-10 17:15:47 +02:00
friedger f4ea8f6927 Bug 1242629 - Use our color palette for top sites "add a site" tiles r=sebastian
add flag for default border

MozReview-Commit-ID: 3Fc2dS6bphH

--HG--
extra : rebase_source : 887d2e139f03cfe02248fad10e2493037c8b2e51
2017-06-14 16:07:17 +02:00
Jonathan Kingston 29bc27bfad Bug 1327947 - Remove id's from about:preferences#containers as it breaks sorting for applications. r=jaws
MozReview-Commit-ID: H39D5kT4lc5

--HG--
extra : rebase_source : d56e62ff0b6143cac70d36354300c1e7db70ba26
2017-07-05 17:45:27 -07:00
Ed Lee 3c6952efcf Bug 1379522 - Add pinned sites, context menu ordering, cleared history, other fixes to Activity Stream. r=ursula
MozReview-Commit-ID: ESlcuSuzoDH

--HG--
extra : rebase_source : 83739c36ee85a074fc672a8c446e0bea095e2284
2017-07-09 17:04:38 -07:00
Ray Lin dce63d52a4 Bug 1379030 - Only set calculated size to controlbar for audio element since audio-only video has already had given size from layout. r=jaws
MozReview-Commit-ID: 5H5U18DMVxO

--HG--
extra : rebase_source : 0b4129033e6073bd8bb696509f75fe8aca8a56df
2017-07-10 11:25:01 +08:00
Kartikaya Gupta d17d2bb4c5 Bug 1374730 - Update webrender bindings for API changes in WR cset 5066a13. r=mrobinson
This change preserves the existing semantics of the webrender_bindings code,
although it may result in creating unnecessary clips. A follow-up bug will be
filed to make clip optional in the C++ interface, and avoid passing it in places
where it is not necessary.

MozReview-Commit-ID: KMeBumpgDXL

--HG--
extra : rebase_source : 9ec04e1e8f0b985532908460958f30ed42e220bd
2017-07-10 07:22:39 -04:00
Kartikaya Gupta 1e211e3fc4 Bug 1374730 - Update webrender bindings for API changes in WR cset dfd76c5. r=mrobinson
MozReview-Commit-ID: 4sOJ0ZXG411

--HG--
extra : rebase_source : 1c537ace90587e6ceec8e3d6a3092396be1598aa
2017-07-10 07:22:39 -04:00
Kartikaya Gupta 1c8a416cc1 Bug 1374730 - Update webrender_bindings for API changes in WR cset d8f0040. r=mrobinson
MozReview-Commit-ID: 8Sza9vj5tVg

--HG--
extra : rebase_source : 15e41f3d758a9ae1cdfd0ebbf02cd5e9822054e9
2017-07-10 07:22:39 -04:00
Kartikaya Gupta 3c97dec0f9 Bug 1374730 - Update for webrender_traits getting renamed to webrender_api in cset 5ebe3de. r=nical
MozReview-Commit-ID: 3q0LQyu82wh

--HG--
extra : rebase_source : c946fea386febc0e7ee0ce15cf27232b39fd01bc
2017-07-10 07:22:39 -04:00
Kartikaya Gupta 7fe2c84b1e Bug 1374730 - Update for clip API change in WR cset 0bf6655. r=mrobinson
MozReview-Commit-ID: dEe7yDDZPk

--HG--
extra : rebase_source : 09a1f858a347bdc95baa8015db9fa156b119334a
2017-07-10 07:22:39 -04:00
Kartikaya Gupta ca68cf1d4a Bug 1374730 - Update for ImageBorder API change in WR cset 9b8ee0c. r=kvark
MozReview-Commit-ID: L2xKwd3eu6Q

--HG--
extra : rebase_source : 9af45c8d29fe90c91a171898763b8be9abd38a2d
2017-07-10 07:22:38 -04:00
Kartikaya Gupta 7c916dff61 Bug 1374730 - Update Cargo.lock files and revendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: AoLr2W2NGhP

--HG--
extra : rebase_source : 892ea94c01f575b7f33d7cb740a74af5b58b02b0
2017-07-10 07:22:31 -04:00
Kartikaya Gupta 43d050abae Bug 1374730 - Update webrender_bindings Cargo.toml and cbindgen.toml files. r=jrmuizel
MozReview-Commit-ID: 1rOw37FoHo8

--HG--
extra : rebase_source : ec04551e16d44f6157a379c58ad44253d833f657
2017-07-10 07:19:51 -04:00
Kartikaya Gupta d56daf3647 Bug 1374730 - Update webrender to cset 519e51986308fc11d6ba6771f1c11ea6a3133921. r=jrmuizel
MozReview-Commit-ID: 81YYW87APLn

--HG--
rename : gfx/webrender_traits/src/channel_ipc.rs => gfx/webrender_api/src/channel_ipc.rs
rename : gfx/webrender_traits/src/channel_mpsc.rs => gfx/webrender_api/src/channel_mpsc.rs
rename : gfx/webrender_traits/src/lib.rs => gfx/webrender_api/src/lib.rs
extra : rebase_source : 4f3a7bbda59241979fdafbbfb4a5e30c0375f8e6
2017-07-10 07:19:51 -04:00
Sebastian Hengst 95251ef8fc Backed out changeset f5d55b64361d (bug 1379066) for timing out remoteautomation.py on Android x86 opt. r=backout 2017-07-10 15:53:52 +02:00
Sebastian Hengst 5f9fc4e91f Backed out changeset d60ed8c526fd (bug 1379066)
--HG--
rename : mobile/android/app/src/australis/res/drawable/action_bar_button.xml => mobile/android/app/src/main/res/drawable/action_bar_button.xml
2017-07-10 15:52:58 +02:00
Sebastian Hengst 3bb8198504 Backed out changeset c51ebdf28ee1 (bug 1379066) 2017-07-10 15:52:53 +02:00
Sebastian Hengst 92d29aa7d4 Backed out changeset b0ba143fba67 (bug 1379066)
--HG--
rename : mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode.png => mobile/android/app/src/main/res/drawable-hdpi/reader.png
rename : mobile/android/app/src/australis/res/drawable-hdpi/ic_readermode_on.png => mobile/android/app/src/main/res/drawable-hdpi/reader_active.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode.png => mobile/android/app/src/main/res/drawable-xhdpi/reader.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/ic_readermode_on.png => mobile/android/app/src/main/res/drawable-xhdpi/reader_active.png
2017-07-10 15:52:48 +02:00
Sebastian Hengst dfaca784f7 Backed out changeset 1c2970988841 (bug 1379066) 2017-07-10 15:52:44 +02:00
Sebastian Hengst 4d14b07bf5 Backed out changeset 449c0a4b0259 (bug 1379066) 2017-07-10 15:52:39 +02:00
Sebastian Hengst ace27e896f Backed out changeset dac98c423104 (bug 1379066) 2017-07-10 15:52:34 +02:00
Sebastian Hengst b139b741cf Backed out changeset 4d823e834fca (bug 1379066) 2017-07-10 15:52:30 +02:00
Sebastian Hengst 788ccd30b0 Backed out changeset 8078abd65d92 (bug 1379066) 2017-07-10 15:52:25 +02:00
Sebastian Hengst 0c747c1ea1 Backed out changeset d9d4bdc0a2b9 (bug 1379066) 2017-07-10 15:52:21 +02:00
Mike Conley 5f84b6f9b1 Bug 1378193 - Alter browser_startup_images.js so that it can test both the Photon and non-Photon configurations. r=johannh
MozReview-Commit-ID: A1KYZCQt6By

--HG--
extra : rebase_source : bc9f5956ccb4562e2022e83fe308dc3b96cb2e7a
extra : intermediate-source : 6586c52d21b49ecb769a6838edb05d7b9adfac83
extra : source : 73eb7a1748736bd9dfaf691322c1e50dc02a0ec5
2017-07-06 14:47:06 -04:00
Thomas Wisniewski 6e4b30e56a Bug 1376991 - Extend browsingData to restrict removing cookies to a give list of hostnames; r=mixedpuppy
MozReview-Commit-ID: 4Tfneh5s1Q8
***
Fixes for try run failures

MozReview-Commit-ID: 2BAT1GUcvH3

--HG--
extra : rebase_source : a9e3777e3967ee4e95bb27bd575020ed16a559e9
2017-06-30 09:11:18 -04:00
Julian_Chu 02dc430ea2 Bug 1379066 - 10. Apply style change in xml r=jwu
This patch is pretty hard to read and review. It only changes styles in
Photon flavor to match designer's design. Includes layout, dimension,
colors....etc. Australis flavor should not aware of this patch.

MozReview-Commit-ID: 9ROK1NcwJfC

--HG--
extra : rebase_source : d280919e2ef43d072b4762e84e80f7bc3002bfdd
2017-07-07 15:54:04 +08:00
Julian_Chu bd3c701aaa Bug 1379066 - 9. Java implementation apply different style r=jwu
We draw curve for Toolbar only in Australis flavor.

Also change resource naming for highlight color to be consistent with
Phton flavor.

MozReview-Commit-ID: E7cFuJs3r6h

--HG--
extra : rebase_source : 1bf7d1557a3b614d7c2b8c3f743d4247353e45c8
2017-07-07 15:50:14 +08:00
Julian_Chu 5d479e78da Bug 1379066 - 8. BrowserToolbar notify mode changing r=jwu
Some views in BrowserToolbar is Themed-view, and should be notified by any
normal/private mode changing.

MozReview-Commit-ID: 8hkizdsf0AO

--HG--
extra : rebase_source : 24e5e3a281af23d40dcff766b91d5692633b4ff1
2017-07-07 15:42:06 +08:00
Julian_Chu f97271629a Bug 1379066 - 7. Stop button supports Private mode r=jwu
Stop button is in Awesome bar to stop page loading, to let it becomes
ThemedImageButton to support Private mode.

MozReview-Commit-ID: CzbCyx1Mxc4

--HG--
extra : rebase_source : edc17213daae80112602cd8b2d28e546f6a391ab
2017-07-06 16:28:11 +08:00
Julian_Chu 192615787d Bug 1379066 - 6. PageAction supports Private Mode r=jwu
PageAction are views which be added to awesomebar dynamically, for
example "Reader mode icon".

Now let it becomes ThemedImageButton to support Private mode.

MozReview-Commit-ID: HQXgJWL19Oz

--HG--
extra : rebase_source : 8428d005875c1c1b24e72fb9ef431060b8b02b5a
2017-07-06 13:26:16 +08:00