summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* 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.
* 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