Commit Graph

36706 Commits

Author SHA1 Message Date
Rob Wu
e2e6ffa6f0 Bug 1287007 - Refactor test_ext_schemas_api_injection.js r=billm
When the background API move to a separate implementation,
then the schema APIs will be generated (and ChildAPIManager
will just delegate the implementation to the parent process).

The purpose of the test is to verify that nested namespaces and
null-feturn values work, so just use the base classes instead of a
concrete implementation for BaseContext / SchemaAPIManager instead of
setting up a full extension.

MozReview-Commit-ID: CB5s7Ae24zS

--HG--
extra : rebase_source : c9f50d84151b18323097e1a00d2eb3839a22f64d
2016-09-02 05:36:33 -07:00
Rob Wu
9b86e99594 Bug 1287007 - Improve errors for non-existing remote APIs r=billm
Currently, if the remote implementation is missing, the next unhelpful
error message is logged to the console:
"TypeError: findPathInObject(...) is not a function" or
"TypeError: findPathInObject(...) is undefined", etc.

This commit makes the message more useful:
"WebExtension API tabs.create not found (it may be unimplemented by Firefox)"

MozReview-Commit-ID: FhPEYKSjnLm

--HG--
extra : rebase_source : 29725b686428c7c052838681f396ff877d19bb18
2016-09-01 21:14:31 -07:00
Rob Wu
af60812f40 Bug 1287007 - Fix some flaws in ProxyAPIImplementation r=billm
- removeListener: There is no set.remove, use set.delete.
- Async callbacks: Do not unconditionally turn the result in a
  SpreadArgs because it causes the result to unconditionally
  be wrapped in an array (+test).

MozReview-Commit-ID: LqwtBsHWJJr

--HG--
extra : rebase_source : 1c569ab4733c8111960613fc210357960ae09e88
2016-09-01 21:10:18 -07:00
dimi
2660320626 Bug 1305780 - P2. Testcase for update fail. r=gcp
MozReview-Commit-ID: CopsfRuawdm

--HG--
extra : rebase_source : 85a19da2ac4666cdc0ca48fb307f1d8994870282
2016-10-24 08:43:54 +08:00
DimiL
48ddedb04e Bug 1305780 - P1. Implement the update fail scheme for v4. r=gcp
MozReview-Commit-ID: LeVpVIUdmjc

--HG--
extra : rebase_source : bfc189b5a3f1cfc17bd269bcb7e7edad826769a3
2016-10-19 12:52:05 +08:00
Dave Townsend
5ae97524cb Bug 1312055: Fix various eslint errors. r=standard8
MozReview-Commit-ID: 2XbldhBnofs

--HG--
extra : rebase_source : f0c91dfbe37159077b8d0506913dd719fe577f17
2016-10-21 10:03:51 -07:00
Tomislav Jovanovic
1975d67b88 bug 915036 - Implement DownloadSource.adjustChannel callback to support POST requests r=Paolo
MozReview-Commit-ID: 1RplqGhjtn6

--HG--
extra : rebase_source : 72c1300be889a61740cf6eca9c9e21fb979504a7
2016-10-21 15:54:18 +02:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Valentin Gosu
db9440de51 Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Valentin Gosu
99164c0eef Bug 1305204 - (Part 1) Backout bug 1275746 a=backout
MozReview-Commit-ID: FtOalze9SdY
2016-10-23 14:24:41 +02:00
Sebastian Hengst
3707bccaf0 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2016-10-22 23:03:08 +02:00
Sebastian Hengst
74dda94ef5 Merge mozilla-central to autoland. r=merge a=merge 2016-10-22 22:59:19 +02:00
Sebastian Hengst
30bb8ae0d4 Backed out changeset cc266f8bc70a (bug 1272890) for frequent failures in test_ext_contentscript_about_blank.html and a cascade of non-webextension tests. r=backout a=backout
MozReview-Commit-ID: 74wvhzI6fky
2016-10-22 22:56:18 +02:00
Ryan VanderMeulen
75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen
5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Michelangelo De Simone
07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Henry
36fa608182 Bug 1307541 - ProtocolParserProtobuf to init and return update time properly. r=francois.
MozReview-Commit-ID: CmVWVKUeunJ

--HG--
extra : rebase_source : e8cd28a805b892fd26ca9bede3523a04f1bb5686
2016-10-18 14:45:21 +08:00
Tomislav Jovanovic
b20233c434 bug 1272890 - implement match_about_blank for content scripts r=kmag
MozReview-Commit-ID: 3iZLpUw5LF4

--HG--
extra : rebase_source : dad8e344fe1f16fb5fe93d8ad3598330d79167fd
2016-10-12 05:48:04 +02:00
Gregory Szorc
6e2794cb56 Bug 1277359 - Fix syntax error introduced in 87fe724cfc90; r=me 2016-10-21 18:37:02 -07:00
Ralph Giles
fd8841c0d4 Bug 1277359 - Report SSE2 instruction support on linux update pings. r=rstrong
We need to advertise this to the update server to avoid downloading
updates which won't run because of unsupported cpu features on
the recipient's hardware.

MozReview-Commit-ID: H36VXnD3TnW

--HG--
extra : rebase_source : ec382626f96f4f863b9ed44c5aec529d541815b9
2016-10-07 16:25:42 -07:00
Ryan VanderMeulen
23a915d778 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-10-21 17:15:38 -04:00
Thom Chiovoloni
0117e0cf73 Bug 1299978 - Reupload parents of revived bookmarks and buffer folder deletion during sync r=markh,rnewman
MozReview-Commit-ID: BDfp5FffCWh

--HG--
extra : rebase_source : 0caecb27d753577373e150dd770370bd328dbe32
2016-10-05 14:04:50 -04:00
Jared Wein
43af4edf06 Bug 1311450 - Only show the 'touch' padding for the select dropdown when opened via touch. r=mconley,smaug
MozReview-Commit-ID: 521oAj1NzX7

--HG--
extra : rebase_source : c6e72987cfd0c237269ff7f203d47f1e21652e85
2016-10-20 12:45:39 -04:00
Andrew Swan
90b062a959 Bug 1311180 Switch mozAddonManager to frame message managers r=rhelmer
MozReview-Commit-ID: GbX0VRn4HUF

--HG--
extra : rebase_source : a852a68d0c0b07f7844650e41783c577534c4527
extra : source : 5656093771903569104f411742748777ae3585a5
2016-10-11 16:40:24 -07:00
Sumit Tiwari
bd39055a71 Bug 1309249: Add filepath to OS.File.read errors for lz4 decompression;r=Yoric
MozReview-Commit-ID: 3zeRnFYot69

--HG--
extra : rebase_source : 6d702ad8956744ad8dfa0429e0449f1613bb7e17
2016-10-16 11:30:47 -04:00
Sebastian Hengst
429cfcada7 Bug 1298211 - Implement chrome.topSites: Follow-up: Disable test on Android. r=me on a CLOSED TREE to fix xpcshell bustage 2016-10-20 21:00:20 +02:00
Kit Cambridge
bd8b26cc15 Bug 1310554 - Simplify BookmarkSyncUtils.order and use map lookups in Bookmarks.reorder. r=mak
Bug 1293365 fixed the query in `Bookmarks.reorder` to leave missing
entries in place, instead of moving them to the end of the folder. It
also correctly ignores nonexistent children, so we can
remove all the extra logic in `PlacesSyncUtils`.

We can also use a map instead of two linear searches to look up
indices in the `Bookmarks.reorder` sorting function. This reduces the
time to sort an array of 10k children from 30 seconds to less than a
second on my dev machine.

MozReview-Commit-ID: G9vuC12JXq4

--HG--
extra : rebase_source : 402e55b44f43a672d847f1f457bcb3538819e341
2016-10-19 19:06:34 -07:00
Shane Caraveo
6b82481239 Bug 1298211 - Implement chrome.topSites, r=aswan
MozReview-Commit-ID: I043WQoDbrf

--HG--
extra : rebase_source : 2e1e1e8890e1b195bd318d0635e56c73ac838c4f
2016-10-19 13:52:27 -07:00
Dave Townsend
c84765b00c Bug 1311459: Fix unsafe CPOW warnings in toolkit/mozapps/extensions/test/xpinstall. r=rhelmer
MozReview-Commit-ID: BX51ugGD54x

--HG--
extra : rebase_source : 3949a3a0dfbc5966b8db85e4bbf7b33a50733ee2
2016-10-19 11:31:57 -07:00
Carsten "Tomcat" Book
2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
Evan Tseng
1312aff5f5 Bug 1256074 - Always present a 'search' option when the location bar search is "fixed" to an URL. r=mak
MozReview-Commit-ID: 7olZPhnmjTH

--HG--
extra : rebase_source : fdf4fdbdd265369ddbad3da84cf5885cac16af98
2016-10-05 17:39:08 +08:00
Steve Chung
a046828f4a Bug 1300988 - Part 2: Move MockDocument to toolkit/modules and refactor unit test in passwordmgr. r=MattN
MozReview-Commit-ID: 16jZ7UzhVDf

--HG--
rename : toolkit/components/passwordmgr/test/unit/head.js => toolkit/modules/tests/MockDocument.jsm
extra : rebase_source : bf23ad4432cc9a30fb1295dd6ed688a11ab597e3
2016-10-18 18:45:24 +08:00
Luke Chang
aa29135011 Bug 1309481 - Remove leftover code specific to Logins from JSONFile.jsm and add tests; r=Paolo
MozReview-Commit-ID: DjEPCN2PXA1

--HG--
extra : rebase_source : d1150d6a0cbc94282d6120f38c094fb58eed9d5e
2016-10-17 18:26:35 +08:00
Phil Ringnalda
5f307bd640 Merge f-t to m-c, a=merge
MozReview-Commit-ID: 2EvSTWDWg4t
2016-10-19 18:27:04 -07:00
Carsten "Tomcat" Book
036a7c4324 merge mozilla-inbound to mozilla-central a=merge 2016-10-19 17:02:38 +02:00
Carsten "Tomcat" Book
8f39c7b817 merge fx-team to mozilla-central a=merge 2016-10-19 17:00:47 +02:00
Phil Ringnalda
49e5afec54 Merge m-c to f-t 2016-10-18 19:57:44 -07:00
Phil Ringnalda
6c91017f20 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Vincent Lequertier
1d14535329 Bug 1303355 - Error in parsing value for -moz-box-pack, chrome://mozapps/skin/extensions/newaddon.css, r=florian. 2016-10-19 00:36:59 +02:00
Benjamin Smedberg
07b45aaa26 Fix merge conflict bustage for removed file from bug 1307445 part A.
MozReview-Commit-ID: LQ5tZclbtb6

--HG--
extra : rebase_source : 01447300d41eaa074cf11658ceb8f135c7aeb27e
2016-10-18 09:32:57 -04:00
Andi-Bogdan Postelnicu
b91bc4c721 Bug 1308868 - Add ignore-initialization-check annotation to time from RecentURIKey. r=adw
MozReview-Commit-ID: ZDCY7i19x5
2016-10-18 15:27:46 +03:00
Phil Ringnalda
8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Carsten "Tomcat" Book
5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Wes Kocher
9abb1e1c41 Merge m-c to inbound, a=merge 2016-10-17 15:37:34 -07:00
Wes Kocher
573dc19393 Merge inbound to central, a=merge 2016-10-17 15:34:14 -07:00
Eitan Isaacson
b69aa4a817 Bug 1310448 - Wait for narrate button to appear before starting tests. r=Gijs
MozReview-Commit-ID: 8MPzdZvAT1

--HG--
extra : rebase_source : 8b28455d6da601582252674d3092845857b1d0cf
2016-10-17 12:17:39 -07:00
Neil Deakin
9214951d19 Bug 1305362, skip disabled menuitems in menulists on all platforms, r=ksteuber 2016-10-17 11:56:34 -04:00
Ted Mielczarek
e9130abab5 bug 1305731 - Revert workaround from bug 1301751 now that we have updated to Rust 1.12. r=froydnj
MozReview-Commit-ID: 3akbELExfKT

--HG--
extra : rebase_source : 0308214bae6eb683df65991fc91d41679acd3530
2016-10-17 10:47:30 -04:00
Gabriele Svelto
ddc06141af Bug 1280484 - Add stack traces to the crash ping r=bsmedberg 2016-10-17 12:56:45 +02:00
Florian Quèze
989136e246 Bug 1307445 - remove last CSS references to :-moz-type-unsupported, r=mconley. 2016-10-19 16:25:05 +02:00