Commit Graph

464603 Commits

Author SHA1 Message Date
Mark Banner
f5745d257d Bug 1251902 - Stop the 'Hello' and 'Share this page' buttons blinking when the panel is being opened. r=mixedpuppy
--HG--
extra : commitid : 6srJUWTAvvi
2016-03-08 19:45:35 +00:00
Michael Comella
9c298fe44b Bug 1243558 - Add nightly flags to screenshots in bookmarks feature. r=sebastian
MozReview-Commit-ID: F3ljXZGNKlJ

--HG--
extra : rebase_source : 4aca60b2b4df4357191768302a82118d42657c08
2016-02-29 17:22:55 -08:00
Michael Comella
72040b49f7 Bug 1243558 - Add telemetry to screenshots click handler. r=sebastian
MozReview-Commit-ID: 1B9nBOrx6TT

--HG--
extra : rebase_source : 9b00f64b4cc579e3d8224a00ec7f28e47be34f04
2016-02-29 17:16:37 -08:00
Michael Comella
18633d483f Bug 1243558 - Add click handler to screenshots items in bookmarks. r=sebastian
MozReview-Commit-ID: FsGom2EANSj

--HG--
extra : rebase_source : 934b00b42bfa223bd5322e1bec9e5391e9ec89e5
2016-02-29 17:15:15 -08:00
Michael Comella
b0ff2bf2cf Bug 1243558 - Add proper layout to bookmark_screenshot_row. r=sebastian
An alternative implementation may have re-used TwoLinePageRow by disabling some
views. Disabling views is messy so I opted not to do that but I didn't realize
we needed to add favicons to the view so this may end up occurring in bug
1252309 anyway.

MozReview-Commit-ID: DOrvYryYYP4

--HG--
extra : rebase_source : b80c15427ead8a1557a9c9dc878da82b3d9d491c
2016-02-29 16:32:43 -08:00
Michael Comella
834203e276 Bug 1243558 - Add Screenshots smart folder & unpolished screenshot views. r=sebastian
Modifying the Bookmarks Adapter & wrapped Cursor felt all-over-the place so I'm
concerned the resulting code may be fragile. However, I can't see a better
solution off the top of my head, meaning it's probably not worth the time to
improve.

MozReview-Commit-ID: QgnsMQ3smB

--HG--
extra : rebase_source : 126b32720da759f68f65a57cee8fa173cdf5cbbf
2016-02-26 18:09:48 -08:00
Michael Comella
9bfebe05db Bug 1243558 - Insert metadata into db when the user takes a screenshot. r=sebastian
MozReview-Commit-ID: Cx1I1Ie22kU

--HG--
extra : rebase_source : 8747571738259eeac44671c573cdfeca5b473936
2016-02-26 17:34:50 -08:00
Michael Comella
f58e790f90 Bug 1243558 - Add UrlAnnotations.insertScreenshot method. r=sebastian
MozReview-Commit-ID: KP37hhOxatN

--HG--
extra : rebase_source : 1735c785771833debd1883a5b2d2a557e8b32646
2016-02-26 18:24:41 -08:00
Michael Comella
196ad44e57 Bug 1243558 - Add UrlAnnotations.getScreenshots method. r=sebastian
MozReview-Commit-ID: GOjliERct95

--HG--
extra : rebase_source : f5a41d08d6d320a4f8ef8e39030faaf36ab3cb65
2016-02-26 18:24:49 -08:00
Michael Comella
cb1f901dc0 Bug 1243558 - Safely close Cursor in ScreenshotObserver. r=ahunt
MozReview-Commit-ID: L2R51jt34oS

--HG--
extra : rebase_source : 21b0515c238752734706939f653e9637ce8d5e48
2016-02-22 16:26:40 -08:00
Michael Comella
b900750aa2 Bug 1253381 - Move existing JavascriptBridge tests to JavascriptBridgeTest. r=sebastian
MozReview-Commit-ID: 7UQfbpzpGAg

--HG--
extra : rebase_source : 2a49038bcbf11de915fb85b2631c6f68bf30d3c7
2016-03-03 13:34:39 -08:00
Michael Comella
1f8aa986b9 Bug 1253381 - Add JavascriptTest javadoc to explain test. r=sebastian
MozReview-Commit-ID: BL8WU3m2U6v

--HG--
extra : rebase_source : e079bfbd4b0a3bcee58da989e6400992a54016ce
2016-03-03 13:33:42 -08:00
Michael Comella
97325903d8 Bug 1253381 - Add JavascriptBridgeTest. r=sebastian
MozReview-Commit-ID: HVBXqDmFVc0

--HG--
extra : rebase_source : 9aaee02c597af6c38daf6b165a73c49141494f1c
2016-03-03 13:33:12 -08:00
Chenxia Liu
7a52c007ec Bug 1254239 - Align bookmark folders with other home panel items. r=mcomella
MozReview-Commit-ID: KRfmSVqbhSl

--HG--
extra : rebase_source : c1f159e862198fce35fe3ece94dcfd1ae12a7ef9
2016-03-07 11:49:37 -08:00
Gijs Kruitbosch
e4f6985644 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ

--HG--
extra : rebase_source : 29669594a65d2f8710445bb8ae9b4b92c5834c91
2016-02-16 14:08:14 +00:00
Brian Grinstead
1e284078e9 Bug 1253886 - Re-add reference to common.css from the eyedropper frame;r=pbrosset
Since the frame doesn't allow any theme to load, common.css isn't be loaded automatically

MozReview-Commit-ID: 56Iss0VEbee
2016-03-08 09:54:47 -08:00
Gijs Kruitbosch
bc5ac03ed0 Bug 1254503 - ignore exceptions from trying to fix up obviously broken URIs, r=mak
MozReview-Commit-ID: 7fdJZmtc1zK

--HG--
extra : rebase_source : 0b0620a9e9c67900cd9a19aa0362118285de9ff5
extra : amend_source : 0e409a6b97e981f2fb4511658c94a041fabb24a4
2016-03-08 17:12:01 +00:00
Gijs Kruitbosch
ac0ad4fb40 Bug 1245649 - ignore readability JS files when running eslint, rs=implied-by-mossop
MozReview-Commit-ID: JdD35U8ZKvu
2016-03-08 17:00:47 +00:00
Paolo Amadini
97ee8c48ba Bug 1253585 - Remove legacy downloads test code and re-enable test_unknownContentType_dialog_layout.xul. r=mak
MozReview-Commit-ID: 6JkiYPiEatY

--HG--
extra : rebase_source : e2c679b741ac0b9a826750cbe0b184b511080b1a
2016-03-04 14:33:32 +00:00
Michael Kaply
472f566af8 Bug 1254268 - Distribution should use default prefs, regression from 1252466; r=mconnor 2016-03-08 09:39:45 -06:00
Gijs Kruitbosch
c18c42bb0c Backed out changeset 2331bc8e11a7 (bug 798249) for leaks and intermittent about:home uncaught errors
MozReview-Commit-ID: FWORd2nzGbl

--HG--
extra : amend_source : 0a962aa52855baae50f540edc12e1ab1872f11c6
2016-03-08 12:26:54 +00:00
Dão Gottwald
ddc0edabd1 Bug 1253584 - Fix and enable browser_NetworkPrioritizer.js for e10s. r=mconley 2016-03-08 12:16:42 +01:00
Sebastian Kaspari
6e2df92ca4 Bug 1250671 - Show full URL in URL bar on tablets. r=mcomella
MozReview-Commit-ID: 9zEh5jNm1Tr

--HG--
extra : rebase_source : 711d94dd73a57d27a6e8d5bdd479c6a9831d24c1
extra : amend_source : 43f3f6de9b0ca03fbe1bec002698b78c42bedb47
2016-02-23 16:05:36 -08:00
Gijs Kruitbosch
a65fa3d735 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ

--HG--
extra : rebase_source : a4136a9a97a6ffaddc4e442b4c6f24c79b31f3f3
extra : histedit_source : 5d39687b0d93f0c7058c2ef41e79ddb1e20cb495
2016-02-16 14:08:14 +00:00
Gijs Kruitbosch
618b8798ea Bug 1100700 - fix browser_unloaddialogs.js so it runs in e10s mode, r=mconley
MozReview-Commit-ID: DcxegzCXCN4

--HG--
extra : rebase_source : c957a18604023ee36c77874b3c4d68b3880982ee
extra : histedit_source : 458088a524eda8149f69a5570fd6894e321ab587
2016-02-29 19:02:57 +00:00
Sebastian Kaspari
8b8d46147d Bug 1254089 - LoadFaviconTask: Add proxy support. r=rnewman
MozReview-Commit-ID: lc8ufeTQ1Z

--HG--
extra : rebase_source : 847e87980f9ccc57061df4d57e621809f53ff204
2016-03-07 19:09:05 +01:00
Sebastian Kaspari
792ac1a990 Bug 1254089 - LoadFaviconTask: Use HttpUrlConnection instead of HttpClient. r=rnewman,nalexander
HttpUrlConnection supports SNI and LoadFaviconTask does not require fancy HTTP features.

MozReview-Commit-ID: IuDyU4xk7qI

--HG--
extra : rebase_source : 5762fc17ae513cfac9dbba825ad2d7b85857e695
2016-03-07 12:47:48 +01:00
Alessio Placitelli
fd3d11e603 Bug 1252869 - Fix browser_experiments.js to work with e10s. r=gfritzsche 2016-03-07 17:21:58 +01:00
Brendan Dahl
a91fe1b7f8 Bug 1251095 - Remove webapp_titlebar_bg.xml and references. r=myk 2016-03-03 18:22:00 +01:00
Brendan Dahl
e0b0e32ac8 Bug 1251093 - Merge shared_ui_components.xml back into gecko_app.xml. r=margaret 2016-03-03 18:21:00 +01:00
malayaleecoder
7938cf6ec4 Bug 1245044 - Move Restrictions class to restrictions package. r=sebastian
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/Restrictions.java => mobile/android/base/java/org/mozilla/gecko/restrictions/Restrictions.java
2016-03-05 23:11:18 +05:30
Brendan Dahl
11e5da58f6 Bug 1236071 - Remove unused android:panelBackground. r=mcomella 2016-03-07 17:02:00 +01:00
Brendan Dahl
5fbd0d0860 Bug 1199015 - Remove alert_app_animation drawables. r=mcomella 2016-03-07 17:16:00 +01:00
cijo
1cf47b8f45 Bug 1187382 - Revise AppConstants.Versions after release of Android M. The assignment logic has also been changed appropriately. r=sebastian 2016-03-07 04:18:00 +01:00
Jared Wein
63c24c282a Bug 1254148 - Fix browser_privacypane_8.js to run in e10s. r=gijs
MozReview-Commit-ID: 9Xwmlk8jp9B

--HG--
extra : transplant_source : %AD%9Ck%EF%C7%C78%CD%28%8B%D7%8E%2B%E3%13%7D%A1%08-%9F
2016-03-07 12:34:21 -05:00
Jared Wein
64075b6fc0 Bug 1253891 - "prefStrBundle.getFormattedString is not a function" exceptions in in-content/advanced.js. r=gijs
Guards were added to both async calls as it is likely that either of them could fire after the tab has been closed.

MozReview-Commit-ID: 9pKKNKXtxaP
2016-03-07 11:10:00 +01:00
Lin Clark
05225c81fc Bug 1253650 - Fix React propType warnings. r=fitzgen 2016-03-04 18:23:00 +01:00
Landry Breuil
95867c2802 Bug 1192556 - #ifdef AtomicWord typedef in protobuf to fix build on OpenBSD/i386. r=fitzgen 2016-03-07 14:14:00 +01:00
Julian Descottes
523168a54c Bug 1253881 - memory profiler: toggle diffing when clearing snapshots;r=fitzgen
When clearing all snapshots, if currently displaying a diff, dispatch the
diffing.toggleDiffing action.

MozReview-Commit-ID: 1DyPZ7tHC1X

--HG--
extra : rebase_source : 595d182023567c01fc14b7fb25fc65406296466d
2016-03-07 21:23:32 +01:00
Mark Hammond
4a6f83b80b Bug 1250085 - watch for tab navigations so we know to re-fetch the list of tabs to sync. r=rnewman 2016-03-08 17:47:26 +11:00
Kris Maglione
876d0a0806 Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
MozReview-Commit-ID: 7lE7RaJcl7n

--HG--
extra : rebase_source : 424987c745840d56647600b8d9e1bf941afb1d95
2016-03-04 15:40:56 -08:00
Andrzej Hunt
5d50379e03 Bug 1253340 - Use DBs created in Android 2.3 for testBrowserDatabaseHelperUpgrades r=mcomella
MozReview-Commit-ID: L7JLKt58im7

--HG--
extra : rebase_source : 7cc86282b9a29d887d707f338e5477f8a184ad31
2016-03-03 21:26:01 -08:00
Andrzej Hunt
81ce08fbcb Bug 1253340 - Pre: close the upgraded DB in testBrowserDatabaseHelper r=mcomella
Otherwise we'll receive
"android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here"
on shutdown.

MozReview-Commit-ID: Dq0ikutJDNd

--HG--
extra : rebase_source : 6b9b54d9ce9519e90dd35733513973da3f391634
2016-03-03 21:25:45 -08:00
Andrzej Hunt
20f248b3a0 Bug 1253340 - Pre: assert that we have the correct input database version in testBrowserDatabaseHelperUpgrades r=mcomella
This should help us spot if we ever upload a misnamed test DB.

MozReview-Commit-ID: B0vJuEeyrS8

--HG--
extra : rebase_source : 8d050c54a7ccbf6df95f7d101cc691a99f5d7d7f
2016-03-03 10:21:58 -08:00
Brian Grinstead
4fbcf8548f Bug 1243958 - e10s fixes for browser_webconsole_bug_588342_document_focus.js;r=linclark
MozReview-Commit-ID: 6UPTfFWAFE9
2016-03-07 16:54:18 -08:00
Nick Alexander
c531d30275 Bug 1221200 - Post: Change formatting and ordering. r=me
On a CLOSED TREE because DONTBUILD NPOTB

MozReview-Commit-ID: 56vyz2CRJsU

--HG--
extra : amend_source : 4ec60bc95019147225479c32b6982dc33c649cc4
extra : histedit_source : c3dc78da75a8f5b3985024a7d73ac92ab80628c2
2016-03-07 12:47:34 -08:00
Sambuddha Basu
3c21ec1304 Bug 1221200 - Offer Fennec artifact builds in |mach bootstrap|. r=nalexander
MozReview-Commit-ID: D2dw6qfPa5k

--HG--
extra : rebase_source : aab9128e2db247260777d32fe420ea06223e05bc
extra : histedit_source : de59158bcbf80671a03f534eafb4ac607e91ae37
2016-02-27 17:01:31 +05:30
J. Ryan Stinnett
3094c5d8e4 Bug 1253781 - Better perf with pure render. r=gl
There are few easy wins that greatly improve our perf with React:

* Add the PureRenderMixin to pure components that always render the same thing
  given the same props and state.  This implements React's shouldComponentUpdate
  as a shallow equality check of the props and state, so render() will be
  skipped if they match the previous values.
* Change action dispatch functions so they are only created once instead of on
  each render().  If an outer component creates new functions for each render()
  call, then the PureRenderMixin equality check fails for only the new function
  instances, even though no data has changed.

MozReview-Commit-ID: D96X048nEF4
2016-03-07 12:00:43 -06:00
Patrick Brosset
61aab1f481 Bug 1245383 - Use ContentTask.spawn to access the content window in 2 scratchpad tests; r=ochameau
browser_scratchpad_contexts.js and browser_scratchpad_execute_print.js used to
access javascript properties on the content window object by using 'content.'
directly.
Now these tests use 'ContentTask.spawn' instead, which required the
runAsyncCallbackTests helper to be changed so it would use a Task and yield
on the promises returned by prepare and then.

MozReview-Commit-ID: Cgw2mRxPrP4

--HG--
extra : rebase_source : de57e5c7ab155ee48f537941e0db7cf7f82ed266
2016-03-07 17:56:05 +01:00
Gabriel Luong
9227e41d43 Bug 1253879 - Update the devtools-separator to be the same style as the sidebar tab separator r=pbro 2016-03-07 11:43:07 -05:00