Commit Graph

122 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
cd6ad0efcd merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Matheus Longaray
9d809a001c Bug 1306299 - Wait for network activity stop and paint in ReaderMode browser before showing the Simplified Print Preview mode. r=mconley 2016-11-01 14:00:00 -04:00
Scott Wu
92ebcdc658 Bug 1315911 - Disable time picker UI by making it pref-off by default; r=mconley
MozReview-Commit-ID: 2kpzN27KzaB
2016-11-08 19:07:50 +08:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Scott Wu
c02af5a213 Bug 1283384 - Implement time picker UI w/ message passing, r=mconley
MozReview-Commit-ID: Gn3Itf0yFrN
2016-09-06 13:01:40 +08:00
Tooru Fujisawa
90f37f20f5 Bug 1308775 - Use Element.scrollBy with behavior: "instant" in auto scroll. r=felipe 2016-10-18 16:46:30 +09:00
Tooru Fujisawa
705120314c Backed out changeset 9d11e38b5fcf for bc test failure (bug 1308775) 2016-10-18 18:16:27 +09:00
Tooru Fujisawa
397dbc6c8f Bug 1308775 - Use Element.scrollBy with behavior: "instant" in auto scroll. r=felipe 2016-10-18 16:46:30 +09:00
Mike Conley
466a772cdb Bug 1296638 - Make Form Autocomplete popup use a richlistbox instead of a tree. r=MattN
MozReview-Commit-ID: 6ybBqAwxlmb
2016-08-19 17:15:56 -04:00
Mike Conley
cae7deca5e Bug 1296638 - AutoCompletePopup in browser-content.js and AutoCompletePopup.jsm need to have popupOpen be in sync. r=MattN
The opening of the AutoCompletePopup will always start from content, but closing the
popup can occur in the parent (for example, if the user switches focus from the browser),
or in content (the user hits Esc, for example, which tells the parent to close the popup).

This relationship between content and the popup has been true for a while, but the
patch in bug 1294502 didn't account for it. In particular, before this patch, it was
possible for AutoCompletePopup in browser-content.js and AutoCompletePopup.jsm to get
out of sync on whether or not the popup is open.

Mainly, this is because the parent wasn't telling the content that the popup had
hidden if the hide was initialized by the parent. The other reason, was because
the popupOpen state in browser-content.js was being set immediately, instead
of waiting for the parent to report that the popup had indeed opened or closed.

MozReview-Commit-ID: CRkg49lP1Hd
2016-09-17 12:44:04 -04:00
Thauã Silveira
e8b51b2c99 Bug 1306624 - Add telemetry probes to count how many times a user requests to print a document. r=mconley, data-review=liuche 2016-10-05 06:42:00 +02:00
Jessica Jong
113984eb02 Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00
Mike Conley
9db9ea2cff Bug 1294502 - Use the same AutoCompletePopup logic for e10s and non-e10s. r=MattN
MozReview-Commit-ID: B0QQLEn3yS
2016-08-18 10:50:58 -04:00
Mike Conley
98c0a7fdf7 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
2016-07-28 14:18:50 -04:00
Jared Wein
4518d81cb5 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
2016-08-04 03:28:58 -04:00
Thauã Silveira
8437b8251b Bug 1287587 - Add Telemetry probes for user printing activities. r=mconley, data-review=liuche 2016-07-21 13:57:00 -04:00
Thom Chiovoloni
1d7a0871f8 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
2016-07-12 19:34:41 -04:00
Matheus Longaray
b17aa881a9 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
fefc1f255f 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
2016-06-02 09:29:00 -04:00
Alastor Wu
d661c9b9ee Bug 1240423 - part1 : implement the remote media-control on Fennec. r=ahunt
MozReview-Commit-ID: GjkSCy5ecbQ
2016-06-01 10:26:01 +08:00
Felipe Gomes
afefeffbc2 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
1ee09f6e86 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
14ade11bab Bug 1242874 - part2 : window's suspend attribute. r=baku, r=ehsan
MozReview-Commit-ID: 2GZMjsaQWHC
2016-05-03 09:51:22 +08:00
Carsten "Tomcat" Book
a146077edc Backed out changeset 50896498013c (bug 1242874) 2016-04-28 13:59:06 +02:00
Alastor Wu
786552d529 Bug 1242874 - part2 : window's suspend attribute. r=ehsan, r=baku
MozReview-Commit-ID: Jw3E8Jdb66J
2016-04-28 00:21:27 +08:00
Alastor Wu
5ced857f90 Bug 1249579 - part2 : audio competing suspend/resume methods. r=snorp, baku.
MozReview-Commit-ID: EjNvKELCiAy
2016-04-18 18:48:41 +08:00
Dave Townsend
769fc8f245 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
2016-04-05 11:33:48 -07:00
Gijs Kruitbosch
edeaa2122a Bug 621158 - make appcache use messaging for quota management, r=mayhemer,jaws
MozReview-Commit-ID: GfHbERuzuW8
2016-03-21 10:22:16 +00:00
Gijs Kruitbosch
8ecade6e8d Bug 1239885 - fix popup blocking brokenness when no URI is passed to window.open, r=felipe
MozReview-Commit-ID: IH4RPDxuOon
2016-03-16 16:52:17 +00:00
Botond Ballo
02521409d8 Bug 1238137 - Telemetry pings for main thread autoscrolling. r=mconley 2016-02-05 18:01:27 -05:00
Dave Townsend
2e4b5d2078 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Luis Miguel [:quicksaver]
5ae4c5fbe5 Bug 1218351 - (e10s) Don't lose initial typed characters when opening the findbar. r=mikedeboer 2015-11-04 15:26:40 +00:00
Gijs Kruitbosch
223f39e150 Bug 1190382 - fix reference to KeyboardEvent in content process, rs=bustage 2015-12-04 15:29:05 +00:00
Gijs Kruitbosch
aec474a0b4 Bug 1190382 - don't send useless KeyboardEvent properties, r=neil 2015-12-02 15:25:29 +00:00
Xidorn Quan
33146e9023 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 2015-10-27 13:38:02 +09:00
Xidorn Quan
e5b3283179 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 2015-10-27 13:38:02 +09:00
Alexandre Poirot
f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
aleth
11d499b7b5 Bug 1177709 - Avoid a TypeError in browser-content.js by making the _findAsYouType getter a normal property. r=mossop 2015-09-29 00:01:49 +02:00
J. Ryan Stinnett
2dada8f365 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.
2015-09-21 12:04:18 -05:00
Mike Conley
f844f53e5a 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.
2015-09-16 16:12:54 -04:00
Shu-yu Guo
37989840cd 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
e81a8353f9 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
d49e7b6617 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Ehsan Akhgari
2b05d61b9f 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
f408e21c00 Bug 1181762. Remove uses of mozRequestAnimationFrame from toolkit code. r=gijs 2015-07-14 15:28:57 -04:00
Carsten "Tomcat" Book
373d3fc435 merge mozilla-inbound to mozilla-central a=merge 2015-07-10 12:17:18 +02:00
Mike Conley
ee684e0a3c 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.
2015-07-03 16:06:04 -04:00
Ehsan Akhgari
8e76a1d26d 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
a6afa92c24 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
33d7e37508 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).
2015-06-30 11:46:27 -07:00