Commit Graph

60 Commits

Author SHA1 Message Date
janekptacijarabaci 6ba8f06d1a DOM - implement selection events (fire selectstart and selectionchange events on the input node when the selection in that editor changes) 2018-07-25 07:51:46 +08:00
janekptacijarabaci 87efb6b76a DOM - implement selection events (potentially crash) 2018-07-25 07:51:31 +08:00
trav90 43875b6b1f Drop Support for Content-Duration
This code is racey, extremely difficult to debug, and there is nothing that says its use must be enforced. The few sites that care about getting a duration without seeking to the end of the stream can index their Ogg files.
2018-07-25 07:50:34 +08:00
trav90 2fbf35f99a Track "network duration" separately and mirror it to the MDSM 2018-07-25 07:49:14 +08:00
JustOff 9fc8b7e346 Take into account rotation metadata when playing video in browser 2018-07-25 07:43:47 +08:00
janekptacijarabaci c1c638ab88 HTML - img - srcset - does not react to resize/viewport changes 2018-07-25 07:43:25 +08:00
janekptacijarabaci fd73d01d2b Intermittent test_viewport_resize.html | undefined assertion name - got data:,c, expected data:,a 2018-07-25 07:43:18 +08:00
janekptacijarabaci b89f31cabd HTML - picture - does not react to resize/viewport changes 2018-07-25 07:43:04 +08:00
janekptacijarabaci d2ec833432 HTML - Video - blocking playback of videos until the page the video is in is visible 2018-07-25 07:41:32 +08:00
trav90 e67ad14740 [MSE] Set delaying-the-load-event-flag to false when attaching media source 2018-07-25 07:41:04 +08:00
janekptacijarabaci fa5e7c9c21 gitlab.com - inserting quotes, code or whatsoever by clicking on their icon does not work at all 2018-07-25 07:35:24 +08:00
janekptacijarabaci 80d0435d7e HTML - anchor - without href attribute inside label does not activate associated form element 2018-07-25 07:31:59 +08:00
janekptacijarabaci ff45210f64 JS - disabled child element doesn't produce events 2018-07-25 07:31:38 +08:00
janekptacijarabaci 05ea50651b HTML - select - changing the value of a select to a value that matches none of the options 2018-07-25 07:31:09 +08:00
trav90 75f0a0bd59 Early clean up the MediaDecoder in HTMLMediaElement.cpp 2018-07-25 07:30:27 +08:00
trav90 83bfd4c774 HTMLMediaElement::NetworkError() should clear mDecoder 2018-07-25 07:29:31 +08:00
trav90 8e2879959b Activate autoplay when playing a media source
Bug 1189204
2018-07-25 07:29:10 +08:00
janekptacijarabaci 87db2b5e14 [minor fix] HTML - input - dynamic maxlength 2018-07-25 07:27:11 +08:00
janekptacijarabaci a23baaa487 element.innerText vs. display: none 2018-07-25 07:15:37 +08:00
janekptacijarabaci caf3d26cc4 HTML - added support toggle <details> and <summary> by keyboard 2018-07-25 07:08:30 +08:00
janekptacijarabaci 8af1bfea0e HTML - support for elements: <details> and <summary> (follow up) 2018-07-25 07:08:09 +08:00
trav90 659022b636 Give WatchManager an owner thread and make sure everything happens there 2018-07-25 07:07:12 +08:00
trav90 717aade354 Explicitly initialize logging at the correct time 2018-07-25 07:06:32 +08:00
trav90 e640efcded Redesign state watching to use a manager 2018-07-25 07:05:53 +08:00
janekptacijarabaci 3e466656b8 HTML - support for elements: <details> and <summary> (basic) 2018-07-25 07:04:13 +08:00
trav90 df074df1ee Use state mirroring for NextFrameStatus 2018-07-25 07:03:42 +08:00
trav90 1e249c36f8 Use state watching machinery for mReadyState updates 2018-07-25 07:03:38 +08:00
janekptacijarabaci ce2fdce2c0 PageMenu.jsm - Ci.nsIXULContextMenuBuilder no longer exists (throws an error), allow separator lines 2018-07-25 07:03:20 +08:00
janekptacijarabaci 9c93564087 [Minor fix] Set forms to valid in their constructor 2018-07-25 07:00:07 +08:00
janekptacijarabaci 356552a1ff [Minor fix] Invalid TYPE attribute makes UL look like OL 2018-07-25 06:59:58 +08:00
Pale Moon d874d04fd1 Make HTML Media Elements' preload attribute MSE-spec compliant.
MSE sourced elements should ignore the preload attribute.
See http://w3c.github.io/media-source/#mediasource-attach (First note in the draft at time of commit)
We're treating the attribute as if it was not defined (defaults to `auto`).
We're also ignoring the default action pref for MSE (was already special-cased).

This resolves #981
2018-07-25 06:59:45 +08:00
janekptacijarabaci 219a491628 FormData - Implement manipulation methods, support in workers 2018-07-25 06:59:43 +08:00
JustOff 1396542939 Add documents to embed element capabilities 2018-07-25 06:59:27 +08:00
trav90 d534c47cc5 Check (-1, -1) for invalid video size in HTMLMediaElement 2018-07-25 06:52:33 +08:00
Pale Moon 38fe669f6e Add support for element.innerText (getter, setter) 2018-07-25 06:47:45 +08:00
janekptacijarabaci 7cf33c4329 CORS: A "data:" URL = the same-origin 2018-07-25 06:43:07 +08:00
Pale Moon beaf9608a5 Add a user control mechanism to deny clipboard cut/copy. 2018-07-25 06:35:03 +08:00
Pale Moon 552c563316 Allow document.execCommand('copy'/'cut') in user-generated event handlers. 2018-07-25 06:23:14 +08:00
Pale Moon 1a559619eb Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. 2018-07-25 06:23:08 +08:00
Olli Pettay 5e9bcb348a Ensure expected DOM tree operations when calling insertBefore. 2018-07-25 01:29:29 +08:00
trav90 b20b8dadab Replace dom::TimeRanges with TimeIntervals object 2018-07-25 01:27:34 +08:00
janekptacijarabaci 203a033d72 Img/Picture tag with "srcset" attribute bypass permissions 2018-07-25 01:22:21 +08:00
trav90 50d8280608 Encrypted event should be fired once per initData 2018-07-25 01:21:41 +08:00
trav90 bd103574cf Show audio as enabled when an audio track is present in stream 2018-07-25 01:19:11 +08:00
trav90 780043741d Simplify retrieval of HTMLVideoElement dimensions 2018-07-25 01:18:41 +08:00
trav90 8d99c39267 Remove redundant mHasAudio/mHasVideo member 2018-07-25 01:18:39 +08:00
trav90 4b8c33e93a Remove redundant mMediaSize member 2018-07-25 01:18:37 +08:00
trav90 7e5b4386f2 Combine MediaInfo and mp4_demuxer::TrackConfig 2018-07-25 01:18:31 +08:00
Pale Moon 4c96c4c3e4 Fix link and style elements to handle onload events Part 2.
Remove ::UnsetAttr() since it's no longer in use.
2018-07-25 01:16:00 +08:00
Pale Moon d8bcd56051 Fix link and style elements to handle onload events.
Move LinkElement/StyleElement::SetAttr to AfterSetAttr.
This resolves #595.
2018-07-25 01:15:58 +08:00