Commit graph

2,637 commits

Author SHA1 Message Date
wolfbeast
14ea8bb121 Align Element.ScrollIntoView() with the spec.
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.

This resolves #927
2019-02-16 00:24:00 +08:00
wolfbeast
83b95f2c5b Fix library window reference to SVG toolbar image.
Tag #576.
This needs uplift to the relbranch.
2019-02-16 00:23:58 +08:00
JustOff
756f56126c [WebExAM] Properly handle the add-on name in case it's localized 2019-02-16 00:23:57 +08:00
wolfbeast
f61fb76066 Expose hidden preference to disable Page Thumbnail generation.
This resolves #906.
2019-02-16 00:23:56 +08:00
wolfbeast
a0d362b6e3 Remove proprietary constructor on AudioContext.
This is a B2G leftover, was proprietary, and is causing issues
because `AudioContext` can now have a parameter that is a property bag,
per spec (we do not do anything with the property bag now; the audio
back-end will use automatic values for everything).

This resolves #924.
2019-02-16 00:23:54 +08:00
wolfbeast
f09b84deb0 Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.
Follow-up for #891. Tag #457.
2019-02-16 00:23:53 +08:00
trav90
651f0bfce6 Update HSTS preload list
Tag #447
2019-02-16 00:23:51 +08:00
wolfbeast
86a99f1fe3 Use getElementBoundingRect and element.ownerGlobal in FormSubmitObserver 2019-02-16 00:23:50 +08:00
wolfbeast
0e379c7aef Update UXP Coding Style guideline document (WIP) 2019-02-16 00:23:49 +08:00
wolfbeast
dc33331aa8 Update UXP Coding Style guideline document (WIP) 2019-02-16 00:23:47 +08:00
wolfbeast
b726165f6b Update UXP Coding Style guideline document (WIP) 2019-02-16 00:23:46 +08:00
wolfbeast
440a9570a0 Add Comodo IS < 6.3 64-bit to the dll blocklist 2019-02-16 00:23:44 +08:00
wolfbeast
45cb285411 Dont rely on 'this' staying alive long enough for getting favicons.
This fixes #809.
2019-02-16 00:23:43 +08:00
janekptacijarabaci
c80a76aaf0 [PALEMOON] Bug 1135348 - Fix about:downloads by adding missing XPCOMUtils imports 2019-02-16 00:23:42 +08:00
janekptacijarabaci
83ba13fdac [PALEMOON] Bug 1129896 - Part 2 of 2 - Convert the shared front-end code to a JavaScript code module 2019-02-16 00:23:40 +08:00
janekptacijarabaci
b5c90dfea0 [PALEMOON] Bug 1129896 - Part 1 of 2 - Keep cached metadata for history downloads indefinitely 2019-02-16 00:23:38 +08:00
janekptacijarabaci
dfed6fdfe6 [PALEMOON] Bug 1195279 - Fix typo in allDownloadsViewOverlay.js following landing of bug 1127867 2019-02-16 00:23:37 +08:00
janekptacijarabaci
53aa070170 [PALEMOON] Bug 1127867 - Use the new back-end property to get the size of downloads asynchronously 2019-02-16 00:23:35 +08:00
janekptacijarabaci
ad8a1e1f50 Fix typos 2019-02-16 00:23:34 +08:00
janekptacijarabaci
63e8a36496 [PALEMOON] Bug 1117141 - Part 2 of 2 - Refactor notifications and remove the DownloadsDataItem object 2019-02-16 00:23:32 +08:00
janekptacijarabaci
5705b9b36a [PALEMOON] Bug 1117141 - Part 1 of 2 - Bypass all the DownloadsDataItem properties 2019-02-16 00:23:31 +08:00
janekptacijarabaci
5dabb446c5 [PALEMOON] Bug 1117139 - Move code controlling the "download.xml" binding to a common place (downloadsViewCommon.js) 2019-02-16 00:23:30 +08:00
janekptacijarabaci
c66a3e8d83 [PALEMOON] Bug 1117139 - Move code controlling the "download.xml" binding to a common place 2019-02-16 00:23:28 +08:00
janekptacijarabaci
a8622a0a10 [PALEMOON] Bug 1115379 - Streamline DownloadsViewItemController construction and remove now unneeded identifiers 2019-02-16 00:23:27 +08:00
janekptacijarabaci
67f36036d3 [PALEMOON] Bug 1116176 - Create DownloadsHistoryDataItem and HistoryDownload objects 2019-02-16 00:23:25 +08:00
janekptacijarabaci
23f4f8a235 [PALEMOON] Bug 1115983 - Keep only minimal state information in the DataItem 2019-02-16 00:23:24 +08:00
janekptacijarabaci
419dd13315 [PALEMOON] Bug 1115421 - Simplify download annotations handling in the Library 2019-02-16 00:23:22 +08:00
janekptacijarabaci
17b9f0a915 [PALEMOON] Bug 1120429 - Remove unused code handling nodeAnnotationChanged 2019-02-16 00:23:21 +08:00
janekptacijarabaci
03d5824434 [PALEMOON] Bug 1115972 - Don't fall back to the Places icon for downloads without the target file name annotation 2019-02-16 00:23:20 +08:00
janekptacijarabaci
7fce042c11 [PALEMOON] Bug 1115971 - Don't fall back to the Places title for downloads without the target file name annotation 2019-02-16 00:23:18 +08:00
janekptacijarabaci
e4e51e5782 [PALEMOON] Bug 1115369 - Use notifications instead of getViewItem for DownloadsView 2019-02-16 00:23:17 +08:00
JustOff
bed4e6a109 [PALEMOON] Initialize the search service asynchronously when calling 'BrowserSearch.addEngine()' 2019-02-16 00:23:15 +08:00
trav90
e831ce0f5b Avoid redefined macro warning in MediaFormatReader 2019-02-16 00:23:14 +08:00
trav90
74ccd45360 [FFmpeg] Don't define AV_CODEC_ID_VPx with libavcodec 58 2019-02-16 00:23:11 +08:00
trav90
5949fc61dc [FFmpeg] Use new decode API with recent FFmpeg version.
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
2019-02-16 00:23:10 +08:00
wolfbeast
4f308095ce Add UXP Coding Style guideline document (WIP) 2019-02-16 00:23:08 +08:00
wolfbeast
69919870c1 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2019-02-16 00:23:07 +08:00
wolfbeast
304984a6aa Fix crashiness of IntersectionObservers.
Mozilla hashtables -still- suck.
2019-02-16 00:23:05 +08:00
JustOff
689d0a55cd [PALEMOON] Initialize the search service asynchronously from 'about:home' and 'about:newtab' 2019-02-16 00:23:04 +08:00
wolfbeast
4294fe3e81 Re-enable intersection observers with WD spec patches.
This resolves #249
2019-02-16 00:23:02 +08:00
wolfbeast
d76f949502 [intersection-observer] Calculate areas using int64_t.
Tag #249
2019-02-16 00:23:00 +08:00
wolfbeast
f82da789c8 Fix singed/unsigned type confusion for intersection threshold.
Tag #249
2019-02-16 00:22:59 +08:00
wolfbeast
d3a8693d52 Use content area as the intersection rectangle ...
... for custom root with overflow clip.
Tag #249
2019-02-16 00:22:57 +08:00
wolfbeast
475d865c14 Map intersectionRect to the coordinate space of the target document.
Spec says: "Map intersectionRect to the coordinate space of the
viewport of the Document containing the target."
Tag #249
2019-02-16 00:22:56 +08:00
wolfbeast
52f04699c0 Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.
Tag #249.
2019-02-16 00:22:54 +08:00
wolfbeast
47f52cee1f Intersection ratio should be 1.0 for zero-area intersections.
Tag #249
2019-02-16 00:22:53 +08:00
wolfbeast
42d9f2ffb3 Revise lifetime management of IntersectionObservers.
Tag #249
2019-02-16 00:22:51 +08:00
wolfbeast
311d45691c Replace status bar download overlay glow arrow with SVG.
Also remove the now no longer used png.
Resolves #576.
2019-02-16 00:22:50 +08:00
wolfbeast
0298125fa6 Return an empty set if getting recipes for host fails.
This avoids errors when _recipeManager is not (yet) available.
This resolves #496.
2019-02-16 00:22:48 +08:00
JustOff
2999a8e031 Fix false positives in the preprocessor-checker 2019-02-16 00:22:47 +08:00