Commit Graph

1380 Commits

Author SHA1 Message Date
Xidorn Quan
ac2b4d49af Bug 1199529 - Remove :-moz-full-screen-ancestor pseudo-class as well as its state bit. r=smaug
MozReview-Commit-ID: J0hGsLLdyam

--HG--
extra : source : cd7387a33f05453690ba755454686f2469f7b562
2016-06-30 09:24:41 +10:00
Andrea Marchesini
5cddd3946d Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug 2016-06-29 18:18:42 +02:00
Ray Lin
e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Sebastian Hengst
7f0473d085 Backed out changeset f534fcb785c9 (bug 1167235) 2016-06-28 20:28:22 +02:00
Andrea Marchesini
f181ac8328 Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 2, r=smaug 2016-06-28 18:02:30 +02:00
Andrea Marchesini
93b1b8e92a Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 1, r=smaug 2016-06-28 18:02:13 +02:00
Nicolas Silva
f8343772b9 Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas 2016-06-28 14:07:00 +02:00
JW Wang
f7267b13db Bug 1274030 - clean VideoFrameContainer when "xpcom-shutdown" event received. r=cpearce
MozReview-Commit-ID: 92zeiNXSkjf
2016-05-22 21:39:55 +08:00
Thomas Nguyen
7bcc37e4d7 Bug 1264165 - Update and add test cases. r=franziskus 2016-06-22 18:28:40 +08:00
Thomas Nguyen
545e22fb16 Bug 1264165 - Implement link referrerPolicy attribute. r=josh, r=khuey
MozReview-Commit-ID: GxMtNB23eD8
2016-06-24 10:38:47 +08:00
Cameron McCormack
7e0f01ceba Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00
bechen
fe0f6b220c Bug 1278151 - Fix web-platform/meta/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html. r=rillian
MozReview-Commit-ID: 7VuUfyegq2d

--HG--
extra : rebase_source : d7d69c1511f65cba09337e7123ffba5c43f91127
2016-06-22 16:03:46 +08:00
Jordan
f35a9b375c Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
bechen
385d3a7e3b Bug 1280814 - Prevent the media::Interval crash due to the unexpected playback position. r=rillian
MozReview-Commit-ID: AZ9Gb2Y0wDF

--HG--
extra : transplant_source : %8F%FD%8EW%F2%23%0Ck%A5%A4x%FAB%3D%C3%25%09%89%84%A5
2016-06-20 15:58:58 +08:00
bechen
dd6f87a7f3 Bug 1276530 - part2: The id of cue might be empty, so don't use it for checking. r=rillian
MozReview-Commit-ID: CyjEkOmDNG0

--HG--
extra : transplant_source : 3%E1%9FSk%8F%E3_%0Fy%D0%82%E2D9%91%7Cc%60%88
2016-06-17 17:20:24 +08:00
Astley Chen
5bcbb06586 Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
MozReview-Commit-ID: 7GIjtUH9hdZ

--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Andrea Marchesini
a438f6944e Bug 1279860 - part 4 - Renaming FSMultipartFormData and other HTMLFormSubmission classes, r=smaug 2016-06-16 08:26:34 +01:00
Andrea Marchesini
6f89091771 Bug 1279860 - part 3 - HTMLFormSubmission::GetFromForm, r=smaug 2016-06-16 08:25:48 +01:00
Andrea Marchesini
aa5c829338 Bug 1279860 - part 2 - Anonymous namespaces in HTMLFormSubmission, r=smaug 2016-06-16 08:25:12 +01:00
Andrea Marchesini
aadce059f5 Bug 1279860 - part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug
--HG--
rename : dom/html/nsFormSubmission.cpp => dom/html/HTMLFormSubmission.cpp
rename : dom/html/nsFormSubmission.h => dom/html/HTMLFormSubmission.h
rename : dom/html/nsFormSubmissionConstants.h => dom/html/HTMLFormSubmissionConstants.h
2016-06-16 08:24:16 +01:00
Thomas Nguyen
4b7ad0e2c5 Bug 1223838 - Fix wrong policy associated with empty string. r=fkiefer,hsivonen
MozReview-Commit-ID: 7kFH39cegmH
2016-05-30 15:17:45 +08:00
Kaku Kuo
9ace015fa5 Bug 1276272 - part 3 - implement promise-based HTMLMediaElement::seekToNextFrame(); r=jwwang
MozReview-Commit-ID: JaUQe5GK6bF

--HG--
extra : rebase_source : 63ffb58ca29776757cd869579e149a4330311e08
2016-06-09 20:27:39 +01:00
Gordon Su
4b24a929e8 Bug 1271126 - Fixed the ParseHTMLInteger function to handle INT32_MIN. r=smaug 2016-06-12 16:18:55 -04:00
Sebastian Hengst
599c66055a Backed out changeset 2c235b056514 (bug 1266646) for frequently crashing in mda's test_streams_element_capture_createObjectURL.html. r=backout 2016-06-13 21:24:54 +02:00
Sebastian Hengst
f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
ctai
4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
ctai
4ab1e6cc57 Bug 1266646 - Change HTMLMediaElement::StreamSizeListerner to inherit MediaStreamTrackDirectListener. r=jesup, r=pehrsons
MozReview-Commit-ID: HnNv9BnlbDy

--HG--
extra : rebase_source : 7d04886895910b00964c2ce36a337873195b12fa
2016-05-10 17:02:15 +08:00
bechen
5f7ef9b5d7 Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian
MozReview-Commit-ID: 7Xol9x83lLx

--HG--
extra : transplant_source : %DD%5C%E9%5C%98Y4%7B%AE%24%E1%7C%9F%F8%60C%85%0D%D5W
2016-06-08 16:53:30 +08:00
Masayuki Nakano
d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano
17f667a2e2 Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.

MozReview-Commit-ID: K8SO0bbpv0Y

--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Eric Rahm
5c875edd39 Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=smaug
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07:00
Eric Rahm
2b917eceb6 Bug 1270310 - Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=smaug
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Eric Rahm
f5b4b3b7b8 Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=smaug
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Botond Ballo
4cd8a55cfc Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
MozReview-Commit-ID: 7DV33kG2KNt

--HG--
extra : source : 3f7ad60ae16bce8cac317aee8d3ec6445354733c
2016-06-06 17:45:46 -04:00
bechen
6193b9598d Bug 1274884 - Add/Remove cue into MediaElement when TextTrack::mMode changed. r=rillian
MozReview-Commit-ID: 9PGEV5g8iv3

--HG--
extra : transplant_source : b%06Jsa%B8%08%A3%A2aS%0F%5C%C5T%9B%C9y%B5%C8
2016-06-02 16:08:32 +08:00
Andrea Marchesini
ae27692741 Bug 1265767 - Subset of Blink FileSystem API - patch 5 - DOMFileSystem, r=smaug
--HG--
rename : dom/filesystem/compat/ErrorCallbackRunnable.h => dom/filesystem/compat/CallbackRunnables.h
2016-06-07 00:55:17 +02:00
Andrea Marchesini
5a7749a26f Bug 1265767 - Subset of Blink FileSystem API - patch 2 - Entries, r=smaug 2016-06-07 00:55:16 +02:00
Andrea Marchesini
1a7f4ecbd2 Bug 1265767 - Subset of Blink FileSystem API - patch 1 - WebIDL, r=smaug 2016-06-07 00:55:16 +02:00
Andrea Marchesini
cd3d7522dc Bug 1274999 - Stop GetFilesHelper runnable when the operation is canceled, r=smaug 2016-06-06 11:16:48 +02:00
bechen
d120c38a97 Bug 1275808 - Move the UpdateCueDisplay() into TimeMarchesOn() as step 18. r=rillian
MozReview-Commit-ID: GrcZCjstBy9

--HG--
extra : rebase_source : 7848e6477595dcf0d83753a1c29489ea3f5cb689
2016-06-01 17:37:26 +08:00
bechen
d1ed19f21d Bug 1242599 - Create TextTrack before LoadResource(). r=rillian
MozReview-Commit-ID: 7deLCeKc0lc

--HG--
extra : rebase_source : 889478ab87392ea19fc04855e9e2e11fc847d255
2016-06-02 15:37:14 +08:00
Jean-Yves Avenard
0fa6daa947 Bug 1277729: Ignore readyState value when reporting the buffered range. r=jwwang
For plain media playback, the buffered range will always be empty if readyState is HAVE_NOTHING has we need to decode the metadata to determine the duration and eventually decode the first frame to determine the start time. With MSE however, the buffered range is per spec directly related to the source buffer buffered range.

So we can always simply query the MediaDecoder to determine the buffered range regardless of the readyState value.

MozReview-Commit-ID: BQs8iuUCiNw

--HG--
extra : rebase_source : 28fea8a89eab38b481a15d76061debacce86274f
2016-06-03 11:46:36 +10:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Rinat
bb3780858f Bug 1274622 - Add media.default_volume preference. r=kinetik 2016-05-24 20:55:45 +03:00
bechen
8d39d5edd7 Bug 882718 - Do not dispatch task to main thread when shutdown. r=rillian
MozReview-Commit-ID: 5Y79Fbhyoc3

--HG--
extra : rebase_source : bb4d1c2bba2f8ef788c18fc03f3eea6ff7de6714
2016-06-01 15:13:45 +08:00
bechen
e355a8b526 Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg

--HG--
extra : rebase_source : 2f652a3d4f072c87ba44de3650ff1358694444c1
2016-06-01 15:13:43 +08:00
bechen
30214bd891 Bug 882718 - triggerTimeMarchesOn. r=rillian
MozReview-Commit-ID: 2OOqr1Z6X9

--HG--
extra : rebase_source : 33b12ef88c838cab247d0267f5195edfee02560c
2016-06-01 13:35:58 +08:00