summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Issue #1118 - Part 6: Fix various tests that are no longer correct.wolfbeast2019-12-22-110/+24
| | | | | The behavior change of document.open() requires these tests to be changed to account for the new spec behavior.
* Issue #1118 - Part 5: Change the way document.open() workswolfbeast2019-12-22-283/+284
| | | | | | | | | | | | This changes the work we do for document.open() in the following ways: - We no longer create a new Window when doing document.open(). We use the same Window but remove all the event listeners on the existing DOM tree and Window before removing the document's existing children to provide a clean slate document to use for .write(). - We no longer create a session history entry (previously would be a wyciwyg URI). We now replace the current one, effectively losing the entry for the original document. - We now support document.open() on windowless documents.
* Forward to new tree structure.wolfbeast2019-12-22-6095/+1262
|\
| * Issue #1219 - Align computed DOM styles with mainstream behvior.wolfbeast2019-12-20-32/+3
| | | | | | | | | | | | | | | | | | This updates our behavior for computed DOM styling to no longer return null on elements that have no display, but return a 0-length (empty) style instead and don't throw. For this we stop looking at having a presentation for the style and just look at the document instead. This resolves #1219
| * Issue #1322 - Part 4: Fix WebIDL.py parser for line endings and wrongwolfbeast2019-12-19-40/+40
| | | | | | | | IDL name
| * Issue #1322 - Part 3: Remove DOM promise interface gunkwolfbeast2019-12-19-314/+287
| | | | | | | | Based on work by Boris Zbarsky
| * Issue #1322 - Part 1: Remove the DOM Promise guts.wolfbeast2019-12-19-3806/+7
| | | | | | | | This removes all the parts guarded by SPIDERMONKEY_PROMISE
| * Issue #1328 - Part 3: Add fuzz to reftests and fix misc other tests.Chris Peterson2019-12-18-9/+3
| |
| * Issue #1328 - Part 2: Change tests that require Courier New explicitly.wolfbeast2019-12-18-2/+2
| |
| * Add missing call to WaitForIsDebuggerRegisteredwolfbeast2019-12-06-0/+6
| |
| * Fix incorrect values for saving ordered lists as text.wolfbeast2019-12-06-29/+33
| |
| * Update identifier map entries and notify if they get removed.wolfbeast2019-12-06-6/+81
| | | | | | | | | | This can happen through DestroyElementMaps() Based on work by Markus Stange and Edgar Chen.
| * Properly detect failure in receiving plugin NPObjects.David Parks2019-12-06-5/+8
| | | | | | | | | | Properly handles NPError reporting and makes sure that, in the case of failure, it does not return junk for the NPObject.
| * Issue #1304 - Make the second arg of insertRule optionalMatt A. Tobin2019-11-28-3/+3
| |
| * Add crashtest for resolved bug 1558522.wolfbeast2019-11-24-0/+41
| |
| * Issue #1259 - Adjust Widewine strings after removing Adobe Primetime supportJustOff2019-11-16-3/+2
| |
| * Merge pull request #1277 from adeshkp/remove-adobe-primetimeNew Tobin Paradigm2019-11-10-118/+2
| |\ | | | | | | Remove Adobe Primetime support
| | * Issue #1259 - Part 7. Update tests for Adobe EME removaladeshkp2019-11-10-26/+0
| | |
| | * Issue #1259 - Part 5. Remove migration path for Adobe GMP storageadeshkp2019-11-10-36/+0
| | | | | | | | | | | | As a cleanup task, also remove GMP storage migration for Fx 42 era.
| | * Issue #1259 - Part 2. Remove Adobe Primetime localization stringsadeshkp2019-11-10-1/+0
| | |
| | * Issue #1259 - Part 1. Remove Adobe Primetime support from treeadeshkp2019-11-10-55/+2
| | |
| * | Issue #618 - Misc fixes (merge conflicts)wolfbeast2019-11-10-4/+4
| | |
| * | Merge branch 'master' into js-moduleswolfbeast2019-11-10-13755/+4891
| |\| | | | | | | | | | | | | # Conflicts: # modules/libpref/init/all.js
| | * Issue #1263 - Part 2: Remove DiskSpaceWatcher testswolfbeast2019-11-08-1011/+0
| | |
| | * Issue #1263 - Part 1: Remove DiskSpaceWatcherwolfbeast2019-11-08-204/+2
| | |
| | * 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)