575904 Commits

Author SHA1 Message Date
Lorena Diaconescu
51d9787b8e Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. r=lsalzman
MozReview-Commit-ID: FhWnJIf61o8

--HG--
extra : rebase_source : 6b1a7aa3a0db732fbad8ba844dac29c748e5122d
2017-09-07 11:16:45 -04:00
Chris H-C
ae3814ae60 bug 1421688 - Allow SHUTDOWN_OK to be recorded on release as well data-r?rweiss r=Dexter,rweiss+418169
Also, while I'm here, add in some now-required fields to modernize the
probe definition.

MozReview-Commit-ID: L0Jk1Q2nMrV

--HG--
extra : rebase_source : 7c1b96953d9d0ccb7d27de0715de2d1ad52d1843
2017-11-29 13:49:03 -05:00
Margareta Eliza Balazs
4687cec26a Backed out changeset 17660bff0c23 (bug 1423331) for 4 failures in layout/base/tests/test_reftests_with_caret.html r=backout on a CLOSED TREE 2018-01-09 17:49:00 +02:00
Margareta Eliza Balazs
5a9938931a Backed out changeset b047f4782ae2 (bug 1423331) for 4 failures in layout/base/tests/test_reftests_with_caret.html r=backout on a CLOSED TREE 2018-01-09 17:48:14 +02:00
Adrian Wielgosik
5b113a4b69 Bug 1414554 - handle React 16 event listeners. r=miker
Tests copied directly from older versions and adapted for React 16.
React source downloaded from https://github.com/facebook/react/releases/tag/v16.2.0

MozReview-Commit-ID: 80zwHIK16Cz

--HG--
extra : rebase_source : 0329b8407e38cf5757281456c62ff42c3846d8b2
2018-01-07 21:11:24 +01:00
Henrik Skupin
7e2ab8502e Bug 1403923 - Safely shutdown Firefox from in delete_session. r=jgraham
With the request to shutdown the browser, a given amount of time
has to be waited to allow the process to shutdown itself. Only
if the process is still running afterward it has to be killed.

Firefox has an integrated background monitor which observes
long running threads during shutdown, and kills those after
65s. To allow Firefox to shutdown on its own, geckodriver
has to wait that time, and some additional seconds.

MozReview-Commit-ID: 4LRLQE0jZzw

--HG--
extra : rebase_source : c33c163d4d06768ea6616b97a25f986f5ea37e5d
2017-10-05 23:49:17 +02:00
Masayuki Nakano
169354c54c Bug 1407085 - nsAutoCompleteController shouldn't restore original value after somebody changes the input value even when Escape key is pressed r=mak
When Escape key is pressed, nsAutoCompleteController needs to restore last
string which was default value of the input or typed by the user.  However,
somebody may change the value, e.g., an event listener which handles
Escape key.  In this case, nsAutoCompleteController shouldn't restore the
last string.

Unfortunately, when JS sets input value, DOM "input" event won't be fired.
Therefore, nsAutoCompleteController doesn't have a chance to modify
mSearchString in this case.  Therefore, nsAutoCompleteController needs to
store expected input string for checking if somebody modified the input value.
For solving this issue, this patch adds a new member, mSetValue which is
modified when the input value is modified by nsAutoCompleteController itself
or mSearchString is modified.

Even with this patch, if user temporarily selects an item of the popup and
JS sets same value as the selected item from JS, nsAutoCompleteController
restores the input value with mSearchString.  However, this must be rare
case and I don't have idea to fix this issue with simple patches.

MozReview-Commit-ID: lig8c7xvD7

--HG--
extra : rebase_source : 787dbfb35bc70d27fb09ec93861164e7a5165be3
2017-12-19 16:46:20 +09:00
Andi-Bogdan Postelnicu
b41605bc5e Bug 1429015 - Add clang-format-diff to the clang-tidy build generated by toolchains. r=sylvestre
MozReview-Commit-ID: FjJqef78wa3

--HG--
extra : rebase_source : ef0682f66f681f7c069fe6ad31baeb78d54c14ea
2018-01-09 13:27:39 +02:00
Emilio Cobos Álvarez
70064701e8 Bug 1423331: Tests. r=mats
MozReview-Commit-ID: Ay4tUwSH0Iq

--HG--
extra : rebase_source : 7105701c7117b7b0826591187bf4b8879a805945
2017-12-17 02:48:49 +01:00
Emilio Cobos Álvarez
d563b8100b Bug 1423331: Prevent selection from leaking from blocks. r=mats
MozReview-Commit-ID: EFLXSQ8Zvze

--HG--
extra : rebase_source : 10b8ff4c0712e6880c69eafc49cf1a78d4dff4bd
2017-12-17 02:48:37 +01:00
Mike Hommey
714ba3c60d Bug 1428967 - Allow to build cctools-port on Debian. r=ted
There is no /lib64 on Debian. OTOH, one doesn't need to give the full
path to a system library in LDFLAGS, so just use -l syntax instead.

--HG--
extra : rebase_source : b795f97ab209499824afa5ef1aee9da52657ceb9
2017-12-30 12:57:51 +09:00
Julian Descottes
8c053a5c46 Bug 1428191 - create developer toggle widget before first paint in DevEdition;r=ochameau
MozReview-Commit-ID: KEJNzXrDrEE

--HG--
extra : rebase_source : d046029277b34da86457eac4c41ebd1d361dd2e5
2018-01-05 13:44:19 +01:00
Nicolas Chevobbe
56b64bd286 Bug 1404392 - Enable and refactor browser_webconsole_filter_scroll.js to check that filtering does not affect scroll position; r=bgrins.
MozReview-Commit-ID: DEZDnblICnh

--HG--
extra : rebase_source : 259f1098f24f6418d5194c0840802ce52c77259f
2018-01-08 18:02:51 +01:00
Hiroyuki Ikezoe
5fb812b75c Bug 1428949 - Update StyleBench/InteractiveRunner.html with the latest one. r=jmaher
This change is corresponding to https://trac.webkit.org/changeset/225478/webkit

MozReview-Commit-ID: KJkFNAIqZ4H

--HG--
extra : rebase_source : 8cf66c269a86c39bbe3606fa88b033b307444e65
2018-01-09 11:07:53 +09:00
Margareta Eliza Balazs
30e58c79b0 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-09 12:14:48 +02:00
Julian Descottes
37f03700ef Bug 1428731 - Bump expiry for about:devtools telemetry probes to v63;r=Harald
MozReview-Commit-ID: 3Afadgiu6wb

--HG--
extra : rebase_source : be832c74df204e6a257f03b4942081e6dd770bcd
2018-01-08 10:56:26 +01:00
Nicolas Chevobbe
44437622ab Bug 1428717 - Fix netProviderEnhancer for MESSAGE_OPEN action for non-network message;r=Honza.
There was an exception thrown by the netProviderEnhancer because it
retrieves the networkMessageUpdate and access a property on it.
On non-network message, the networkMessageUpdate is undefined, and
accessing the property throws.

We fix this by simply checking if message is not falsy before accessing
the property.

A couple of tests were added to make sure we don't regress this case. This
required changing the setupStore helper a bit to pass a hud stub to the
createStore function (the net enhancer is called only if the hud has a proxy
object). This made some test fail because they weren't dispatching enough
argument to the networkMessageUpdate action.

MozReview-Commit-ID: 7h35ebHSdbF

--HG--
extra : rebase_source : 089dce93d1de60e4b44936b514627803aa2c5100
2018-01-08 15:37:23 +01:00
Edmund Wong
03877052c1 Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix 2018-01-07 19:35:00 +02:00
Margareta Eliza Balazs
fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
Jan Beich
0d6100b8a4 Bug 1428950 - Unbreak build on BSDs after bug 1297740. r=gcp
--HG--
extra : rebase_source : f1fd0a89d72fbe812ff706e17dff18c001fe4aef
2018-01-09 02:13:20 +00:00
JW Wang
29bae87780 Bug 1428684 - reduce the chance of UAF when changing states of MDSM. r=kaku
SetState() will delete the current state object and UAF will happen if members
are accessed after this call. However, sometimes it is not obvious if SetState()
is called indirectly as we do in MaybeFinishSeek().

To make it less error-prone, we will keep the old state object alive for a bit
longer and set mMaster to null to catch potential UAF.

MozReview-Commit-ID: Aqxj92ETjti

--HG--
extra : rebase_source : 21b4a0b6df2b1723eed01b6c9d58b33b8dcc6405
2018-01-08 11:41:59 +08:00
Dão Gottwald
d6173b3fbb Bug 449045 - Drop support for type=timed textboxes. r=enn
MozReview-Commit-ID: Ld6foAxCAhW

--HG--
extra : rebase_source : 94065ccfb55e8a93322cd5fbbeabcc78b222bf1a
2018-01-05 21:03:39 +01:00
Tim Taubert
c3180f09e1 Bug 1406467 - Web Authentication - WD-07 Updates to Make Assertion r=jcj,smaug
Summary:
Add support for PublicKeyCredentialRequestOptions.userVerification. For now
this basically means that we'll abort the operation with NotAllowed, as we
don't support user verification yet.

Pass PublicKeyCredentialDescriptor.transports through to the token manager
implementations. The softoken will ignore those and pretend to support all
transports defined by the spec. The USB HID token will check for the "usb"
transport and either ignore credentials accordingly, or abort the operation.

Note: The `UserVerificationRequirement` in WebIDL is defined at https://w3c.github.io/webauthn/#assertion-options

Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406467

Differential Revision: https://phabricator.services.mozilla.com/D338

--HG--
extra : amend_source : 314cadb3bc40bbbee2a414bc5f13caed55f9d720
2018-01-09 07:27:35 +01:00
Morris Tseng
ae9a064d8e Bug 1374729 - Use correct format for MacIOSurface. r=nical
MozReview-Commit-ID: 43JBSi5mqT7
2018-01-09 14:12:02 +08:00
Myk Melez
f5844bccd4 Bug 1428153 - clear prefs that the beforeaccept test sets; r=enndeakin
MozReview-Commit-ID: JnFmdXuqt1s
2018-01-08 20:34:59 -08:00
Myk Melez
ea1a751cdb Bug 1428529 - ensure window.opener.Preferences is defined; r=jaws
MozReview-Commit-ID: DNvpuQplNgb
2018-01-08 20:33:40 -08:00
Jeff Gilbert
93dcf044db Bug 1427088 - Don't rely on glGetStringi just because it exists. - r=daoshengmu
MozReview-Commit-ID: Gmf6phqDOTK
2018-01-08 18:43:34 -08:00
Alphan Chen
87bb85b91b Bug 1421214 - Try GoToAnchor() with unescaped string before using document's charset. r=smaug 2018-01-05 15:12:16 +08:00
Andre Alves Garzia
ad62e67448 Bug 1428446 - Add DAT, IPFS, and SSB to the webextension protocol whitelist. r=mixedpuppy 2018-01-05 21:00:58 -02:00
Aditya Bharti
9166b51536 bug 1364043 - Allow C++ to accumulate multiple samples into histograms with one call. r=chutten
Added another Telemetry::Accumulate function that takes a histogram id and an array of samples as arguments.
As of this patch, adding multiple samples to keyed and categorical histograms is not supported.

--HG--
extra : rebase_source : e84c53d23c9d2a6fc07f57b626e76e09c61c3bee
2018-01-09 02:16:30 +05:30
Tom Tung
c9bf5a8d87 Bug 1427978 - P2: Remove the ini file to expect the wpt tests succeed by default. r=bkelly
--HG--
extra : rebase_source : 6cc0849e2ca892dbc87ec9831764c20b2eea3cc6
2018-01-08 11:28:34 +08:00
Tom Tung
ed36e1377d Bug 1427978 - P1: Update the wpt tests to expect to reject the cors synthesized response to a same origin request. r=bkelly
--HG--
extra : rebase_source : 916544a65fd4a74d1880ae03b08fb54ea747ae75
2018-01-08 11:27:23 +08:00
Ben Kelly
572321a804 Bug 1426977 P5 Remove unnused cookie pref getters from nsContentUtils. r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
6b60ca24ef Bug 1426977 P4 Add mochitest verifying service workers respect per-site cookie permissions. r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
11f4db4683 Bug 1426977 P3 Use StorageAllowedForNewWindow() in nsDocShell::ServiceWorkerAllowedToControlWindow(). r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
223b11ff62 Bug 1426977 P2 Add StorageAllowedForNewWindow() to support docshell service worker checks. r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
68f574e92c Bug 1426977 P1 Preload the cookie permission to properly block client-side service worker interception. r=mystor 2018-01-08 20:25:52 -05:00
Luke Wagner
95733d05bf Bug 1428453 - Baldr: remove WasmFrameIter::callsite_ (r=bbouvier)
MozReview-Commit-ID: LBTtxbqZamP
2018-01-08 17:53:53 -06:00
Luke Wagner
c4c25d2fb0 Bug 1428453 - Baldr: remove WasmFrameIter::debugTrapCallsite() (r=yury)
MozReview-Commit-ID: AHjWPINanvF
2018-01-08 17:53:21 -06:00
Luke Wagner
d99d8b74c3 Bug 1428453 - Baldr: prefix current trap mechanism names with 'Old' (r=bbouvier)
MozReview-Commit-ID: JeNcXpbKL2s

--HG--
extra : rebase_source : 452f6891e9f97ce254e6d8616595bf9d37737d8f
2018-01-08 17:47:34 -06:00
Luke Wagner
05a9191b32 Bug 1428453 - Baldr: move code and remove dead argument/field (r=bbouvier)
MozReview-Commit-ID: IHXAThgE5VH

--HG--
extra : rebase_source : 123a1376c40d00cbbf3b838e61b0b451dd975313
2018-01-08 17:43:51 -06:00
Edgar Chen
075744b12e Bug 1406825 - Enable Custom Elements on Nightly by default; r=smaug
MozReview-Commit-ID: 7MsdZPy2sjZ

--HG--
extra : rebase_source : e5d715411aee8a186494a6c7af6998f05b4f0fb7
2018-01-03 11:55:37 +08:00
James Teh
91694598dc Bug 1424156 part 4: Add test for aria-live in Web Console messages. r=nchevobbe
MozReview-Commit-ID: A1y18uTbjIJ

--HG--
extra : rebase_source : 186420ee3dd3fc0887cc89619ff452983c428826
2018-01-05 14:32:09 +10:00
James Teh
a7b8705ecc Bug 1424156 part 3: Add test for aria-live in Web Console message icon. r=nchevobbe
MozReview-Commit-ID: 9VXYjOoQOco

--HG--
extra : rebase_source : e7597f2b05d9a44461a05b582c531b7c057f0685
2018-01-04 16:02:48 +10:00
James Teh
06e00020fb Bug 1424156 part 2: Don't treat message icons in the Web Console as live content for accessibility. r=nchevobbe
Message icons now get the aria-live="off" attribute.
This stops screen readers from automaticaly reading icon descriptions, which might be interesting to read later but make things inefficient when automatically reading new output.
MozReview-Commit-ID: BQOUnTRVkBE

--HG--
extra : rebase_source : 47f1df96910a92961fc739582ffb49956735fdb3
2018-01-03 09:56:09 +10:00
James Teh
38bc58c8ee Bug 1424156 part 1: Don't treat Web Console input from the user as live content for accessibility. r=nchevobbe
Commands entered by the user now get the aria-live="off" attribute.
This stops screen readers from echoing commands the user typed, which is redundant and inefficient.
MozReview-Commit-ID: GJXiBPMe0W5

--HG--
extra : rebase_source : 9fac3b14115a9f2f54bc8180bed6c0442e0da3f0
2018-01-03 09:52:17 +10:00
pd4d10
bfb81cea7b Bug 1427077 - Make devtools/client/netmonitor work correctly at browser r=rickychien
Replace `loader.lazyGetter` pattern with normal variable assignment

MozReview-Commit-ID: JJTXKgXRgBZ

--HG--
extra : rebase_source : 91e63d7515573a3c55756fd04811fe61515b3cf8
2018-01-03 21:33:57 +08:00
Leo Huang
5213ac90af Bug 1426634 - Rename devtools/client/shared/components/Tree.js to VirtualizedTree.js; r=nchevobbe
MozReview-Commit-ID: 80ebj9CJODR

--HG--
rename : devtools/client/shared/components/Tree.js => devtools/client/shared/components/VirtualizedTree.js
extra : rebase_source : 78d24d5411b2d1dadae6778ba7f05c58641b6a00
2017-12-22 12:10:00 +08:00
Nicolas Chevobbe
ffa098ba78 Bug 1428014 - Fix intermittent on browser_webconsole_close_sidebar.js; r=bgrins.
The test was failing because it still had pending request to the server while shutting
down the toolbox. This request was probably the one to retrieve the properties of the
object we put in the sidebar.
By waiting the object properties to be fully loaded when opening the sidebar, we should
make the intermittent go away.

MozReview-Commit-ID: 7tY8hvbDVRp

--HG--
extra : rebase_source : cc5479f21c91df1fc0967900fb1022e3ec6dff3d
2018-01-08 09:47:50 +01:00
Makoto Kato
1f169bb35d Bug 1425091 - Part 4. EditorBase::MoveNode should check valid node that has parent node. r=masayuki
AutoMoveNodeSelNotify doesn't allow container is null.  So we should reject
that parent of moving node is null.

MozReview-Commit-ID: DGNCicLJxuK

--HG--
extra : rebase_source : eea203f16d0296c74d0727f34b6ddc5c165f9092
2017-12-15 10:56:45 -06:00