Commit Graph

441063 Commits

Author SHA1 Message Date
Neil Deakin
3b3f71946e Bug 1191897, add a flag for popups which allow shortcut keys to not be consumed, fixes shortcuts not working when an e10s select popup is open, r=neil 2015-09-17 11:20:33 -04:00
Neil Deakin
7da9fc5e62 Bug 1197266, Reset pushed pref environment between browser tests, r=martijn 2015-09-17 11:20:32 -04:00
Richard Barnes
52d9a0fc5e Bug 1205156 - Add telemetry to measure how often getUserMedia is used over non-secure origins r=jib 2015-09-17 08:44:50 -04:00
Joel Maher
0e94e9e887 backout 8b380feae2ae to align talos number prior to uplift next week (bug 1205249) 2015-09-17 10:48:10 -04:00
Brian Birtles
4561f6d61c Bug 1183461 part 8 - Add tests for event order dispatch; r=heycam
--HG--
extra : rebase_source : 9ab0dcf64e5e7f40730bbdb9f426aebcc2e64942
2015-09-15 14:13:04 +09:00
Brian Birtles
183dc5eeee Bug 1183461 part 7 - Add EventInfoComparator and sort events; r=heycam
This patch also reworks the dispatch of events in nsRefreshDriver. Previously
the refresh driver would dispatch the transition events for all subdocuments
then the animation events. This arrangement is complicated and not obviously
necessary. This patch simplifies this arrangement by dispatching transition
events and animation events for each document before proceeding to
subdocuments.

--HG--
extra : rebase_source : ed9147de4a4b5f36e444bdab82e45ee2143e5be8
2015-09-15 14:05:49 +09:00
Brian Birtles
bbfbefa427 Bug 1183461 part 6 - Store the generating animation on the event; r=heycam
In order to sort between events that have the same timestamp we use the
sort order of the corresponding animations so we need to store a pointer
to the animation along with the event.

--HG--
extra : rebase_source : 2767157135abd5a094d856410cd9c70e46a33b68
2015-09-15 14:05:44 +09:00
Brian Birtles
7f47d861c6 Bug 1183461 part 5 - Store event TimeStamp along with event info; r=heycam
--HG--
extra : rebase_source : b0c580b684a49744c435bee26cca062012c87ef5
2015-09-15 14:04:53 +09:00
Brian Birtles
8874d11c24 Bug 1183461 part 4 - Add CSSAnimation::ElapsedTimeToTimeStamp; r=heycam
The elapsedTime member reported on AnimationEvents measures the time from
the *end* of the delay phase (i.e. the beginning of the active interval) to
when the event occurred. However, the AnimationTimeToTimeStamp method
introduced in the previous patch expects a time relative to the animation's
start time (i.e. the *start* of the delay phase). This patch adds a method
that performs the necessary conversion from an elapsedTime to an animation
time before calling AnimationTimeToTimeStamp. It also provides extra handling
for cases such as when the animation's start time has not yet been resolved or
when animation effect has disappeared.

--HG--
extra : rebase_source : 594f3f12bab3febe592d09b57be72b2ec09b47cf
2015-09-15 14:04:08 +09:00
Brian Birtles
8bf9ca19e0 Bug 1183461 part 3 - Add Animation::AnimationTimeToTimeStamp; r=heycam
This patch adds a utility method to Animation which takes a time in the
same time space as "current time", i.e. "animation time" and convert it to
a TimeStamp. Subsequent patches in this series will use this method to
take the time when an event was scheduled to occur and convert it to a
TimeStamp so it can be compared with other event times. This allows us to
dispatch events in the order they would have fired given an infinitely
frequent sample rate.

--HG--
extra : rebase_source : 0b4f98b932bb2751bac24b4383fe20613176f0c4
2015-09-15 14:04:08 +09:00
Brian Birtles
ccaa539dfb Bug 1183461 part 2 - Reorder the parameters to EventInfo constructors; r=heycam
This patch lines up the parameters of AnimationEventInfo and
TransitionEventInfo constructors so that they are more logical and consistent.
Specifically, it groups the element and pseudo type together since they
form a logical pair denoting the event target. For AnimationEventInfo this
patch also places the type of event before the common event parameters since
the event type seems to be more significant.

This patch also performs some miscelleaneous housekeeping: removing some
unnecessary namespace prefixes, whitespace fixes, and making
TransitionEventInfo use the same concrete type to store the target element
as AnimationEventInfo (dom::Element instead of nsIContent).

--HG--
extra : rebase_source : ce6935f74f31dffadce4d0e7d4fa8859ec213740
2015-09-15 14:04:05 +09:00
Brian Birtles
d135283802 Bug 1183461 part 1 - Move InitialAdvance to CSSAnimation; r=heycam
Currently we define a helper method, InitialAdvance, on KeyframeEffectReadOnly.
However, this method is only used for filling out the elapsedTime member of
AnimationEvents (which are generated by CSS animations). This patch moves this
method to CSSAnimation since it is unneeded for other types of Animations.

--HG--
extra : rebase_source : 9ab3b81a8272c004aabf26fea557c9a2f5d76caf
2015-09-15 14:03:24 +09:00
Benjamin Bouvier
539e639d7a Bug 1204847: Reinterpret the asmFunc pointer as an AsmFunction in case of offthread compile error; r=luke
--HG--
extra : commitid : I14ORiegKKz
extra : rebase_source : 9d0406506d630262e4d806b15519955b914e227e
2015-09-15 19:21:06 +02:00
Sylvestre Ledru
454402606d Bug 1196373 - Remove useless empty line r=trivial 2015-09-16 11:45:28 +02:00
Sylvestre Ledru
8792cfc826 Bug 1196373 - Use the globally defined version instead of using the hardcoded value r=glandium
This will fix the display the beta number in the fennec about windows/support.
2015-09-16 11:43:07 +02:00
Jordan Santell
866d2a1dfc Bug 1204595 - Store audionode properties once via server rather than async fetching the unchanging properties in the tool. r=jryans
--HG--
rename : browser/devtools/webaudioeditor/test/browser_audionode-actor-is-source.js => browser/devtools/webaudioeditor/test/browser_audionode-actor-source.js
rename : browser/devtools/webaudioeditor/test/browser_audionode-actor-get-type.js => browser/devtools/webaudioeditor/test/browser_audionode-actor-type.js
2015-09-14 16:04:54 -07:00
vivek
6373021e54 Bug 1204565 - Selectively enable unit test based on build variant r=nalexander
DONTBUILD NPOTB

Project specific test filtering is automagically handled by gradle task graph

--HG--
extra : commitid : 2vx7QzGNVUI
extra : rebase_source : 63254386dca7f0aa5c6a5894f7915b2ed50dd65e
2015-09-15 00:55:49 +03:00
Francois Marier
8e83932d05 Bug 1201995 - Rename the mozpub-track-digest256 and mozpub-trackwhite-digest256 lists. r=gcp 2015-09-17 10:14:35 -07:00
Francois Marier
1a66579695 Bug 1198030 - Use shavar.services.mozilla.com instead of tracking.services.mozilla.com. r=gcp 2015-09-17 10:13:13 -07:00
Nick Alexander
895de37da3 Bug 1191064 - Part 3: Handle removing Android Accounts from fxa-content-server. r=markh
This adds a new JS to Java ping-pong; exposes it via Accounts.jsm; and
uses it in response to the fxa-content-server message.

--HG--
extra : commitid : IghQHRrnuUs
extra : rebase_source : 5b255bb6da45abb41f4dfe00c559daaafe83a118
2015-09-14 17:21:19 -04:00
Nick Alexander
6535b7e95b Bug 1191064 - Part 2: Handle relinking Firefox Accounts on Fennec. r=markh
The desired behaviour:

* If we have no account now, and had no account or the same account in
  the past -- no message, allow.
* If we have no account now, but had a different account in the past -- prompt.
* If we have an account, and this is the same account -- no message, allow.
* If we have an account, and this is not the same account -- toast and
  never allow.

--HG--
extra : commitid : 9vegWtkMoYE
extra : rebase_source : 418f3e616185732c589c1097094260b1f7fbfee0
extra : amend_source : c67d36fa07f7de068998b40389b855c15571ebf3
2015-09-14 16:58:47 -04:00
Nick Alexander
87ec040f10 Bug 1191064 - Part 1: Add Fennec version of FxAccountsWebChannel. r=markh
This ticket does the following things:

* register early.  If the first page that Gecko loads is
  about:accounts, the channel needs to be in place.  If we delay this,
  we can and do miss content server messages.

* listen to the following messages:

  CAN_LINK_ACCOUNT: 'fxaccounts:can_link_account'
  CHANGE_PASSWORD: 'fxaccounts:change_password'
  DELETE_ACCOUNT: 'fxaccounts:delete_account'
  LOADED: 'fxaccounts:loaded'
  LOGIN: 'fxaccounts:login'

The list of messages is from
2a78a14daf/app/scripts/models/auth_brokers/fx-desktop-v2.js (L24)
via
2a78a14daf/app/scripts/models/auth_brokers/fx-fennec-v1.js

This patch implements only LOADED, LOGIN, and CHANGE_PASSWORD.  The
messages have the following behaviour:

A LOADED message is ferried to the individual XUL <browser> element it
originated from.  In general, WebChannel is a global listener: it does
not matter where a message originates.  We want to have fine-grained
control over when an embedding <iframe> is displayed (as opposed to
loaded, in the Gecko sense of loaded).  The fxa-content-server
participates in this exchange via the LOADED message; we complete the
loop by specially handling LOADED.

A LOGIN or CHANGE_PASSWORD message either creates a new Android
Account in the Engaged state, or moves an existing Android Account to
the Engaged state.  An Android sync is not yet requested -- we'll
arrange that from the Java side.

--HG--
extra : commitid : 1Cw78MNwRHq
extra : rebase_source : eedf8a1bccb5726f4a20d55c1d8496fbfb6c1ca0
2015-09-15 15:54:29 -04:00
Gijs Kruitbosch
7b8c78ef97 Bug 1202186 - use nsISensitiveInfoHidden for console methods, r=baku
--HG--
extra : commitid : AetFuX0QKlx
extra : rebase_source : 51e911818fe9d75af0f518463e142d24e87fdb1d
2015-09-14 20:38:57 +01:00
Jared Wein
eb6a2216bf Bug 1205038 - Add missing BROWSER_SET_DEFAULT_ALWAYS_CHECK probe to Histograms.json, and fix BROWSER_SET_DEFAULT_TIME_TO_COMPLETION_SECONDS by fixing callback. r=dolske,Gijs 2015-09-16 12:01:03 -07:00
Chris Rafuse
aede4a1e3b Bug 1205368-Fix Hello ui-showcase scrolling regression, r=dmose 2015-09-16 11:56:38 -07:00
Drew Willcoxon
486cba0638 Bug 1198723 - Don't show the urlbar search suggestions opt-in if suggestions are enabled outside the opt-in. r=mak 2015-09-16 11:21:59 -07:00
Drew Willcoxon
f82ad5d15f Bug 1203724 - Keep focus in the urlbar after making a choice in the search suggestions opt-in notification via an accesskey. r=mak 2015-09-16 11:16:44 -07:00
Drew Willcoxon
24605b7294 Bug 1186393 - Make urlbar search suggestions call decodeURIComponent on the engine name. r=mak 2015-09-16 11:16:41 -07:00
Matt Woodrow
1ea4b7e961 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Wes Kocher
d2b57046d1 Merge m-c to inbound, a=merge CLOSED TREE 2015-09-17 15:27:39 -07:00
William Chen
fd033f5d25 Bug 1176829 follow-up, finish removing unused member to fix bustage. CLOSED TREE
--HG--
extra : rebase_source : 5d0f9b5fca426ef5d94d0237d5b1448d776951b2
2015-09-17 15:25:24 -07:00
Tom Schuster
e3fbb8bc43 Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Tom Schuster
98ae187a52 Bug 603201 - Change GetProperty receiver argument to Value in JS. r=efaust 2015-09-18 00:14:33 +02:00
Seth Fowler
b32c629237 Bug 1194058 (Part 2) - Add downscale-during-decode support for the GIF decoder. r=tn 2015-09-17 15:03:34 -07:00
Seth Fowler
a94eef949b Bug 1194058 (Part 1) - Add Deinterlacer to allow Downscaler to work with interlaced images. r=tn 2015-09-17 15:03:31 -07:00
William Chen
0e20f9477d Bug 1176829 - Remove custom elements base element queue. r=smaug
--HG--
extra : rebase_source : 27fb6a6d80575235dbd18f849cab5578a1dd6d14
2015-09-17 14:49:00 -07:00
David Burns
cf7ee31873 Bug 1204496: When searching by link text start from the startNode and not the rootNode; r=ato
--HG--
extra : commitid : B41EB2spDLA
extra : rebase_source : 19077dc84eefe0b11d862c04dc1f8bbc595cca82
2015-09-17 22:22:38 +01:00
Wes Kocher
5f70fae987 Backed out 2 changesets (bug 1204169, bug 1074935) for Werror bustage CLOSED TREE
Backed out changeset b4621131ea01 (bug 1074935)
Backed out changeset 14dbd30e63af (bug 1204169)
2015-09-17 13:58:15 -07:00
Trevor Saunders
75ffe89c69 bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders
24ad5cfa23 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders
1b482dcc58 bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb
if this is useful it would make more sense to log it outside of the windows
layer.  Since its not clear it is useful, and it makes it harder to separate
event dispatch logic from HandleAccEvent its easiest to just remove it for now.
2015-09-17 16:49:24 -04:00
Patrick McManus
0027642c1e Bug 1205810 - telemetry for local h2 goaway code r=hurley 2015-09-17 15:26:59 -04:00
Mike Conley
acf57ca511 Bug 1199434 - Send printer error messages to the parent process to report to the user. r=Mossop
The printing back-end used to be in charge of opening up an error dialog
when things go wrong with printing. Now we fire an event and let PrintUtils
do the work of showing the error message. This has the added bonus of making
the error messages work with e10s.

--HG--
extra : commitid : LPWfOvQ1TaI
extra : rebase_source : fa6f71e6c9cf9062feb2bd1d0f362680899385fc
2015-09-16 16:12:54 -04:00
Mike Conley
2606bb64e2 Bug 1199434 - Fire an event when the print engine encounters an error. r=smaug
The print engine used to directly cause a prompt to be displayed in the most
recent window in the event of an error. This patch causes the print engine to
fire an event instead so that the front-end can choose to display or ignore
the error.

--HG--
extra : commitid : J2icIUiO8Lv
extra : rebase_source : 0288d18cf29b8c167da2be9b907f234cf4c3f2b7
2015-09-16 16:12:43 -04:00
Nick Fitzgerald
3e52d7cc21 Bug 1074935 - Add SPS pseudo frames for JSRope flattening; r=jandem 2015-09-17 12:51:00 -07:00
Nick Fitzgerald
83ed1d9024 Bug 1204169 - Push SPS pseudo frame entries when GCing; r=terrence 2015-09-17 12:51:00 -07:00
Jennifer Fong
94795b7ace Bug 1203648 - Default devtools.webide.sidebars to true. r=jryans
--HG--
extra : histedit_source : e3558954a0bf6d4c394076aca3b682c6719245dd
2015-09-14 09:10:00 -04:00
Gervase Markham
eb573288d9 Bug 1203171 - Change regionNames.properties to use GENC data. r=pascalc
--HG--
extra : histedit_source : 112c8ef04ccfa6f6fb6342fbf7613fe8e8e859b4
2015-09-15 07:56:00 -04:00
Matteo Ferretti
694730e132 Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset
--HG--
extra : histedit_source : 54d69138146487b378e62bc2cfeb520a85956f43
2015-09-15 00:32:00 -04:00
Ryan VanderMeulen
66e694be8a Bug 1205051 - Update pdf.js to version 1.1.469. r=bdahl 2015-09-15 17:03:08 -04:00