Commit Graph

1971 Commits

Author SHA1 Message Date
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Kris Maglione
6a54373b00 Bug 1398642: Bustage fix bustage fix. r=me CLOSED TREE
MozReview-Commit-ID: 4jTSVg6L3is

--HG--
extra : amend_source : 0b56c8b05f5b44cfb30e47a8561ed251bc9201c4
2017-09-11 21:59:15 -07:00
Kris Maglione
82c8480c2b Bug 1398642: Follow-up: Fix terrible error checking code. r=me CLOSED TREE
MozReview-Commit-ID: 1xQNYwZiqsj

--HG--
extra : rebase_source : a32457e8b1078978623657c2ad0587eb7eda4765
2017-09-11 21:18:42 -07:00
Ed Lee
02f10c7eab Bug 1398955 - Include url with RemotePage messages. r=mossop
MozReview-Commit-ID: CkwHOpTAvUw

--HG--
extra : rebase_source : bd4b6bd66d2c922bdf082c74284e0e197a89a86a
2017-09-11 15:17:38 -07:00
Kris Maglione
3c4f332231 Bug 1391707: Follow-up: Update DeferredTask tests not to use generator functions. r=me
MozReview-Commit-ID: 8ertwxW0rRv
2017-09-11 17:05:11 -07:00
Kris Maglione
a4c190dad7 Bug 1398642: Several minor WebRequest optimizations. r=mixedpuppy
MozReview-Commit-ID: 4vsDScMkyzA

--HG--
extra : rebase_source : 96e778aea729300c4629bff7da83c960b8e011ff
2017-09-10 18:37:52 -07:00
Kris Maglione
80178f8d4d Bug 1391707: Part 1 - Use idle dispatch in DeferredTask. r=florian
MozReview-Commit-ID: Ktlu71aIcRZ

--HG--
extra : rebase_source : f1bd118a1d869deddb5fe9107641f848cf4165e3
2017-09-01 16:39:14 -07:00
Kris Maglione
fee33acaec Bug 1391707: Part 0 - Remove Task.jsm support from DeferredTask. r=florian
MozReview-Commit-ID: LEbrPt0uae0

--HG--
extra : rebase_source : 4ba5d4a0eb988660639e5d2f9161ce380ad8d014
2017-09-10 13:14:12 -07:00
Kris Maglione
a6c6de086a Bug 1397448: Part 1 - Generate WebRequest message objects in WebRequest.jsm. r=mixedpuppy
Aside from moving this logic closer to the place the input data is generated,
this significantly reduces the number of cross-compartment wrappers involved
in creating those messages, especially with JSM global sharing enabled.

MozReview-Commit-ID: 6IvetcHnMfC

--HG--
extra : rebase_source : 0f97464ee9840ac40a6882e70e99d5b6c566c5ef
2017-09-06 17:43:38 -07:00
Ursula Sarracini
f6077dace1 Bug 1396104 - Use rich icons when getting top sites r=Mardak
MozReview-Commit-ID: IMv0osslTS3

--HG--
extra : rebase_source : d3b40e5be01ffdeab85415e60bd269b8b394769f
2017-09-08 15:28:39 -04:00
Shane Caraveo
dbbc61a4fc Bug 1398622 fix ws handling in contentpolicymanager, and fix stupid error. r=kmag
MozReview-Commit-ID: EmPvtRrnrnI

--HG--
extra : rebase_source : 3db1fa7ea2046710208bbaf66a76e02e7c9a6df3
2017-09-10 21:37:27 -07:00
steveck-chung
e682d5e580 Bug 1377006 - Part 1: Add disable highlight option in main action button. r=johannh
MozReview-Commit-ID: 5WgQzdxmsNp

--HG--
extra : rebase_source : f29f75cff1b9c335bb8f6619a8da8ff63fb72636
2017-07-27 16:34:52 +08:00
Peter Van der Beken
6241d3800f Bug 1391118 - xslt-generated select tag pull-down does not respond to clicks. r=jaws 2017-08-22 14:23:33 +02:00
Sebastian Hengst
8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Kris Maglione
d6b735f9d2 Bug 1397536: Avoid newURI overhead for MatchPattern. r=ehsan,mixedpuppy
Ehsan, can you please review the (trivial) WebIDL changes, and Shane the
WebRequest logic?

The change to allow strings in MatchPattern arguments removes a huge amount of
XPConnect overhead that accumulates when creating nsIURI objects for
WebRequest processing.

The change to re-use existing URI objects removes a huge amount of URI
creation overhead.

MozReview-Commit-ID: 3DJjAKJK1Sa

--HG--
extra : rebase_source : 585a1c3c136ed1c5014f680ae81f635c8d1a2931
2017-09-06 21:56:45 -07:00
Kris Maglione
025991aa30 Bug 1396856: Part 4 - Update WebRequest.jsm to use ChannelWrapper bindings. r=mixedpuppy
MozReview-Commit-ID: 7s7SOQ1XVaw

--HG--
extra : rebase_source : 9fb6fabffd3c32e52e4b94dba476483a7118c660
2017-09-06 21:52:24 -07:00
Ed Lee
0d6e05576c Bug 1396282 - Add query for getting Highlights (recent bookmarks and recent history with metadata). r=mak
Adds index to moz_bookmarks.dateAdded for use by Highlights query for recent bookmarks.
MozReview-Commit-ID: 7Gs8H0kUij2

--HG--
extra : rebase_source : 23498bcde4faeeb116c534dc9e124429a86d3e14
2017-09-02 13:15:04 -07:00
Ed Lee
85b1aa47dd Bug 1389125 - Refactor ActivityStreamProvider in preparation for Highlights. r=ursula
Add helpers for shared adjusting limit, bookmarkGuid sub-SELECT, WHERE and params. More efficiently select https and correctly select bookmarks. Remove _addETLD, getHistorySize and getBookmarksSize. Allow for activity stream caller to customize more options.

MozReview-Commit-ID: Lj9AhoFJar

--HG--
extra : rebase_source : fb4bb13969b47c28c1a137075304efb23c254182
2017-09-02 13:13:52 -07:00
Sebastian Hengst
8e0b4e937f Backed out changeset 5d320d8864e9 (bug 1353013) for failing e.g. test_accessiblecaret_cursor_mode.py of Marionette headless on OS X. r=backout 2017-09-05 22:44:20 +02:00
Mike Conley
ec416a2990 Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian
Based on a patch that Dão Gottwald <dao+bmo@mozilla.com> wrote.

We used to preload about:newtab as soon as a tab had finished being opened,
which meant that the first opened tab was _never_ preloaded, and that we
risked janking the browser immediately after the user opened a new tab
(which is, arguably, the worst time to do it, since the user is probably
about to navigate that tab somewhere).

This patch makes it so that about:newtab is preloaded after:

1) 1 second of user inactivity, and
2) When we have at least 40ms of idle time to spend in an idle callback.

The 1s and 40ms thresholds were chosen arbitrarily, and we might tune them
over time.

MozReview-Commit-ID: J5xkPQvCdW6

--HG--
extra : rebase_source : 51aed2f47ee5c6a68d04036d0bdc9e6357a5fc8d
2017-08-24 15:23:18 -07:00
Steve Armand
e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Kris Maglione
587f846f5f Bug 1255894: Part 7 - Expose response stream filtering via the webRequest API. r=mixedpuppy
MozReview-Commit-ID: AErBFGJyFg5

--HG--
extra : rebase_source : 0718ae27322c60a1ef8b67464dbca7d705f23628
2017-09-02 13:37:31 -07:00
Ehsan Akhgari
530c747a80 Bug 1395795 - Convert RemoteController.jsm into a normal JS script in order to avoid paying the cost of wrapping the arrays passed in the arguments; r=Mossop 2017-09-01 15:12:08 -04:00
Sebastian Hengst
030c11d7dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Bevis Tseng
215842a23c Bug 1392500 - Name the users of setTimeout() in Timer.jsm. r=billm,mccr8
1. Make nsINamed queriable on WrappedJSHolder.
2. Identify callers via |Cu.generateXPCWrappedJS(aCallback).QueryInterface(Ci.nsINamed).name|.

--HG--
extra : amend_source : 5d4201059f66e46c869c30a963921b6f7b91c389
2017-08-24 14:56:18 +08:00
Kris Maglione
8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Shane Caraveo
59020b3a07 Bug 1388889 fix null principal handling for webrequest, r=kmag
MozReview-Commit-ID: B8qK4ZnaO9i

--HG--
extra : rebase_source : d8f1abed1f46bd6a57a0140443fb2e34e8f20497
2017-08-25 14:12:42 -07:00
Shane Caraveo
9b513f8bd3 Bug 1373646 add nsIProxyInfo to webrequest, r=kmag
MozReview-Commit-ID: pc98rgtkVc

--HG--
extra : rebase_source : d4655e6851a402616908bc32a2e119cb679a340f
2017-08-23 10:43:04 -07:00
Shane Caraveo
0012e18180 Bug 1388289 fix challenger info for proxy auth requests, r=kmag
MozReview-Commit-ID: D0Tin2bK8R4

--HG--
extra : rebase_source : b4f299fd9c2fe404f7450c16da4a5127fa3cfd9f
2017-08-17 19:56:22 -07:00
Shane Caraveo
75156ec5c2 Bug 1393909 remove sync messaging from WebRequest, r=kmag
MozReview-Commit-ID: BrZ6FgP7Uyj

--HG--
extra : rebase_source : 349b30cf05508ca1232fc7d60efec6e394d05bdc
2017-08-25 12:36:28 -07:00
Dan Banner
f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
J. Ryan Stinnett
cb71aaebe0 Bug 1393233 - Add env var to disable Stylo. r=bholley
MozReview-Commit-ID: BjNWGh3LQIj

--HG--
extra : rebase_source : 882c78e175d2cd2d2f3b389ee3240fe7eb2a6c94
2017-08-23 17:58:32 -05:00
Tim Nguyen
839ca6c29e Bug 1389465 - Allow changing urlbar and search input background and text color. r=dao,jaws
MozReview-Commit-ID: HrjxTbNwlEK

--HG--
extra : rebase_source : 31eb3f1792f0813d7aad484ac12d37f68161d42b
2017-08-24 15:55:02 +02:00
Marco Bonardo
7f569f98d9 Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth
MozReview-Commit-ID: V3ZjLEjqmT

--HG--
extra : rebase_source : 6f559b473c32dfcfb2bfe919c53199e202f7d636
2017-07-31 22:27:23 +02:00
Evelyn Hung
2292f819c5 Bug 1383299 - Fix xpcshell test failures, r=dao
Some xpcshell tests run with _windowless_ browser and calls its LoadURI().
It then failed to get `aBrowser.contentWindow` when we tried to create OA
and detected if the browser was in the private mode.

MozReview-Commit-ID: DWGMyfao1wG

--HG--
extra : rebase_source : c8ed703221aa84ead8288dc7c1f200838808792b
2017-08-22 12:04:19 +08:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Masatoshi Kimura
35399ee9fc Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE

--HG--
extra : rebase_source : 1e0a6ba438e51a851013356faf84d8eb91ff78b6
2017-08-19 22:10:44 +09:00
Paolo Amadini
ba9c155837 Bug 1391576 - Stop doing main-thread I/O in FileUtils.getFile for the most common case. r=kmag
MozReview-Commit-ID: HybmKdeReeX

--HG--
extra : rebase_source : 1f109e213db36797105471236b8389acc28b1478
2017-08-18 11:12:34 +01:00
Ed Lee
f53925e761 Bug 1389701 - Newly loaded child RemotePageManager can register pages too late to properly manage created documents. r=mossop
MozReview-Commit-ID: HSxuywFhqmb

--HG--
extra : rebase_source : d3315500259e6e407b2851722b03eaa1bfe6ea1c
2017-08-17 10:08:13 -06:00
Zibi Braniecki
a7b00209a5 Bug 1386015 - Do not generate styling for each element with inherited color. r=jaws
This patch does a minor refactor of the code used to style popup menu for
the <select> element.
It improves the custom styling experience on MacOS, preserves the functionality
on Windows and removes the unnecessary per-item CSS rules significantly
improving the performance of opening the <select> list.


MozReview-Commit-ID: 7myXq8aDAWr

--HG--
extra : rebase_source : 3ff52f832ec471cca0942e5d8a39961dbc84cff4
2017-08-11 17:38:14 -07:00
Shane Caraveo
340c39b332 Bug 1368527 add new on-before-connect notification to httpChannel, r=dragana,kmag
MozReview-Commit-ID: 8hiAgY4KzDB

--HG--
extra : rebase_source : d18bbf2ce011cf2236a3cebdc65a750e9ef66c10
2017-08-15 13:11:50 -07:00
Ursula Sarracini
79bf23d9a1 Bug 1395203 - Unable to delete from history if a top site is pinned r=Mardak
MozReview-Commit-ID: 23shFz944kh

--HG--
extra : rebase_source : 9204cf185d78dfcad9d79257ca0cbcf82eed5f33
2017-08-30 13:12:15 -04:00
ahillier
ca7e4abd3f Bug 1390282 - Allow RemotePageManager to accept an array of URLs r=mossop
MozReview-Commit-ID: vTQmUDabHI

--HG--
extra : rebase_source : 8f95cfaf56b5d51318b05ab816ac6278e89713d6
2017-08-15 16:05:56 -04:00
Masatoshi Kimura
be91c9a266 Bug 886907 - Remove old synchronous contentPrefService from the tree. r=adw
MozReview-Commit-ID: BZsB3FR3jHC

--HG--
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/contentprefs/nsContentPrefService.manifest => toolkit/components/contentprefs/ContentPrefService2.manifest
extra : rebase_source : ab45b7668e97734004502ea776effedcb9b74974
2017-08-11 23:29:55 +09:00
Masatoshi Kimura
f7fb96c7e5 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj

--HG--
extra : rebase_source : 968490c3f787949324c44ba75b6daf5c346f54c3
2017-08-14 20:46:55 +09:00
Sebastian Hengst
2612b5bcf7 Backed out changeset f92c249cae8b (bug 886907) for failing editor/libeditor/tests/test_bug1368544.html on Android 4.3 debug. r=backout
--HG--
rename : toolkit/components/contentprefs/ContentPrefService2.js => toolkit/components/contentprefs/ContentPrefService2.jsm
rename : toolkit/components/contentprefs/ContentPrefService2.manifest => toolkit/components/contentprefs/nsContentPrefService.manifest
2017-08-15 16:35:07 +02:00
Masatoshi Kimura
8b413e305a Bug 886907 - Remove old synchronous contentPrefService from the tree. r=adw
MozReview-Commit-ID: BZsB3FR3jHC

--HG--
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/contentprefs/nsContentPrefService.manifest => toolkit/components/contentprefs/ContentPrefService2.manifest
extra : rebase_source : 2d10305f75dbbec173ef8965d159196bfbad77b0
2017-08-11 23:29:55 +09:00
Carsten "Tomcat" Book
6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Mason Chang
cdb7204303 Bug 1389338 - Show Off Main Thread Status in about:support. r=rhunt 2017-08-14 21:08:18 -07:00
Ursula Sarracini
ae69f895c2 Bug 1388863 - Bookmarking a link via Activity Stream context menu should give feedback r=adw
MozReview-Commit-ID: Bd2eed1rX91

--HG--
extra : rebase_source : 5a2cc568e78c04173d463b84647453d2ebdfedef
2017-08-14 16:27:39 -04:00