summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Fix crashiness of IntersectionObservers.wolfbeast2018-12-24-21/+25
| | | | Mozilla hashtables -still- suck.
* [intersection-observer] Calculate areas using int64_t.wolfbeast2018-12-22-4/+6
| | | | Tag #249
* Fix singed/unsigned type confusion for intersection threshold.wolfbeast2018-12-22-3/+3
| | | | Tag #249
* Use content area as the intersection rectangle ...wolfbeast2018-12-22-7/+11
| | | | | ... for custom root with overflow clip. Tag #249
* Map intersectionRect to the coordinate space of the target document.wolfbeast2018-12-22-7/+8
| | | | | | Spec says: "Map intersectionRect to the coordinate space of the viewport of the Document containing the target." Tag #249
* Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.wolfbeast2018-12-22-1/+1
| | | | Tag #249.
* Intersection ratio should be 1.0 for zero-area intersections.wolfbeast2018-12-22-1/+7
| | | | Tag #249
* Revise lifetime management of IntersectionObservers.wolfbeast2018-12-22-26/+46
| | | | Tag #249
* Merge pull request #911 from trav90/code-cleanupMoonchild2018-12-16-1782/+0
|\ | | | | Remove AndroidMediaDecoder
| * Remove AndroidMediaDecoder and friendstrav902018-12-16-1782/+0
| | | | | | | | They are no longer supported and don't work with newer Android versions anyway.
* | Issue #910 part 3. Throw SyntaxError from Location::SetProtocol on URI parse ↵wolfbeast2018-12-16-1/+4
| | | | | | | | failures.
* | Issue #910 part 2. Strip ':' and anything following it from the string ↵wolfbeast2018-12-16-1/+8
| | | | | | | | passed to the location.protocol setter.
* | Issue #910 part 1. Don't navigate when location.protocol is set to anything ↵wolfbeast2018-12-16-0/+17
|/ | | | other than http or https.
* Make HTMLOptionsCollection::mSelect into a strong reference.wolfbeast2018-12-14-59/+8
| | | | The cycle collector makes weak references like this obsolete.
* Do not report resource-timing subdocument loads triggered by that subdocument.wolfbeast2018-12-14-0/+3
|
* Clear CanvasShutdownObserver::mCanvas when the canvas goes away.wolfbeast2018-12-13-2/+11
| | | | | | | | | This is fallout from Bug 1167235 - Use a fast method of double buffering for canvas. It is possible for the CanvasRenderingContext2D to be destroyed while we're in the middle of the call to nsObserverService::NotifyObservers() for shutdown. This leaves the shutdown observer with a dangling pointer to the canvas, so this patch explicitly clears the pointer when the context goes away.
* Root parameter dictionaries in AesTask::Init().wolfbeast2018-12-13-3/+3
|
* Clear weak pointers in VTT shutdown observers.wolfbeast2018-12-11-3/+14
|
* Merge pull request #902 from trav90/media-workMoonchild2018-12-09-823/+21
|\ | | | | Remove the old MP3Parser and reorganize remaining MP3 code
| * Add missing #includetrav902018-12-08-0/+1
| |
| * Move the MP3 code to it's own directorytrav902018-12-08-4/+18
| |
| * Remove separate MP3 name spacetrav902018-12-08-7/+2
| | | | | | | | It is no longer needed.
| * Remove the old MP3FrameParsertrav902018-12-08-812/+0
| | | | | | | | All former users of the old MP3 parsing code are gone, so we can now just remove the parser itself as well.
* | Remove files and comments related to MP4Readertrav902018-12-08-222/+1
| | | | | | | | The MP4Reader no longer exists in the tree.
* | Remove Rust files from media gteststrav902018-12-08-22/+0
|/
* Merge pull request #897 from trav90/telemetry-cleanupMoonchild2018-12-03-25/+0
|\ | | | | Remove MediaTelemetryConstants
| * Remove MediaTelemetryConstantstrav902018-12-02-25/+0
| |
* | Remove DirectShowReader Part 4: Teststrav902018-12-01-4/+3
| |
* | Remove DirectShowReader Part 3: Directoriestrav902018-12-01-2750/+0
| |
* | Remove DirectShowReader Part 2: Build systemtrav902018-12-01-8/+0
| |
* | Remove DirectShowReader Part 1: Conditional codetrav902018-12-01-41/+3
|/
* Remove VR Hardware input support (gamepad type)wolfbeast2018-11-27-27/+1
| | | | This resolves #881
* Remove VR hardware support.wolfbeast2018-11-26-1918/+3
| | | | This resolves #881
* Remove OMX_PLATFORM_GONKtrav902018-11-21-22/+1
|
* Remove remaining MOZ_GONK_MEDIACODEC codetrav902018-11-21-22/+0
|
* Merge pull request #876 from trav90/add-av1-supportMoonchild2018-11-19-0/+8
|\ | | | | Add support for AV1 in MP4 container
| * Add AV1 support to MP4Decoder.trav902018-11-18-0/+8
| |
* | Cleanup some comments in our media code.trav902018-11-18-9/+4
|/
* Tell the cycle collector about nsScriptLoadRequest::mElement.wolfbeast2018-11-15-2/+10
| | | | Not doing this can cause a leak because there is a cycle between the load request and the script element.
* Fix build bustage.wolfbeast2018-11-15-1/+0
| | | | Tag #871
* Split the content viewer marking function in CCUncollectable out,wolfbeast2018-11-14-16/+23
| | | | | | so a document-based marking function can be used separately. Tag #871
* Ensure user input suppression works correctly even after document.open.wolfbeast2018-11-02-5/+10
|
* Apply CheckedInt to infoLength for preventing it from overflowing in the future.wolfbeast2018-11-02-13/+10
| | | | | | | | CheckedInt propagates the mIsValid in each add operation so that it avoids needing a bunch of code for the overflow check in each add operation. Additionally, it avoids mismatching parameters between the computing result and the additional overflow check. This patch uses CheckedInt to take advantage of those implicit features of it.
* Fix a longstanding IndexedDB correctness issue.wolfbeast2018-11-02-13/+79
| | | | Standards Compliance fix, port of Bug 1492737
* Revert "Add support for AV1 in MP4"trav902018-10-23-8/+0
| | | | | | This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date. This reverts commit 29f718ef78f1a25ca904c6438b59ffc8e365a750.
* Ensure we correctly parse the finalized codec string for av1trav902018-10-21-11/+12
|
* Add support for AV1 in MP4trav902018-10-20-0/+8
|
* Use larger stack for media decoder threadstrav902018-10-20-1/+13
| | | | This increases the thread size for the platform decoder threads (to prevent stack overflows, particularly when decoding av1), while leaving the others at their default values.
* Downsample av1 images unconditionallytrav902018-10-20-2/+2
| | | | | | Adding partial support for 10/12-bit video images seems to have broken the native pixel-stride support we were using to pass 8-bit AV1 frame data formatted in 16-bit pixel values, resulting in vertical green lines. Revert to the earlier behavior of always downsampling to 8 bit data. This is slower, but at least displays correctly.
* Fix canPlayType/isTypeSupported for AV1 contenttrav902018-10-20-33/+35
|