summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge pull request #1115 from win7-7/NS_Atomize-cacheMoonchild2019-05-25-18/+20
|\ | | | | Add NS_Atomize cache for main thread use
| * change for nsNodeInfoManager.cppwin7-72019-05-25-1/+1
| | | | | | based to patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1352235 v1 add main thread only cache.
| * Add missing NS_AtomizeMainThread(nameToUse);win7-72019-05-24-1/+1
| | | | | | nsCOMPtr<nsIAtom> nameAtom = NS_AtomizeMainThread(nameToUse);
| * add main thread only cache for nsIAtoms to speed up atomization dom/basewin7-72019-05-24-16/+18
| | | | | | add main thread only cache for nsIAtoms to speed up atomization
* | Issue #1102 - Disable <meta http-equiv=set-cookie>Gaming4JC2019-05-24-1/+2
|/ | | | Create a new pref 'dom.meta-set-cookie.enabled' which is set to 'false', disabling http-equiv meta cookies.
* Add nullcheck.wolfbeast2019-05-17-0/+4
| | | | This resolves #1088
* Map IntersectionObserver rect to the correct viewport.wolfbeast2019-05-15-1/+2
| | | | | | | | | targetFrame is modified during the intersection computation loop, so it's not the viewport you want if there are scrollframes around. This bug triggers when IntersectionObservers are used on frames that wrap. Follow-up for #249.
* Fix failure to print when pages contain zero-sized <canvas> element.Gaming4JC2019-04-26-11/+17
| | | | Fixes #1058