summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Revert "Issue #1267 - Part 2: fix libcubeb bindings in dom"Matt A. Tobin2019-11-03-4/+2
| | | | This reverts commit 22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.
* Issue #1267 - Part 2: fix libcubeb bindings in domGaming4JC2019-11-02-2/+4
|
* Merge pull request #1262 from athenian200/solaris-workMoonchild2019-11-02-13/+47
|\ | | | | Support Modern Solaris
| * MoonchildProductions#1251 - Part 27: Fix ifdef style.athenian2002019-10-21-5/+5
| | | | | | | | This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
| * 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 #1257 - Part 3: Remove/update tests.wolfbeast2019-10-27-301/+3
| | | | | | | | | | | | | | This removes a ton of tests that are no longer relevant with (un)watch removed (e.g. testing stability/bugs in the watchpoint system itself which has never been the most stable), and updates others that would previously rely on watch/unwatch, so that they don't unexpectedly fail.
* | Issue #1257 - Part1: Remove watch class-hook and proxy trap.wolfbeast2019-10-26-43/+3
| |
* | Add size checks to WebGLContext::BufferData()wolfbeast2019-10-24-0/+12
| | | | | | | | | | | | | | | | On MacOS, particularly large allocations within the platform limits (1.2G+) will fail and crash. This adds a specific size check for that when working around driver bugs (default). While there, added a generic size_t limited size check for the platform, and reporting OOM if too large.
* | Ensure that file actors created after the database was closed are expired.Simon Giesecke2019-10-23-0/+3
| |
* | Avoid following the prototype chainwolfbeast2019-10-23-3/+20
| | | | | | | | | | No longer follow the value's prototype chain when creating index updates in IndexedDB.
* | Issue #1253 - Reset performance object on navigationwolfbeast2019-10-21-1/+13
|/ | | | | | | This also addresses clearing of document dependent JS slots which might get out of sync with innerWindow navigation; relevant comments added. This resolves #1253
* 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.