Commit Graph

2639 Commits

Author SHA1 Message Date
Mike de Boer
1269be4829 Bug 1279684 - make sure that toggling 'Highlight All' also hides the found occurrences from the mask. r=jaws
MozReview-Commit-ID: 2AmSwNgE1if
2016-07-27 16:37:26 +02:00
Jared Wein
05f9b81fa7 Bug 1285464 - Keep focus handling in the chrome process so focus will move back to the content out of the typeahead findbar but not change which chrome window has focus. r=mikedeboer
MozReview-Commit-ID: Ga8QFFgX0ZZ
2016-07-26 14:53:32 -04:00
Carsten "Tomcat" Book
a2d0aa4e73 Backed out changeset 3696a22ff7a0 (bug 1286389) for frequent dt2 linux debug failures 2016-07-20 16:50:13 +02:00
Carsten "Tomcat" Book
303a4b0dec merge fx-team to mozilla-central a=merge 2016-07-20 11:17:45 +02:00
Jared Wein
ecb4e646d0 Bug 1285234 - Check for valid videoEvents and controlListeners before dereferencing them in case the videocontrols have been cleaned up already. r=Gijs
MozReview-Commit-ID: HAnjW0F3kFo
2016-07-19 12:35:22 -07:00
Gijs Kruitbosch
24bfc1686c Bug 1286389 - fix focusing if nothing is focused when panel closes, r=Enn
MozReview-Commit-ID: DzNnQZjuXK2
2016-07-19 15:56:15 +01:00
Wes Kocher
be5d302eda Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Chris Pearce
9005f90cc7 Bug 1273725 - Don't show 'No supported source' message in video controls if there's no sources. r=jaws
We're flashing a warning message  "NO video with supported format and MIME type
found." when we're loading a YouTube page in Fennec. This is because YouTube
are calling load() on a video element with no src attribute or source children
in a click handler in order to defeat the "requires user interaction to play"
restrictions on mobile Chrome and Safari in that video element.

We're showing the warning message to help developers diagnose why loads are
unintentionally failing. However, the behaviour that YouTube are doing is
intentional, and YouTube are likely to not be the only ones doing this. So we
should change our video controls to not display the warning message in this
case. We should be compatible with other browsers.

We'll still log a debug message to the browser console as to why the load
is failing, to help developers who hit this unintentionally.

MozReview-Commit-ID: IpugbMOloJt
2016-07-12 16:19:03 +12:00
Jared Wein
d02d6e275c Bug 1055403 - Allow individual prefernece elements to opt out of the preferences-wide instantApply=true. r=gijs
MozReview-Commit-ID: 6Lf1AGKZtGO
2016-07-09 15:33:17 -04:00
Carsten "Tomcat" Book
8241d40b49 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Ray Lin
8f4815c8d7 Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk
2016-06-27 11:22:15 +08:00
Mike de Boer
40aa390f52 Bug 269442 - whole word matching support for nsFind. r=ehsan,dao. ui-r=shorlander
MozReview-Commit-ID: KIDWHyjOSYL
2016-06-28 15:13:53 +02:00
Jared Wein
82af4ba118 Bug 1281888 - The closed caption button should appear if there are 'captions' tracks. r=ralin
MozReview-Commit-ID: 2cHgR9lyxAK
2016-06-23 15:38:04 -04:00
Ray Lin
9eeb342360 Bug 887934 - Add closed caption button to video control. r=jaws
MozReview-Commit-ID: JykXcNBkSLr
2016-06-07 15:07:03 +08:00
Mark Hammond
14bc23825b Bug 1279224 - remove all Sync promotions from doorhangers. r=adw
MozReview-Commit-ID: 8QELFxqM6Av
2016-06-15 13:43:25 +01:00
Carsten "Tomcat" Book
961b5571f2 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Alastor Wu
c4bf389a8a Bug 1239372 - only pause video during draging. r=jaws
MozReview-Commit-ID: F1vNDqMvKVK
2016-06-15 15:29:18 +01:00
Xidorn Quan
7fdd5f1925 Bug 1274879 - Terminate event listeners of videocontrols in destructor. r=jaws
MozReview-Commit-ID: CXXGXIsheAN
2016-06-14 11:38:21 +01:00
Carsten "Tomcat" Book
22d6854b1c merge mozilla-inbound to central a=merge 2016-06-10 15:39:23 +02:00
Mike de Boer
f9037c003c Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-09 13:30:49 +02:00
Mike de Boer
856fd3cc6a Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-09 13:30:48 +02:00
Mike de Boer
665558aa2d Bug 384458 - part 2: change the matches count timeout to 100ms, up the limit to a 1000 counts and capture the state of 'Highlight All' in a pref which will be TRUE by default in the browser. r=jaws 2016-06-09 13:30:46 +02:00
Wes Kocher
6a8a703003 Backed out 6 changesets (bug 384458) for frequent browser_FinderHighlighter.js failures
Backed out changeset ded915ec401f (bug 384458)
Backed out changeset 63ec66da50fa (bug 384458)
Backed out changeset ae71396d3be0 (bug 384458)
Backed out changeset 3b025cbfbe3c (bug 384458)
Backed out changeset 091c5465acf7 (bug 384458)
Backed out changeset 5eabde153def (bug 384458)
2016-06-08 14:53:57 -07:00
Mike de Boer
a40c73ccb2 Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-08 19:54:10 +02:00
Mike de Boer
ecd5d54bd4 Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-08 19:54:08 +02:00
Mike de Boer
6cfb20c0e3 Bug 384458 - part 2: change the matches count timeout to 100ms, up the limit to a 1000 counts and capture the state of 'Highlight All' in a pref which will be TRUE by default in the browser. r=jaws 2016-06-08 19:54:07 +02:00
Neil Deakin
4633a9395f Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 11:34:12 -04:00
Carsten "Tomcat" Book
d4c54cdcf7 Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
Neil Deakin
24322506d0 Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 07:59:31 -04:00
Carsten "Tomcat" Book
876d47f858 Backed out changeset 28646bde9f7a (bug 887934) for android videocontrols test failures 2016-06-07 11:12:15 +02:00
Ray Lin
def7019878 Bug 887934 - Add closed caption button to video control. r=jaws
MozReview-Commit-ID: JykXcNBkSLr
2016-06-07 15:07:03 +08:00
J. Ryan Stinnett
e3c54b8092 Bug 1277463 - Remove unused DocumentInserted listener. r=Gijs
MozReview-Commit-ID: 44c1TDewSUL
2016-06-02 09:26:43 -05:00
Xidorn Quan
6278fa1895 Bug 1274520 part 3 - Listen video events in system group. r=gijs,jaws
Since the UI is now changed in listeners inside the system group, they
are invoked after the listeners added by the content. Because of that,
UI check needs to be asynchronously, otherwise we would be checking the
state before videocontrols update. For the same reason, mouse/keyboard
operations need to be invoked asynchronously as well, otherwise they
would be applied based on the UI before update. This shouldn't change
what is tested here, as user inputs are asynchronous by nature.

MozReview-Commit-ID: 4h9Oa9qMVc5
2016-06-01 11:35:53 +10:00
Xidorn Quan
520652b95c Bug 1274520 part 2 - Listen control events in video controls on system group. r=gijs,jaws
Listeners in the system group are invoked after listeners in the default
group, so we can check defaultPrevented synchronously, and we have to
change the play state according to the state of the play button.

Due to the same reason above, we need to check the UI async in tests.

MozReview-Commit-ID: Bs4MZvGefJj
2016-06-01 11:35:53 +10:00
Carsten "Tomcat" Book
84098e23d4 merge mozilla-inbound to mozilla-central a=merge 2016-05-31 11:59:45 +02:00
Felipe Gomes
afefeffbc2 Bug 1273685. Further reduce the message size by limiting the size of the URI to be sent. r=Gijs
MozReview-Commit-ID: EMXYaUwnGR2
2016-05-30 19:03:16 -03:00
Felipe Gomes
1ee09f6e86 Bug 1273685. Reduce size of PopupBlocking:UpdateBlockedPopups messages. r=Gijs
The size is reduced by making the message only carry the count of blocked popups, and not the full list of popup URLs that were blocked. The parent becomes responsible for retrieving the list from the child when it needs to display it.

MozReview-Commit-ID: DsxLFD8iE3t
2016-05-30 19:02:17 -03:00
Phil Ringnalda
d2263e9825 Back out 3 changesets (bug 1274520) for failures in various videocontrols tests
CLOSED TREE

Backed out changeset 788365ddaf61 (bug 1274520)
Backed out changeset 6c204be833d1 (bug 1274520)
Backed out changeset 4f15271e5488 (bug 1274520)
2016-05-24 19:45:17 -07:00
Xidorn Quan
f13c2c6703 Bug 1274520 part 3 - Listen video events in system group. r=gijs
MozReview-Commit-ID: 4h9Oa9qMVc5
2016-05-25 09:45:56 +10:00
Xidorn Quan
e55d12da4e Bug 1274520 part 2 - Listen control events in video controls on system group. r=gijs
MozReview-Commit-ID: Bs4MZvGefJj
2016-05-25 09:45:56 +10:00
Carsten "Tomcat" Book
ea6b128335 merge mozilla-inbound to mozilla-central a=merge 2016-05-24 14:52:23 +02:00
Michael Kaply
5494f32224 Bug 502367 - tree.columns can be undefined so check for it; r=enndeakin 2016-05-23 16:46:18 -05:00
Jared Wein
c4b577cdbe Bug 1181055 - Treat the toggling of playback state in the videocontrols' content "click" event listener as the same as preventDefault. r=gijs
MozReview-Commit-ID: c6V9LMIdK0
2016-05-19 23:30:16 -04:00
Jared Wein
857deb4011 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Xidorn Quan
996b3a996d Bug 1273468 - Revert video controls to use prefixed Fullscreen API again. r=dolske
MozReview-Commit-ID: IlxS0MFTxIk
2016-05-19 19:48:50 +10:00
Phil Ringnalda
fee5ba3374 Back out bb1c5961b1e1 (bug 1273468) for failures in test_videocontrols.html
CLOSED TREE
2016-05-18 21:12:43 -07:00
Xidorn Quan
04f7c78ea1 Bug 1273468 - Revert video controls to use prefixed Fullscreen API again. r=Dolske
MozReview-Commit-ID: IlxS0MFTxIk
2016-05-19 10:30:54 +10:00
Bob Owen
786a40390c Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Phil Ringnalda
d20b696c82 Merge f-t to m-c, a=merge 2016-05-14 13:04:50 -07:00
L. David Baron
38d7232f8e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00