Commit Graph
623 Commits
Author SHA1 Message Date
Sebastian Hengst 2b5eefaa89 merge mozilla-central to autoland. r=merge a=merge 2017-09-29 11:49:46 +02:00
Jim Chen 504ef9a3da Bug 1384829 - 4. Add test case to testInputConnection; r=esawin
Add a test case to testInputConnection that makes sure GeckoEditable's
Editable interface still behaves correctly even after disconnecting from
Gecko due to a blur.

MozReview-Commit-ID: 7Z6Kpv2tpRy
2017-09-28 00:14:19 -04:00
Jim Chen bb603fedf6 Bug 1258106 - Extend testEventDispatcher timeout; r=me
Extend timeout for testEventDispatcher to 40 seconds and fix a bug where
the wrong mode is used for event callback tests. r=me for trivial
test-only fix.

MozReview-Commit-ID: JiyW8lFW8kg
2017-09-28 18:26:06 -04:00
Jim Chen 5325a13b1b Bug 1396951 - 5. Remove getLayerView usage from Robocop code; r=gbrown
Find the Fennec LayerView through `Solo.getView()` and the View id
instead of going through `GeckoAppShell.getLayerView()`.

MozReview-Commit-ID: FVcPM0fYorf
2017-09-22 14:35:23 -04:00
Sebastian Hengst da260df924 Backed out changeset b5a88815b3a6 (bug 1396951)
MozReview-Commit-ID: H7q7JLdOCQS
2017-09-22 11:48:25 +02:00
Jim Chen 8b2d616708 Bug 1396951 - 5. Remove getLayerView usage from Robocop code; r=gbrown
Find the Fennec LayerView through `Solo.getView()` and the View id
instead of going through `GeckoAppShell.getLayerView()`.

MozReview-Commit-ID: FVcPM0fYorf
2017-09-21 17:36:07 -04:00
Jan Henning 6823e7f663 Bug 1391421 - Part 9 - Add a basic Robocop test for IDN domain support. r=gbrown
MozReview-Commit-ID: HAT9Imh9YVf
2017-09-15 23:29:01 +02:00
Jim Chen 0b6141761d Bug 1400886 - Change BrowserCLH subscripts into modules; r=snorp
Change the subscripts (e.g. FormAssistant.js) that we load in BrowserCLH
into proper .jsm modules. This avoids the `defineLazyScriptGetter`
incompatibility mentioned in the bug, and when we turn on shared JSM
global, any memory advantage we get from using subscripts should not
matter anymore.

MozReview-Commit-ID: krSwANdtb5
2017-09-19 14:57:32 -04:00
Andrew Halberstadt 454052d2b2 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Jing-wei Wu 405b408f20 Bug 1383713 - [robocop] Find toolbar first and use it to find menu button. r=JanH,nechen
MozReview-Commit-ID: 3b6HijVb9nB
2017-09-15 17:50:58 +08:00
Jing-wei Wu 24c690139a Bug 1400101 - [robocop] Find toolbar first and use it to find menu button. r=JanH,nechen
Sometimes Robocop is confused when are multiple `R.id.menu` UI components shown on screen,
one is the menu button on toolbar and otehrs are context menus on Activity Stream.

To access the menu on toolbar, a simple fix is access toolbar first and use it to find its child.

MozReview-Commit-ID: Jw4sTLeR3li
2017-09-15 15:58:10 +08:00
Jim Chen fc2ba05a61 Bug 1367079 - 6. Fix testAccessibleCarets; r=me
Fix testAccessibleCarets and enable it for non-Nightly builds. r=me for
test changes.

MozReview-Commit-ID: EjNwzb5bETy
2017-09-14 17:50:58 -04:00
Jim Chen 41024a8d34 Bug 1367077 - 2. Move PromptService startup to BrowserCLH; r=snorp
Use the BrowserCLH for PromptService startup, to consolidate startup
handling code and also to delay loading PromptService.

MozReview-Commit-ID: 25UgVH7wrrs
2017-09-14 17:50:54 -04:00
Jan Henning b02c2b9b5e Bug 1396324 followup. Add comment referencing this bug to the test. r=JanH
DONTBUILD

MozReview-Commit-ID: AFEnH5VSuM4
2017-09-09 22:54:55 +02:00
Jing-wei Wu 4be7a26af3 Bug 1396324 - [robocop] Configure bookmarks panel as default panel before loading URLs. r=JanH
We found sometimes Robocop operates wrong UI components when it deals with a complex layout.
Since default panel shows Activity Stream which contains complex UI components, we configure
bookmarks panel as default panel to keep the layout as simple as possible.

MozReview-Commit-ID: 12xhVOdlIRK
2017-09-08 16:02:37 +08:00
Jim Chen 20472700c1 Bug 1395168 - Add tests for key synthesis; r=esawin
Add tests for synthesizing keys, including test for dummy keys and test
for wrong metastate for synthesized non-English keys (i.e. bug 1387889).

MozReview-Commit-ID: SvddU2BHle
2017-08-31 13:42:51 -04:00
Geoff Brown a4040e7704 Bug 1390059 - Disable all robocop PixelTests, for intermittent failures; r=me,test-only 2017-08-30 10:11:26 -06:00
Grigory Kruglov 95e66b0765 Bug 1388884 - Do not delete bookmark tombstones r=rnewman
As implemented, this means we might upload tombstones for never-synced
bookmarks. This _should_ be harmless.

MozReview-Commit-ID: DZx9yWDs1ie
2017-08-29 14:01:14 -04:00
Chenxia Liu d2b6eab687 Bug 1380808 - Rename some "Item" classes to be more descriptive. r=mcomella
MozReview-Commit-ID: GlPbKuQPr8g
2017-08-16 18:38:50 -07:00
Wes Kocher 68ddef6d5c Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt c8dc976a1e Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Michael Comella e6ff361ae8 Bug 1390356 - bustage: Use proper context menu constructor in tests. r=mcomella
MozReview-Commit-ID: EUo6DylQR3X
2017-08-23 14:50:32 -07:00
Joel Maher 68402b53ea Bug 1390059 - Disable testFlingCorrectness. r=me a=testonly 2017-08-22 14:41:50 -04:00
Grigory Kruglov c1faab4fb6 Bug 1364644 - Versioned syncing of bookmarks r=rnewman
MozReview-Commit-ID: 5IdRPUXMDPh
2017-08-16 21:02:21 -04:00
Grigory Kruglov 7a87b51b9b Bug 1364644 - Bookmark version tracking r=rnewman
MozReview-Commit-ID: EdN4pYSR8Ux
2017-08-15 17:28:56 -04:00
Grigory Kruglov 7827d58772 Bug 1364644 - Migrate bookmarks schema and records to add version columns r=rnewman
Schema migration is simple: it adds localVersion and syncVersion columns to bookmarks table.
Default values are:
- localVersion=1
- syncVersion=0
... indicating that a record needs to be uploaded.

Data migration is also relatively simple: we need to ensure that records which are "up-to-date",
according to the old timestamp-based tracking, are not marked for an upload, and vice versa - records which are
either "new" or "changed" are marked for an upload.

Since our default during schema migration is to mark everything for upload, the data migration
concerns itself with the records which are considered as "up-to-date".

See detailed description in the comments in the data migration function.

MozReview-Commit-ID: J6aglurYwlo
2017-08-14 23:22:53 -04:00
Wes Kocher 35908f9c27 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Yoshi Huang 21ca1c3a75 Bug 1390787 - fix rc4 failure on Android for new data: URI. r=esawin 2017-08-16 15:05:49 +02:00
Jim Chen bfe4096eaf Bug 1390000 - Set prefs before loading input test page. r=esawin
Set prefs in testInputConnection itself, before we load
robocop_input.html, so the page uses new pref values.
2017-08-15 13:10:00 -04:00
Jan Henning 22e4b15e96 Bug 1389564 - Part 2 - Test that restored (background) tabs are correctly written back to disk. r=gbrown
So far, we haven't tested session restoring and saving in combination, which led to bug 1379374 where restored background tabs weren't being written back to disk after upgrading to Firefox 55.

MozReview-Commit-ID: 7CUbis7u8fb
2017-08-11 19:57:56 +02:00
Jan Henning 664cd80bd5 Bug 1389564 - Part 1 - Move common session test functionality into base class. r=gbrown
MozReview-Commit-ID: LpX9Dj79IkI
2017-08-12 18:25:50 +02:00
Dan Banner b08cb5b49e Bug 1385815 - Enable brace-style and quotes ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 5IFF4IPpPVY
2017-08-01 16:43:56 +01:00
Dan Banner 35b0ff1c12 Bug 1385815 - Enable more ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: aC7PX7xDok
2017-08-01 16:41:38 +01:00
Dan Banner 775694ef61 Bug 1385815 - Enable more whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: FuM6Neob0mC
2017-08-01 16:36:00 +01:00
Dan Banner 9300a9f43f Bug 1385815 - Enable whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 6B79zhklsYR
2017-08-01 16:34:11 +01:00
Jing-wei Wu 3d20e5ee3c Bug 1386975 - Part 2: Fix Robocop/Mochitest-chrome errors when Photon is enabled. r=maliu,nalexander,sebastian
MozReview-Commit-ID: FszicKMWywf
2017-08-08 10:40:36 +08:00
Sebastian Hengst ad4c7fd168 Backed out changeset bd83328c7773 (bug 1386975) 2017-08-07 19:04:03 +02:00
Jing-wei Wu e12ddaf8f9 Bug 1386975 - Part 2: Fix Robocop errors when Photon is enabled. r=maliu,sebastian
MozReview-Commit-ID: FszicKMWywf
2017-08-03 13:39:38 +08:00
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Michael Comella b363583fab Bug 1386052: Update testBrowserDatabaseHelperUpgrades from new info. r=Grisha
Grisha showed me the link from Android API level to SQLite version and
presumably all 3.7.* releases are forwards compatible so we can relax the
requirement of which version of Android the test DBs need to be created on: I
updated the comment accordingly.

MozReview-Commit-ID: Fhu95671kSK
2017-08-02 13:47:57 -07:00
Michael Comella 43913033d3 Bug 1386052: add Combined.HISTORY_GUID; upgrade db to 38. r=Grisha
This will be used to join with the PageMetadata table so we can extract
PageMetadata values in our top sites queries.

MozReview-Commit-ID: EmwjyFM1qUf
2017-08-01 14:21:54 -07:00
Wes Kocher 3f50b11fc9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
James Willcox 8692a70cf1 Bug 1381916 - Remove frontend support for plugins in Fennec r=nechen
MozReview-Commit-ID: Gkqe8Y5AMPV
2017-07-31 12:25:16 -05:00
Michael Comella 2f4ebc22a9 Bug 1369604: Use HighlightCandidateCursorIndices to cache. r=liuche
This reduces the calls to `getColumnIndexOrThrow` to 9 (from 1.6k) and
HighlightsRanking.extractFeatures goes from 77.1% inclusive CPU time -> 40.8%,
14.6k ms -> 7.1k ms.

MozReview-Commit-ID: L6HqvBK5I4i
2017-07-24 18:12:05 -07:00
Bob Clary f6844968ff Bug 1382004 - Autophone - disable rca flash test, r=jmaher. 2017-07-19 22:03:49 -07:00
Nick Alexander 35f9c5bef1 Bug 1352602 - Part 1: Don't AC_DEFINE ANDROID_TARGET_SDK, MOZ_ANDROID_{MIN,MAX}_SDK_VERSION. r=chmanchester
This is just a small piece in the larger project of minimizing the set
of global AC_DEFINEs.  None of these are relevant to C/C++ code;
they're mobile/android specific, so we should get them out of
mozilla-config.h.

In addition, this replaces hard-coded values with values from the
build system throughout mobile/android.

MozReview-Commit-ID: 9IJlsm38LFK
2017-06-21 11:16:08 -07:00
Jan Henning 5e72a2ed31 Bug 1366098 - Part 1 - Remove Fennec tab type infrastructure. r=walkingice
The new, preferred solution for displaying additional web content outside of our normal tab infrastructure and UI is to use a separate GeckoView instance. Therefore, the support for different having additional "tab" types that aren't displayed in the normal UI, as well as for multiple GeckoApp instances displaying different tabs is no longer needed and can be removed.

MozReview-Commit-ID: FNx0gJIKybr
2017-06-27 14:13:40 -07:00
Grigory Kruglov 5a344d275a 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
2017-07-05 18:13:28 -04:00
Jan Henning c7b976f129 Bug 1312605 - Part 1 - Don't clobber resolution changes that happen before first paint on Fennec. r=kats
When going back/forward through a tab's session history, the saved resolution from the LayoutHistoryState is set on the PresShell before first paint. On Fennec, this means that it is subsequently going to be overwritten by the MobileViewportManager's default zoom calculation.

To fix this, we make use of the MVM's feature to set a "restored" resolution that will then be taken into account on first paint.

MozReview-Commit-ID: 43o97M6fiaZ
2017-06-29 09:26:37 -07:00
Frederik Braun 96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00