summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* MoonchildProductions#1251 - Part 21: Fix Flash player and some extensions ↵athenian2002019-10-21-2/+5
| | | | | | | | | | | | being incompatible. https://github.com/oracle/solaris-userland/blob/82dd4adb0eca729372074d62435e00a783d95b1f/components/desktop/firefox/patches/firefox-49-npapi.patch The first fix was something I found on Oracle's patchset and allowed me to use the last Flash Player compiled for Solaris, from all the way back in 2012. Still works with most Flash content. The second is an evolution of what I had to do to get Interlink to compile. For Interlink, I basically had to copy the contents of any boolean values from confvars.sh into the empty moz.configure file, otherwise nothing would get configured. I decided to test whether Pale Moon had the same issue, and it turned out that it wasn't as bad as on Interlink, but it was still pure luck that the browser component built at all, because MOZ_PHOENIX and other important flags were apparently not being defined at all, hence why I couldn't get half the extensions to be compatible at first. I don't know why this is the case, but apparently configure.in isn't able to import values from confvars.sh. old-configure.in seems immune to the problem that application-specific configure.in files were experiencing, though. confvars.sh itself seems to work fine with values that aren't passed along via configure.in, though. So it's the interface between those two files that is messed up.
* Fix a bunch of dumb typos and omissions.athenian2002019-10-21-1/+1
|
* MoonchildProductions#1251 - Part 4: Core build system changes, lots of ↵athenian2002019-10-21-6/+10
| | | | | | | | libevent/IPC junk. This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else. I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
* MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.athenian2002019-10-21-3/+30
| | | | | | | | | | | | | | Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before. 1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there. 2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did. 3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code. 4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris. 5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
* Issue #1233 - Part 2: Update ReftestsGaming4JC2019-09-28-3/+162
| | | | | | | | | | | | | | | | | | List of relevant patches applied: 1425599 part 15 - [css-grid] Test reference fixes + more tests. 1373678 Part 3: Add line number checks to test_grid_implicit.html. 1416350 - Part 3: Add test to verify line numbers of grids with leading implicit tracks. 1416350 - Part 4: Add a reftest of repeat:auto-fit grids with leading implicit tracks. 1417711 - [css-grid] An abs.pos. grid container child that only covers removed 'auto-fit' tracks should not span to the end padding edge. 1416350 - Part 5: Correct the expected results for grids that have leading implicit tracks. 1418727 part 3 - [css-grid] Reftest updates.
* Issue #1233 - Part 1: Fix grid overflow and rendering issues by improving ↵Gaming4JC2019-09-28-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layout CSS-Grid API List of relevant patches applied: 1425599 part 1 - [css-grid] Change the track sizing algorithm for spanning items so that it accumulates individual item contributions to the plan by max() rather than incrementing the planned size directly. Also, fix a bug when copying back the planned limits after updating it for the first span group. It should only copy back track sizes that were actaully spanned by those items, other content-sized tracks' limits should remain at "infinity". 1425599 part 2 - [css-grid] Factor out the min-sizing parts of the track sizing for spanned items to a templated method (idempotent change). 1425599 part 3 - [css-grid] Factor out most of the max-sizing parts of the track sizing for spanned items to a templated method (idempotent change). 1425599 part 4 - [css-grid] Factor out the starting base/limit size to a templated method (idempotent change). 1425599 part 5 - [css-grid] Make CollectGrowable a templated method so that it works with either base/limit sizes (idempotent change). 1425599 part 6 - [css-grid] Make the size distribution methods templated with the intent of merging them in a later patch (idempotent change). This patch also introduces an eInfinitelyGrowable bit to help get rid of the 'limits' temporary track sizes in the next patch. 1425599 part 7 - [css-grid] Remove the 'limits' copy of track sizes since they are no longer needed (idempotent change). 1425599 part 8 - [css-grid] Factor out the fit-content clamping function from DistributeToTrackLimits and pass it as a param instead (idempotent change). 1425599 part 9 - [css-grid] Merge DistributeToTrackLimits/Bases (idempotent change). 1425599 part 10 - [css-grid] Make MarkExcludedTracks a static method since it doesn't use 'this' (idempotent change). 1425599 part 11 - [css-grid] Hoist the marking of excluded tracks out from GrowSelectedTracksUnlimited to a separate method (idempotent change). 1425599 part 12 - [css-grid] Merge CopyPlanToBase/Limits into a templated method instead (idempotent change). 1425599 part 13 - [css-grid] Merge Grow[Base|Limits]ForSpanningItems into a templated method instead (idempotent change). 1425599 part 14 - [css-grid] Use iterators instead of an array + start/end index for the item data (idempotent change). 1425599 part 16 - [css-grid] Make SizeContributionForPhase a template. 1425599 - [css-grid] Follow-up bustage fix for stupid compiler warnings. 1378481 - Assign 'roundingError' in the default branch too, to avoid a maybe-uninitialized compiler warning. 1423292 - [css-grid] Add a couple of ItemState bits to Dump(), and make an ItemState assertion stricter (DEBUG-only changes). 1373678 Part 1: Reduce grid line numbers by count of leading implicit lines, minimum 0. 1416350 - Part 1: Correctly account for removed 'auto-fit' tracks also when there are leading implicit tracks. 1416350 - Part 2: Correct logic for Grid API line numbering with leading implicit tracks. 1418727 part 1 - [css-grid] Introduce StateBitsForRange() that collects the union of the state bits for a range of tracks (idempotent change). 1418727 part 2 - [css-grid] Require that an item spans at least one track with an 'auto' min sizing function for Automatic Minimum Size to apply.
* Fix whitelisting of JavaScript-uris by CSP hash.wolfbeast2019-09-05-2/+13
|
* Ensure the right body element is used throughout the method call.Olli Pettay2019-09-05-3/+3
|
* Add checks to respect CSP-wildcard + Ports.Sebastian Streich2019-09-05-14/+18
|
* Fix a crash in IndexedDB.wolfbeast2019-09-04-39/+77
|
* Issue #1222: Don't load plugin instances when they have no `src` URI.wolfbeast2019-09-01-0/+8
| | | | | | Favor fallback content in that case (if present). Fallback is always considered "good" in this case so may end up doing nothing which is what we'd want for corner cases that hammer this routine with no content.
* Issue #1179: fix indentationwolfbeast2019-09-01-3/+3
|
* Issue #1221: Pass the original element intowolfbeast2019-08-28-13/+46
| | | | | | | nsXMLContentSerializer::CheckElementEnd so that we can properly determine whether it has children. This resolves #1221
* Merge pull request #1207 from win7-7/nsImageLoadingContent.cpp-AsyncOpen2Moonchild2019-08-09-77/+123
|\ | | | | Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
| * Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups ↵win7-72019-08-08-77/+123
| | | | | | | | | | | | along with it (1445670 and 1373780 part 2 and 3) Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
* | Remove old ANGLE driver bug workaround.wolfbeast2019-08-08-10/+0
|/
* Merge pull request #1192 from g4jc/parser_tuneupMoonchild2019-07-20-139/+974
|\ | | | | Issues #816 / #802 - SpiderMonkey Tuneup
| * 1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport.Gaming4JC2019-07-18-117/+158
| |
| * 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes.Gaming4JC2019-07-18-43/+172
| |
| * 1332245 - Move nsScriptError from js/xpconnect to dom/bindings.Gaming4JC2019-07-18-0/+681
| |
| * 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and ↵Gaming4JC2019-07-18-1/+1
| | | | | | | | Wrapper::Renew.
| * 1333045 - Update Location object properties to current spec.Gaming4JC2019-07-18-21/+5
| | | | | | | | | | | | | | Specifically, three changes: 1) valueOf should be non-enumerable. 2) valueOf should be === to Object.prototype.valueOf. 3) There should be no toJSON.
* | Use WeakPtr for extension parent pointer.wolfbeast2019-07-20-33/+55
| |
* | Don't allow cross-origin POST redirects on 308 codes.Kyle Machulis2019-07-20-2/+2
| | | | | | | | | | We already don't allow cross origin POST redirects on 307 redirects; this adds extra guards to make sure we don't allow them on 308s either.
* | Truncate Buffer/Texture on GL_OOM.wolfbeast2019-07-19-3/+25
| |
* | Get RefPtr for IDBOpenDBRequest before using it. (DiD)wolfbeast2019-07-19-1/+6
|/
* Merge pull request #1189 from JeroenVreeken/masterMoonchild2019-07-18-0/+6
|\ | | | | Add support for AAC audio in matroska/webm files
| * Merge branch 'master' of github.com:JeroenVreeken/UXPJeroen Vreeken2019-07-18-1/+24
| |\
| * | Alow AAC audio codec data in matroska/webm streams.Jeroen Vreeken2019-07-18-0/+6
| | | | | | | | | | | | Allow CRC32 elements in matroska cluster elements.
* | | Revert "Capture delayed events and cancel as necessary."wolfbeast2019-07-18-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tag #1052 (backout). Backed out for creating issues like #1191 and other issue-less problems with e.g. losing the caret from text boxes. Of note: this was also backed out from m-c for similar reasons in Bug 1332433. This fixes #1191. This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
* | | Consider domain when deciding on inner window reuse.wolfbeast2019-07-18-2/+1
| | |
* | | Use a RefPtr to hold owner element ref when moving media resource loadBryce Van Dyk2019-07-18-1/+1
| | | | | | | | | | | | to background.
* | | Don't access gNeckoChild if not on main thread. (DiD)wolfbeast2019-07-16-7/+16
| | | | | | | | | | | | | | | This patch also makes UDPSocketChild::Bind return NS_ERROR_NOT_AVAILABLE when mBackgroundManager is null.
* | | Merge pull request #1182 from win7-7/fix-one-hangMoonchild2019-07-15-2/+4
|\ \ \ | |_|/ |/| | Dispatch a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>
| * | Dispatch a PluginRemoved event for actual plugins, not ↵win7-72019-07-14-2/+4
| |/ | | | | | | | | | | | | | | images/unknown/iframe-type <objects> If a page uses or removes many <object> elements which are not actually plugins, loading the page goes to a crawl because UXP recalculates the plugin UI every time. Only dispatch a PluginRemoved event for actual plugins.
* | Selectively allow ftp subresources in the blocked mode.wolfbeast2019-07-15-1/+21
| | | | | | | | | | - Allow "Save As..." downloads - Allow subresource use if the top-level document is also on FTP
* | Add preference to allow the loading of FTP subresources for corner caseswolfbeast2019-07-14-0/+3
|/
* Make matroska mime type checking more consistent.Jeroen Vreeken2019-07-11-5/+10
|
* Allow matroska mime types for video element and MSEJeroen Vreeken2019-07-10-4/+37
| | | | Allow avc (h.264) content in matroska/webm containers
* Attach FrameProperties to each frame instead of using a shared hashtablewin7-72019-06-26-1/+12
| | | | Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
* Remove e10s force-enable/-disable prefs and a11y considerations forwolfbeast2019-06-07-17/+0
| | | | | | starting in e10s mode. This resolves #1130
* Improve `origin-clean` algorithm based on our previous changes.wolfbeast2019-06-05-0/+6
| | | | | - Instead of trying the failing refactored Mozilla way, simply add a check where needed building on what was put in place previously.
* Revert "Improve origin-clean algorithm"wolfbeast2019-06-04-36/+36
| | | | This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
* [WebGL] Enable size limit on Linux.wolfbeast2019-05-29-1/+1
| | | | | | Some drivers on Linux are not supportive of very large allocation sizes (esp. applicable to Linux x86 builds of UXP applications) and could cause issues. Treat this the same way we already do on Mac/Darwin.
* Improve origin-clean algorithmwolfbeast2019-05-27-36/+36
|
* [places] Prevent some abuse of smart queries.wolfbeast2019-05-26-0/+8
|
* Merge pull request #1119 from win7-7/NodeInfoManager-local-cacheMoonchild2019-05-25-2/+32
|\ | | | | NodeInfoManager should use a local cache
| * NodeInfoManager should use a local cachewin7-72019-05-25-2/+32
| | | | | | issue #1111
* | [media] Rewrite AudioConverter::DownmixAudiowolfbeast2019-05-25-46/+62
| | | | | | | | | | - Structure the code better - Directly downmix to mono from multichannel
* | [IndexedDB] Call SendFailureResult if the actor has been destroyed.wolfbeast2019-05-25-20/+26
|/ | | | | | | | | | Normally we wouldn't need to send any notifications if the actor was already destroyed, but it can be a VersionChangeOp which needs to notify its parent operation (OpenDatabaseOp) about the failure. So SendFailureResult needs to be called even when the actor was destroyed. Normal operations redundantly check if the actor was destroyed in SendSuccessResult and SendFailureResult, therefore it's ok to call it in all cases here.