Commit Graph

201 Commits

Author SHA1 Message Date
Coroiu Cristina
20dd07106d Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Cameron McCormack
90802066f7 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh
2017-11-16 17:58:37 +08:00
Sebastian Hengst
0bab7a4734 Backed out 3 changesets (bug 1419226) for frequently for frequently timing out in Web reftests in webvtt, e.g. enable_controls_reposition.html. r=backout
Backed out changeset 5a2460c34657 (bug 1419226)
Backed out changeset 8cda3fb3ce1a (bug 1419226)
Backed out changeset 21d9bedcf411 (bug 1419226)
2017-11-27 17:27:27 +02:00
Mantaroh Yoshinaga
6434544134 Bug 1419226 - Part 1.Change observing target window of MozAfterPaint. r=mconley
Previous code, print preview waits for content window's MozAfterPaint. However
gecko prevents send MozAfterPaint to content window[1]. So this code will not
work correctly. However, software timer of firing MozAfterPaint ran this code.[2]
This patch will
  * Change the observing content window to chrome window.
  * Add timer of MozAfterPaint event in order to ensure this event even if display
    list invalidation doesn't invalidate. Gecko create this timer in nsPresContext
    previously[2], but this bug will remove it

[1] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#2452
[2] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#3466-3472

MozReview-Commit-ID: GcuKPjn0qhc
2017-11-27 09:33:53 +09:00
Mark Banner
e47ccbfec3 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
Botond Ballo
473f8337a1 Bug 1340415 - Ensure main-thread and async autoscrolling do not happen at the same time. r=kats
The two happening at the same time can lead to the APZ autoscroll being
cancelled due to APZ receiving a main-thread scroll offset update.

To achieve this:

  - The content process assumes APZ is handling the autoscroll until
    told otherwise.

  - If the parent process knows APZ won't handle an autoscroll, it
    tells the content process via its response to the Autoscroll:Start
    message. This covers all cases where APZ doesn't handle the
    autoscroll, except the case where APZCTreeManager itself rejects
    the autoscroll and it lives in the compositor process rather than
    the parent process.

  - If APZCTreeManager rejects an autoscroll and it lives in the
    compositor process, it sends an 'autoscroll-rejected-by-apz' message
    to the content process.

MozReview-Commit-ID: L62v4COai6W
2017-10-18 18:18:13 -04:00
Jessica Jong
5142690adc Bug 1406859 - [DateTimePicker] Let the first picker close gracefully before opening a second picker. r=mconley
If we're trying to open a picker while one is already open, we should let the
first one close gracefully, that is, we should consume the popuphidden event,
otherwise the event will be fired when we re-add the listeners.

MozReview-Commit-ID: CGy86le1F4g
2017-10-19 09:14:56 +08:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Botond Ballo
d8130ffb7c Bug 1393424 - Don't try to autoscroll in Print Preview mode. r=kats
It doesn't work properly anyways due to a more general coordinate-system
problem on the Print Preview page (see bug 1393494).

MozReview-Commit-ID: D4i2H8z5mtW
2017-09-01 13:19:56 -04:00
Chung-Sheng Fu
93a9d33793 Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm
MozReview-Commit-ID: ArhSHKPYOr8
2017-06-08 17:52:46 +08:00
Kevin Jones
9b657f178a Bug 1332144 - Add browser.find extension API. r=mikedeboer, r=mixedpuppy
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.
2017-08-24 18:24:00 -04:00
Henri Sivonen
cd9aafd595 Bug 1048191 - Remove capability to generate entities other than quot, amp, gt, lt and nbsp. r=emk.
MozReview-Commit-ID: CHQQzPHxrus
2017-08-04 12:37:53 +03:00
Botond Ballo
cc96039050 Bug 1105109 - Notify content when APZ is handling an autoscroll. r=kats
MozReview-Commit-ID: BeuZt30fMpn
2017-07-26 19:32:57 -04:00
Botond Ballo
b246034e3d Bug 1105109 - Have content send the parent process a scroll id and pres shell id as part of the Autoscroll:Start message. r=kats
MozReview-Commit-ID: 5Jnr8jFsSHF
2017-06-19 18:03:42 -04:00
Alastor Wu
b6a34212ba Bug 1274919 - part3 : only send msg if someone is waiting for it. r=jwwang,mikedeboer
Only send the msg "Browser:UnselectedTabHover" when someone requests for the
msg, it can reduce non-necessary communication.

MozReview-Commit-ID: 2mBUMB4AMVo
2017-07-20 15:11:25 +08:00
Alastor Wu
b01abce09e Bug 1274919 - part1 : send the msg "Browser:UnselectedTabHover" when the cursor is hovering over or leaving the unselected tab r=mikedeboer
This msg is used to notify the status whether the cursor is hovering over the
unselected tab or not.

It's used for the media's feature, resuming the background video decoding.

MozReview-Commit-ID: GuAyLNdH10c
2017-07-20 14:13:08 +08:00
Scott Wu
7e2f4bdc38 Bug 1364026 - (Part 2) Check if min and max attributes on input type date are valid date strings. r=mconley
MozReview-Commit-ID: LX6VveJdqer
2017-07-11 13:58:04 +08:00
Scott Wu
84ce8f1092 Bug 1363672 - Add step support to date picker. r=mconley
MozReview-Commit-ID: 62IfiKArN34
2017-05-11 12:16:18 +08:00
Bob Owen
460591326e Bug 1365601 Part 1: Send number of pages on printPreviewUpdate event instead of requesting from parent. r=mconley
This also makes sure that we don't call nsIWebBrowserPrint::PrintPreview while we're still in a previous call.
2017-07-05 18:12:36 +01:00
Sebastian Hengst
0c4e35a93d Backed out changeset 7fbe19a6f88e (bug 1365601) as requested by bobowen for c3 failures. r=backout 2017-07-05 20:24:26 +02:00
Bob Owen
d6af319194 Bug 1365601 Part 1: Send number of pages on printPreviewUpdate event instead of requesting from parent. r=mconley
This also makes sure that we don't call nsIWebBrowserPrint::PrintPreview while we're still in a previous call.
2017-07-05 18:12:36 +01:00
Alastor Wu
044f0cd4cb Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X
2017-06-30 12:16:43 -07:00
Alastor Wu
84866709b6 Bug 1347791 - part3 : update block stauts to front-end side. r=baku,dao,mikedeboer
When the block stauts of the window was changed, we would notify front-end side
to update the vaule, so that we can save it for session restore.

MozReview-Commit-ID: FyclKmAxZHf
2017-06-29 05:46:20 -07:00
Gijs Kruitbosch
c8bb02594a Bug 1370018 - pagehide shouldn't junk all popup data indiscriminately, r=Felipe
MozReview-Commit-ID: JOsKmYsVGbW
2017-06-13 16:26:15 +01:00
Shane Caraveo
7a05f598a5 Bug 1342708 fix datalist failure in webext popups, r=kmag
MozReview-Commit-ID: FbTB9h3TTdq
2017-06-01 16:20:34 -07:00
Dan Banner
4055021839 Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ
2017-05-27 15:17:29 +01:00
Matheus Longaray
4ec53dad9d 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: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Sebastian Hengst
0babf8240b Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Matheus Longaray
eb9806754f 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: FZSRUyC49Wk
2017-04-20 14:04:03 +02:00
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