gecko-dev/toolkit/content
Mantaroh Yoshinaga deff0f1866 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

--HG--
extra : rebase_source : 95a51df300039f19ce6d99feb11ed0aa2f33920f
2017-11-27 09:33:53 +09:00
..
aboutwebrtc Backed out changeset bdec8ddab580 (bug 1418522) for eslint failure at toolkit/content/aboutwebrtc/aboutWebrtc.js:756:37 | Extra space after computed key 'cand.type'. r=backout on a CLOSED TREE 2017-11-20 20:35:26 +02:00
gmp-sources
tests Bug 980904 - Disable the Character Encoding menu when document is decoded as UTF-8 without errors. r=hsivonen,emk,Gijs 2017-11-23 15:03:41 +08:00
widgets Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz 2017-11-24 15:14:46 +01:00
.eslintrc.js
TopLevelVideoDocument.js
XPCNativeWrapper.js
about.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
aboutAbout.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
aboutAbout.xhtml
aboutNetworking.js Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
aboutNetworking.xhtml
aboutProfiles.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
aboutProfiles.xhtml
aboutRights-unbranded.xhtml
aboutRights.xhtml
aboutServiceWorkers.js
aboutServiceWorkers.xhtml
aboutSupport.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
aboutSupport.xhtml Bug 1414975 - Add locale information to about:support. r=mkelly 2017-11-06 15:42:32 -08:00
aboutTelemetry.css bug 1407562 - Fix in-content HTML selects and about:telemetry "Raw JSON" element for RTL locales r=chutten 2017-11-16 00:05:09 +05:30
aboutTelemetry.js Bug 1414688 - Fix about:telemetry page in RTL locales opens JSON viewer. r=chutten 2017-11-16 21:42:03 +05:30
aboutTelemetry.xhtml Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-24 04:47:00 -04:00
aboutUrlClassifier.css
aboutUrlClassifier.js Bug 1408396 - Fix a deadlock issue when about:url-classifier accesses GetCacheInfo API. r=francois 2017-10-18 09:11:26 +08:00
aboutUrlClassifier.xhtml
autocomplete.css
browser-child.js Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz 2017-11-24 15:14:46 +01:00
browser-content.js Bug 1419226 - Part 1.Change observing target window of MozAfterPaint. r=mconley 2017-11-27 09:33:53 +09:00
buildconfig.html Bug 1256604 - Remove toolkit/content/Makefile.in and move setting CXXFLAGS for buildconfig.html to moz.build r=mshal 2017-11-09 10:45:00 -08:00
contentAreaUtils.js Bug 1413074 - Sanitize the file names of downloads before opening the file picker. r=mak 2017-11-06 09:30:33 +00:00
customizeToolbar.css
customizeToolbar.js
customizeToolbar.xul
datepicker.xhtml
directionDetector.html
editMenuOverlay.js
editMenuOverlay.xul
filepicker.properties
findUtils.js Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8 2017-10-15 20:50:39 +01:00
finddialog.js Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop 2017-10-26 11:47:01 +01:00
finddialog.xul
globalOverlay.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
jar.mn Bug 1408044 - remove the 'about:' page from toolkit, r=dao 2017-11-16 17:16:12 +00:00
license.html Bug 1417749 - Create a currency-amount Custom Element. r=marcosc 2017-11-16 21:58:29 -08:00
macWindowMenu.inc
macWindowMenu.js
menulist.css
minimal-xul.css Bug 1405311: Remove uses of :-moz-system-metric. r=xidorn,dao 2017-10-12 14:47:06 +02:00
moz.build Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00
mozilla.xhtml
plugins.css
plugins.html Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
process-content.js
resetProfile.css
resetProfile.js
resetProfile.xul
resetProfileProgress.xul
select-child.js
textbox.css
timepicker.xhtml
treeUtils.js
viewZoomOverlay.js Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE 2017-11-17 18:08:45 +02:00
xul.css Bug 1416493 - Remove the menuseparator XBL binding;r=Gijs 2017-11-22 13:47:09 -08:00