Commit Graph

327 Commits

Author SHA1 Message Date
Kashyap Gajera
a2fde92e87 Bug 1290701 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in toolkit/. r=dtownsend 2016-08-03 11:53:10 +05:30
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein
169d66a3ed Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES

--HG--
extra : rebase_source : e7ed2d094c21b59dd59476b8930b75da2e6d6980
2016-08-04 03:20:25 -04:00
Carsten "Tomcat" Book
1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Mike de Boer
ab362b9a3a Bug 1281421 - add new test to cover the new FinderIterator module code. r=jaws
MozReview-Commit-ID: HZHdjyqFiYq

--HG--
extra : rebase_source : 61f320059e6296e3752c27b07e885d27db83ea7f
2016-07-28 12:34:17 +02:00
Mike de Boer
938576136a Bug 1279684 - make sure that toggling 'Highlight All' also hides the found occurrences from the mask. r=jaws
MozReview-Commit-ID: 2AmSwNgE1if
2016-07-27 16:37:26 +02:00
Matthew Gregan
5e5637e77f Bug 1288980 - Add libcubeb backend to about:support. r=felipc 2016-07-26 10:50:14 +12:00
Jeff Gilbert
ff25018f0a Bug 1285661 - Add WebGL2 to about:support. - r=jrmuizel 2016-07-11 13:06:56 -07:00
Mike de Boer
75b4a5385b Bug 1279717 - disable browser_FinderHighlighter.js mochitest on linux due to frequent intermittents. r=test-only
MozReview-Commit-ID: EjhMo42XBk4
2016-06-23 12:54:36 +02:00
Mike de Boer
c1e2129965 Bug 1279717 - inverse the mask to use a white background on pages with bright text color. r=jaws
MozReview-Commit-ID: D2UFsOfMJln
2016-06-22 19:22:07 +02:00
Mike de Boer
a38f90a1a3 Bug 1279717 - introduce a Color.jsm module that implements common color math operations in a single place. r=jaws
MozReview-Commit-ID: Huu58xtApyf
2016-06-22 19:22:05 +02:00
Mike de Boer
ea46634171 Bug 1279742 - render the highlighter mask using plain HTML and CSS, instead of an SVG document. This improves performance and solves various layouting issues. r=jaws 2016-06-16 10:38:30 +01:00
Luca Greco
e276dc3fc8 Bug 1242522 - [webext] Add MatchURLFilters xpcshell-test. r=kmag
MozReview-Commit-ID: ETR51KDCSRm

--HG--
extra : rebase_source : 9ada9a00b552fe4b3be11d03eb0bcbae8051a00b
2016-06-07 18:09:25 +02:00
Mike de Boer
e42260141c Bug 384458 - part 5: add unit test coverage for the findbar modal highlight feature. r=jaws 2016-06-09 13:30:51 +02:00
Wes Kocher
0adc8ded6e Backed out 6 changesets (bug 384458) for frequent browser_FinderHighlighter.js failures
Backed out changeset ded915ec401f (bug 384458)
Backed out changeset 63ec66da50fa (bug 384458)
Backed out changeset ae71396d3be0 (bug 384458)
Backed out changeset 3b025cbfbe3c (bug 384458)
Backed out changeset 091c5465acf7 (bug 384458)
Backed out changeset 5eabde153def (bug 384458)
2016-06-08 14:53:57 -07:00
Mike de Boer
3b96317554 Bug 384458 - part 5: add unit test coverage for the findbar modal highlight feature. r=jaws 2016-06-08 19:54:12 +02:00
Chris Peterson
41ab04a4e2 Bug 1259335 - Part 2: Remove deprecated navigator.battery API and tests. r=baku
--HG--
extra : rebase_source : 82eeaa8964905627803acf250e434bf4036d2d1d
2016-06-06 23:10:44 -07:00
David Anderson
a0d6116993 Add buttons to about:support for reseting driver crash guards. (bug 1270894 part 2, r=milan) 2016-05-10 11:49:38 -07:00
Sebastian Hengst
7c5c08d787 Bug 1260522 - Don't try to show the OS architecture in about:support. r=adw
MozReview-Commit-ID: 4Qz2mRnjDhs
2016-04-28 22:57:25 +02:00
David Anderson
04138baed8 Add gfxConfig to about:support. (bug 1254899 part 12, r=milan) 2016-04-28 21:52:56 -07:00
Paolo Amadini
1d329e0789 Bug 1094201 - Implement an Integration.jsm module for low-overhead registration of overrides. r=mak
MozReview-Commit-ID: NJmCSIEkAz

--HG--
extra : rebase_source : 782a2f3faceca442954c8bb6e8be3ff8f55341be
2016-04-18 14:21:01 +01:00
Mathieu Leplatre
28f6b2f7bc Bug 1250191 - Add a way to serialize JSON canonically. r=MattN
Based on Alexis Metaireau's patch.

MozReview-Commit-ID: 3H3SKWy5GgM

--HG--
extra : rebase_source : e09660d0e031e72093546df684229aae616b5a72
extra : amend_source : 9c02da14cd5ff7255f5afc4a7adc15786ab0f8b6
2016-04-18 12:02:42 +02:00
Chris Pearce ext:(%2C%20Kirk%20Steuber%20%3Cksteuber%40mozilla.com%3E)
16770d8aad Bug 1264173 - Change ProductAddonChecker to download with XHR instead of nsIIncrementalDownload. r=mconley,spohl
Some addons (namely the Google Widevine EME Content Decryption Module) are
served from web servers that don't send Content-Length headers, and
nsIIncrementalDownload can't handle such downloads.

Also, change ProductAddonChecker to create XHRs used to download XML through a layer of indirection.

This ensures that test_GMPInstallManager can change the XHR response for the
update.xml requests without affecting the XHR requests to download the test
GMP.

Also add more error handlers on the addon download XHR.
2016-04-13 20:01:29 +12:00
Dave Townsend
6e44ebad84 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr

--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Andrew Swan
8aa15a9f8c Bug 1217944 - Part 1 - Make MatchGlobs work on arbitrary strings r=kmag
MozReview-Commit-ID: CK39lpGglKA

--HG--
extra : transplant_source : m%0C%D4%E0W%00%0F%00%D05%1E%8D%D8%91%C2%218nFB
2016-04-06 13:07:47 -07:00
Alexis Métaireau
88915017a0 Bug 1250104 - Import the "jsesc" library for escaping JavaScript strings. r=rnewman
--HG--
extra : rebase_source : 4aa4b917473d8a6d3ca9796c1bbb9d9d59b7b73a
2016-02-24 15:40:55 +01:00
Blake Kaplan
99310215c0 Bug 1174036 - Handle dynamically-removed textareas gracefully. r=mikedeboer r=ehsan
Also, flush layout when starting a find in order to avoid racing with
textarea-hiding notifications and maintain JS type correctness when objects
are passed over IPC.
2016-03-28 11:12:31 -07:00
Gijs Kruitbosch
ecf49e7e77 Bug 1252855 - allow setting a specific list of prefs from the content process, r=mrbkap,margaret,haik
MozReview-Commit-ID: DihkBXqlLQl

--HG--
extra : rebase_source : 32b2513847c0338164a98353fa5901b7857d473a
2016-03-13 13:10:16 +00:00
Marcos Caceres
744871eb97 Bug 1245334 - Make PromiseMessage.jsm ids more meaningful. r=baku
--HG--
extra : rebase_source : ff6f3d0b7a27e6f3b9c1738322ac9a156ecfbfda
2016-03-16 18:07:00 -04:00
Tom Schuster
3f7b262a15 Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
--HG--
extra : rebase_source : e6a951c77581b08fa8613852f54665506e9fb0ba
2016-03-16 15:11:57 +01:00
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Mike de Boer
cf23a40c78 Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley 2016-03-04 14:32:34 +01:00
Giorgio Maone
24ecf3fc2d Bug 1163862 - Switch to HTTP observer + support requestId & data: URIs + test fixes r=billm
MozReview-Commit-ID: 30nEXQpWEHg

--HG--
extra : rebase_source : 2928c50f78cec17419d3d6a550c124729949c567
2016-02-26 19:08:32 +01:00
Phil Ringnalda
04f23241db Back out 8ae0fba61023 (bug 1163862) for Win7 e10s test_ext_webrequest.html bustage 2016-02-25 20:41:40 -08:00
Giorgio Maone
b1ccc3bb44 Bug 1163862 - Switch to HTTP observer where possible + support requestId & data: URIs r=billm
MozReview-Commit-ID: EBRWBgGPqyD

--HG--
extra : rebase_source : c67a0633fcd2ac8eb8304567fe6ff072484e73bc
2016-02-24 00:21:42 +01:00
Shane Tomlinson
835cfa04a2 Bug 1146724 - test for WebChannel SendingContext. r=MattN/markh 2016-02-22 17:21:34 +11:00
Vince Tieu
396f41105b Bug 524757 - "Add architecture and operating system to about:support". r=adw 2016-02-09 15:57:00 +01:00
Dave Townsend
c8e4d5fbbc Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN
--HG--
extra : commitid : oKFzhSyf1r
extra : rebase_source : 0d31d93961cdfb2e5e467e0c7f28edb4ab14a083
2016-02-03 18:21:30 -08:00
Dave Townsend
e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
33281c75f0 Bug 1245649: Turn on linebreak-style. r=Gijs
--HG--
extra : commitid : 7JJb4UFNKj9
extra : rebase_source : 5c30f388ad82d3b73ce7d14c71a48a1f0ed84db7
2016-02-03 17:04:56 -08:00
Dave Townsend
0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Wes Kocher
1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini
ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda
d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Felipe Gomes
57c423daa3 Bug 1241959 - Follow-up, update test with the expected object schema. r=test-fix on a CLOSED TREE 2016-01-22 19:40:06 -02:00
Neil Deakin
a0f2f44d90 Bug 1234828, re-enable browser_Finder.js in e10s, r=mikedeboer 2016-01-19 09:29:38 -05:00
Mike Conley
c2fca6da5e Bug 1233803 - Register RemoteWebNavigation as a standard js-implemented XPCOM component. r=felipe
This allows us to add shims to the implementation for add-ons.

--HG--
rename : toolkit/modules/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc
rename : toolkit/modules/tests/browser/browser.ini => toolkit/components/remotebrowserutils/tests/browser/browser.ini
rename : toolkit/modules/tests/browser/browser_RemoteWebNavigation.js => toolkit/components/remotebrowserutils/tests/browser/browser_RemoteWebNavigation.js
rename : toolkit/modules/tests/browser/dummy_page.html => toolkit/components/remotebrowserutils/tests/browser/dummy_page.html
extra : commitid : 4W88YStCJVA
extra : rebase_source : 96dddec843c37571627de6b7237c4c96fe0607c0
extra : histedit_source : fba01b49a1191a3502811485f95ee6bea8f3a047
2016-01-12 16:44:08 -05:00