Commit Graph

122 Commits

Author SHA1 Message Date
Wes Kocher
ebd9dfc0cc Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matheus Longaray
880c302111 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp
2017-04-18 22:21:10 +02:00
Alastor Wu
afd52e625a Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: ErIBUobnxbg
2017-04-18 11:03:49 +08:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Phil Ringnalda
5468570495 Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Phil Ringnalda
0fb767c224 Bug 1348803 followup, take eslint's advice and remove an unused var 2017-03-27 20:17:16 -07:00
Alastor Wu
54ddaaef83 Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV
2017-03-28 10:57:50 +08:00
Jared Wein
d69b0cfb01 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Carsten "Tomcat" Book
b4e9d644a2 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
08870c8c85 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Sebastian Hengst
6c50735a84 Backed out changeset 8bd3a85551ae (bug 1345375) for failing browser_urlBar_zoom.js. r=backout 2017-03-13 20:34:51 +01:00
Jared Wein
bb52f1a349 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-10 15:33:07 -05:00
Jared Wein
74d7e57fee Bug 1318830 - Listen for the FullZoomChange event on synthetic documents to trigger updating the zoom-control in the location bar. r=Gijs
MozReview-Commit-ID: CeZ8qsz97Yz
2017-03-07 14:24:17 -05:00
Mark Banner
0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Ryan Hunt
576ef50021 Bug 1338891 - Backout telemetry scroll tracking r=smaug 2017-02-15 18:56:23 -05:00
Bill McCloskey
3ba52e3b20 Bug 1334346 - Move print preview code in content script to separate runnable (r=smaug)
MozReview-Commit-ID: 3zvW0bwttzN
2017-02-13 17:02:41 -08:00
Julian Hector
9ab6d70fef Bug 1329216 - Pass default printer name to child. r=mconley 2017-02-13 13:07:44 +01:00
Alastor Wu
f221f7b8c8 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl
2017-02-03 14:47:08 +08:00
Phil Ringnalda
54d1f898e0 Backed out 5 changesets (bug 1328058) for timing out in browser_block_silentAudioTrack_media.js
CLOSED TREE

Backed out changeset 0c48cff3db5d (bug 1328058)
Backed out changeset 37d35ca95b1f (bug 1328058)
Backed out changeset 0c177bdf5ec3 (bug 1328058)
Backed out changeset b369d9999b8a (bug 1328058)
Backed out changeset 61dbcbe35565 (bug 1328058)
2017-02-02 20:59:34 -08:00
Alastor Wu
e88f65c8de Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl
2017-02-03 11:25:04 +08:00
Florian Quèze
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jessica Jong
498334b443 Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug 2017-01-17 13:09:03 +08:00
Florian Quèze
f412bc04ab Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Michael
6965e76219 Bug 1300784 - Combine non-e10s and e10s select dropdown implementations, preffed off. r=mconley
Patch by Michael Wright and Freddy (Junshan) Luo.

MozReview-Commit-ID: G0CaZplABpC
2016-12-21 11:09:39 -05:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Ryan Hunt
5af74fa2f2 Bug 1312881 - Add a telemetry probe to track the max scrollY of a page. r=jaws data-review=bsmedberg 2016-12-24 18:17:35 -06:00
Ryan Hunt
4bff508e70 Bug 1297867 - Add a telemetry probe to track the amount of scrolling in a page. r=jaws data-review=bsmedberg 2016-12-24 18:15:24 -06:00
Ryan Hunt
99bccac1e4 Backed out changeset 8913967cd7e6 (Bug 1297867) for causing Bug 1325645. r=backout 2016-12-23 15:36:10 -06:00
Ryan Hunt
a408bb001c Backed out changeset 9560724b684c (Bug 1312881) for causing Bug 1325645. r=backout 2016-12-23 15:35:07 -06:00
Sebastian Hengst
7d42523790 Backed out changeset f79edc3888e5 (bug 1297867) for mass test failures. r=backout 2016-12-23 18:46:59 +01:00
Ryan Hunt
4e9b5c09e5 Bug 1297867 - Follow up fix for missing parameter. rs=kats 2016-12-23 10:43:08 -06:00
Ryan Hunt
c25b37def9 Bug 1312881 - Add a telemetry probe to track the max scrollY of a page. r=mconley data-review=bsmedberg 2016-12-14 13:21:45 -06:00
Ryan Hunt
596fb6ba59 Bug 1297867 - Add a telemetry probe to track the amount of scrolling in a page. r=mconley data-review=bsmedberg 2016-12-14 13:19:52 -06:00
Ryan Kelly
21089e60fa Bug 1321687 - Improve documentation of security checks in WebChannel code. r=ehsan 2016-12-01 18:46:00 -05:00
Matheus Longaray
7cb860648c Bug 1319067 - Make the printing media section respect the font size. r=Gijs 2016-12-13 08:22:00 -05:00
Mark Banner
dc46a8fba3 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Alastor Wu
f037e790b1 Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws
We need to notify tabbrowser about media-blocking so that we can show the unblocking tab icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: E25lEhZLCZk
2016-11-11 10:42:35 +08:00