Граф коммитов

60 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 243d52f0c3 Bug 1294502 - Use the same AutoCompletePopup logic for e10s and non-e10s. r=MattN
MozReview-Commit-ID: B0QQLEn3yS

--HG--
rename : toolkit/components/satchel/AutoCompleteE10S.jsm => toolkit/components/satchel/AutoCompletePopup.jsm
extra : rebase_source : 6f7c5db24f5beb841cc67deb69ba88782a88c2f6
2016-08-18 10:50:58 -04:00
Mike Conley e66438b410 Bug 1294502 - Move AutoCompletePopup implementation for content to browser-content.js so that non-e10s can use it in a later patch. r=MattN
MozReview-Commit-ID: 2fB4M3lqpLK

--HG--
extra : rebase_source : bbadfe6dacb08a1d7231a39227802484772ebc2b
2016-07-28 14:18:50 -04:00
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
Thauã Silveira be23815df3 Bug 1287587 - Add Telemetry probes for user printing activities. r=mconley, data-review=liuche 2016-07-21 13:57:00 -04:00
Thom Chiovoloni 838730ae1b Bug 1238128 - Ensure that the details passed to WebChannelMessageToChrome is a string, with a whitelist for messages from existing users r=Margaret,markh,MattN
MozReview-Commit-ID: DpdJ5bUcBdQ

--HG--
extra : rebase_source : b240484b44e9040b2d4e8509589f288e896a4267
2016-07-12 19:34:41 -04:00
Matheus Longaray a5ed7d2abc Bug 1285544 - Make sure print jobs that go through simplification get the right document URL set. r=mconley. 2016-07-11 08:48:00 +02:00
Matheus Longaray 2b9eece319 Bug 962433 - "Use Reader Mode for printing articles" [r=mconley]
This adds a checkbox to the print preview toolbar for simplifying
a document before printing.

This feature is currently disabled by default, hidden behind the
print.use_simplify_page pref.

MozReview-Commit-ID: HOtkuEQnJFg

--HG--
extra : rebase_source : 0423269ff26a4420a05de45cd7ad4ab84458f4f8
extra : amend_source : a340a83dc70c73aed5efcaf84c09503e88301888
2016-06-02 09:29:00 -04:00
Alastor Wu ae6fa1e22d Bug 1240423 - part1 : implement the remote media-control on Fennec. r=ahunt
MozReview-Commit-ID: GjkSCy5ecbQ

--HG--
extra : rebase_source : d0f3c81e5f42d556a19e3283b8b0dfdc0e3e7381
2016-06-01 10:26:01 +08:00
Felipe Gomes d2bf40b405 Bug 1273685. Further reduce the message size by limiting the size of the URI to be sent. r=Gijs
MozReview-Commit-ID: EMXYaUwnGR2
2016-05-30 19:03:16 -03:00
Felipe Gomes 202180cd74 Bug 1273685. Reduce size of PopupBlocking:UpdateBlockedPopups messages. r=Gijs
The size is reduced by making the message only carry the count of blocked popups, and not the full list of popup URLs that were blocked. The parent becomes responsible for retrieving the list from the child when it needs to display it.

MozReview-Commit-ID: DsxLFD8iE3t
2016-05-30 19:02:17 -03:00
Alastor Wu 60f0aad68a Bug 1242874 - part2 : window's suspend attribute. r=baku, r=ehsan
MozReview-Commit-ID: 2GZMjsaQWHC

--HG--
extra : rebase_source : 7840bda5c5e7e59d27fede1fce03a6b52760e798
2016-05-03 09:51:22 +08:00
Carsten "Tomcat" Book 92d4b1a25d Backed out changeset 50896498013c (bug 1242874) 2016-04-28 13:59:06 +02:00
Alastor Wu 1bc115c492 Bug 1242874 - part2 : window's suspend attribute. r=ehsan, r=baku
MozReview-Commit-ID: Jw3E8Jdb66J

--HG--
extra : transplant_source : %2C%DF%BE%2A%8B%A6%5B%CA%DD%FAp%01%A8c%FB%9B%B4%017q
2016-04-28 00:21:27 +08:00
Alastor Wu b5361feb4b Bug 1249579 - part2 : audio competing suspend/resume methods. r=snorp, baku.
MozReview-Commit-ID: EjNvKELCiAy

--HG--
extra : transplant_source : %AE%20%21e%E1%94%DE%29B%9C%F5%04%13%C6%3Dr%D3%9Aj%B4
2016-04-18 18:48:41 +08: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
Gijs Kruitbosch abe1c0b2f7 Bug 621158 - make appcache use messaging for quota management, r=mayhemer,jaws
MozReview-Commit-ID: GfHbERuzuW8

--HG--
extra : rebase_source : 40e7a841174fb4121afc25e45edf1b10527688e7
2016-03-21 10:22:16 +00:00
Gijs Kruitbosch 6475240fa0 Bug 1239885 - fix popup blocking brokenness when no URI is passed to window.open, r=felipe
MozReview-Commit-ID: IH4RPDxuOon

--HG--
extra : rebase_source : ba9ed3ebeebc1318152118051a227a32a758fba9
extra : histedit_source : 819a05db52693db5849ef853b57f257a79fe26b8
2016-03-16 16:52:17 +00:00
Botond Ballo ef68053e5c Bug 1238137 - Telemetry pings for main thread autoscrolling. r=mconley
--HG--
extra : commitid : DbDCoiFw70B
extra : rebase_source : 4c1ffe4eca68b4da86da32d0467890b10a386f3c
extra : histedit_source : 0d8990d8229788a691ff14298529787c5de6a253
2016-02-05 18:01:27 -05: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
Luis Miguel [:quicksaver] dd3a7632f4 Bug 1218351 - (e10s) Don't lose initial typed characters when opening the findbar. r=mikedeboer
--HG--
extra : transplant_source : u%A5%05_%0D%0CR%2B%1A%D8s%B228%CEn%3EH%F6-
2015-11-04 15:26:40 +00:00
Gijs Kruitbosch 4d2addedb3 Bug 1190382 - fix reference to KeyboardEvent in content process, rs=bustage
--HG--
extra : commitid : H802gBVwVxg
extra : rebase_source : 679fcfbc237acd9077d52eb7a079747bfba06a10
2015-12-04 15:29:05 +00:00
Gijs Kruitbosch bdd852acd7 Bug 1190382 - don't send useless KeyboardEvent properties, r=neil
--HG--
extra : commitid : 5h4frlALRJ9
extra : rebase_source : ce387ca1af2f7c0d2e9f06406d034304fb31e2aa
2015-12-02 15:25:29 +00:00
Xidorn Quan 1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Xidorn Quan 9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
Alexandre Poirot 89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
aleth 686db8024d Bug 1177709 - Avoid a TypeError in browser-content.js by making the _findAsYouType getter a normal property. r=mossop
--HG--
extra : rebase_source : 5530da0ffbd1cee22beba94be3e6a5f34da4cea0
extra : amend_source : 60537e8fe7efdac3baa24bc7fa0eb1c3024de041
2015-09-29 00:01:49 +02:00
J. Ryan Stinnett efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Mike Conley acf57ca511 Bug 1199434 - Send printer error messages to the parent process to report to the user. r=Mossop
The printing back-end used to be in charge of opening up an error dialog
when things go wrong with printing. Now we fire an event and let PrintUtils
do the work of showing the error message. This has the added bonus of making
the error messages work with e10s.

--HG--
extra : commitid : LPWfOvQ1TaI
extra : rebase_source : fa6f71e6c9cf9062feb2bd1d0f362680899385fc
2015-09-16 16:12:54 -04:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Felipe Gomes 70fd7282cc Bug 1180495 - [e10s] Ensure that clearing history also clears the session history of remote tabs. r=mconley 2015-08-10 16:15:11 -03:00
Neil Deakin 4e5e016c5d Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Ehsan Akhgari 778c91d13d Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Boris Zbarsky 64fe037420 Bug 1181762. Remove uses of mozRequestAnimationFrame from toolkit code. r=gijs 2015-07-14 15:28:57 -04:00
Carsten "Tomcat" Book faca8471fb merge mozilla-inbound to mozilla-central a=merge 2015-07-10 12:17:18 +02:00
Mike Conley 03b699b5f3 Bug 1146454 - Stop using CPOWs for printing. r=billm
We were passing around content window CPOWs before to indicate
which content to send to the printer. This was, naturally, causing
unsafe CPOW usage warnings - especially when attempting to get at
the content window of an iframe with the context menu printing
command.

This patch changes the printing mechanism to use outer window IDs
instead of CPOWs.

--HG--
extra : commitid : 7bG2asTYoDR
extra : rebase_source : 3d8d10dbd0d7ce4b2891d81b5f15d71341b79f84
2015-07-03 16:06:04 -04:00
Ehsan Akhgari d8ec611352 Bug 1180448 - Add APIs to XUL browser for muting and unmuting audio playback in the document loaded inside it; r=mconley 2015-07-09 21:34:47 -04:00
Ehsan Akhgari def0e4ae45 Bug 1180421 - Add support for DOMMediaPlaybackStarted and DOMMediaPlaybackStopped events; r=mconley
These events are dispatched to a XUL browser element when a document loaded
inside them starts or stops media playback.
2015-07-09 21:24:25 -04:00
Nick Alexander d2e4f01390 Bug 1174458 - Move WebChannel message support to toolkit/content. r=markh
This makes WebChannel support available to all XUL applications that
use toolkit/, including browser/ and mobile/android/.

The new Robocop tests are necessary because we can't run the existing
browser-chrome tests on Android (yet).

--HG--
extra : commitid : EEWHFSpeQSo
extra : rebase_source : 9fde40b33a9f45003692989584f0fc76c9a6ddb8
extra : histedit_source : aac63d2d5fdeeb6de931c9cbf66d4ad79ad3caa1
2015-06-30 11:46:27 -07:00
Jim Chen 2db523e14e Bug 1173379 - Lazy-init console in browser-content.js; r=Mossop 2015-06-16 19:35:52 -04:00
Shane Caraveo fcf99f4b40 Bug 1153016 split content.js in two, one tabbrowser dependent, the other independent, r=mossop 2015-04-13 13:23:51 -07:00
Gijs Kruitbosch 6d631e29db Bug 1133981 - e10s-ify findbar FAYT key handling, r=mconley
--HG--
extra : rebase_source : 31f07c93b1f5116a5bb952b1c19da003941ad762
extra : amend_source : 58e1db73a93835b0d80326e34ef7056633a7aaa0
2015-03-11 20:22:09 +00:00
Ian Moody c7117db6e3 Bug 1140878 - Move SwitchDocumentDirection() to toolkit/content/browser-content.js so it can be safely used in e10s. r=mconley 2015-03-11 21:19:18 +00:00
Mike Conley 45f61a04fc Bug 1088070 - Move saving nsIPrintSettings after a print job to browser-content.js. r=Mossop.
--HG--
extra : rebase_source : e63eeb503ec43a98e3c87b890db4d8e0fb3a8144
extra : source : d053fdf3b60984f3cbca960c49d5f28e9a14e82d
2015-03-05 13:16:35 -05:00
Mike Conley f88e685d5b Bug 1088070 - Instantiate print settings from the content process instead of the parent. r=Mossop.
--HG--
extra : rebase_source : 08e0ef34903f2c40bb85e62e81b0a3b553f9cd97
extra : source : 20a6d6e9c31a20ee380fde5771b9767ecf3671f4
2015-03-05 13:16:48 -05:00
Kearwood (Kip) Gilbert b0c31cd0a6 Bug 945584: Part 8 - Implement Scroll Snapping for Middle Mouse Button Scrolls (v2 Patch), r=roc, r=bz
- Implemented scroll snapping at the end of a middle-mouse-button scroll.
- As this scrolling occurs within chrome Javascript, chrome-only DOM methods
  had to be added: window.MozScrollSnap and element.MozScrollSnap
- Bug 1137937 tracks implementation of a replacement for these chome-only DOM methods,
  to be replaced with a web accessible API.

--HG--
extra : rebase_source : f511296dbdbfd97e3da391d2a0b67fd3f6edca6b
2015-02-19 16:03:07 -08:00
Carsten "Tomcat" Book 613f16ca64 Backed out changeset 20a6d6e9c31a (bug 1088070) for bc1 test failures on a CLOSED TREE 2015-03-05 08:54:23 +01:00
Carsten "Tomcat" Book b9c9186230 Backed out changeset d053fdf3b609 (bug 1088070) 2015-03-05 08:54:03 +01:00
Mike Conley 7194b7f247 Bug 1088070 - Move saving nsIPrintSettings after a print job to browser-content.js. r=Mossop.
--HG--
extra : rebase_source : 99ec08465c6ed5366204a9140e1572621d9223a9
2015-02-27 14:17:33 -05:00
Mike Conley a16ed32af3 Bug 1088070 - Instantiate print settings from the content process instead of the parent. r=Mossop.
--HG--
extra : rebase_source : 1a70d9c3ed29d6587fbebd04b4daedc387254aaa
2015-02-06 14:17:43 -05:00
Mike Conley 381b99210c Bug 1136855 - Send a message from the content script when printing has finished so the parent can save print settings. r=Mossop.
--HG--
extra : amend_source : 85532271337b34b4e46e8420c04c57a705e256f6
2015-02-25 15:45:22 -05:00