Граф коммитов

529314 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 5de2d8377f Bug 1353045 - Remove SDK usage from RDM. r=pbro
MozReview-Commit-ID: I2dodBb9NHh

--HG--
extra : rebase_source : 0ce62635307c19e1d449f2c773bacaaf998a5970
2017-04-06 21:42:21 -05:00
Patrick McManus 3a1c3e7365 Bug 1281278 - test coverage for h2 push with brotli r=nwgh
MozReview-Commit-ID: 84LZRLsefJD

--HG--
extra : rebase_source : 3e09bebff4b2799471d96e9fcd06925ce36ff251
2017-04-06 13:40:26 -04:00
Patrick McManus d71e70b941 Bug 1354220 - HttpChannelChild doesn't release listeners on fail case r=schien
MozReview-Commit-ID: 5gixWVg1NR3

--HG--
extra : rebase_source : 09970c37e26b3539a44c3c8b85502b8f912d9868
2017-04-06 14:21:42 -04:00
Mike Conley a4439189a7 Bug 1350243 - Combine e10s and non-e10s code paths when reacting to datalist updates. r=MattN
MozReview-Commit-ID: 1O3wAzzwWAR

--HG--
extra : rebase_source : 74a698ad29b4df25eddf9a3381dc742e3bb66a96
2017-04-06 16:39:08 -04:00
Chris Manchester c3b5b59a79 Bug 1354265 - Run process output through the stack fixer in mochitests. r=jgraham
MozReview-Commit-ID: LA4LCk9TetD

--HG--
extra : rebase_source : 44d20554e29d947cb293cdde29dc1856a396b103
2017-04-06 12:58:28 -07:00
Andrew McCreight 8aedac1cad Bug 1352218, part 2 - Avoid PdfJs.enabled call. r=Gijs
This avoids a sync IPC message from child to parent.

Changes entirely from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: 3Egayok3DBZ

--HG--
extra : rebase_source : e02829e2508bb75caf44c0a3c86b06fac3bf167f
2017-03-30 14:52:09 -07:00
Andrew McCreight fec8ba650f Bug 1352218, part 1 - Split pdf.js boot strap file. r=Gijs
One is always run, the other is only run when PdfJs.enabled is true in
the parent process. This refactoring enables the next patch.

The extensions changes are from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: HwQ3yk8Jck4

--HG--
extra : rebase_source : 94f1516989685176a95e235f2d3ef8658adaf8b7
2017-03-30 14:43:04 -07:00
Phil Ringnalda b4cfaa0dfc Merge m-c to a CLOSED TREE autoland 2017-04-07 08:01:38 -07:00
Phil Ringnalda a8bb90e93a Backed out changeset 5d3bc5f2c41f (bug 1354055) for mass Android reftest failures 2017-04-07 07:59:37 -07:00
Phil Ringnalda c17dc6a459 Backed out changeset 38bbf2279a94 (bug 1343182) for timeouts in test_automigration.js and test_PlacesProvider.js
CLOSED TREE
2017-04-07 07:56:18 -07:00
Rob Thijssen c76f309147 bug 1351307 - enable mochitest a11y, gpu on tc win; r=jmaher
MozReview-Commit-ID: 4yD4FtJzSqV

--HG--
extra : rebase_source : dd07dc9585c6c449dd7996f55031aca739701497
2017-04-07 11:27:15 +02:00
Rob Thijssen f4a993a51b bug 1351273 - enable e10s: reftest, reftest-no-accel on tc win; r=jmaher
MozReview-Commit-ID: K1RLQmDk0mC

--HG--
extra : rebase_source : a905aa28943a996ea93bac66fa1cb0f70b584e1c
2017-04-07 11:43:20 +02:00
Carsten "Tomcat" Book ab87252d1a Backed out changeset e22c18d39a92 (bug 1352699) for talos failures 2017-04-07 10:49:21 +02:00
Carsten "Tomcat" Book 84176d993c Backed out changeset a822f74d410e (bug 1352699) 2017-04-07 10:48:10 +02:00
Carsten "Tomcat" Book 5010bfe1c5 Backed out changeset afbfe3a5cdb6 (bug 1352699) 2017-04-07 10:48:08 +02:00
Carsten "Tomcat" Book 5db0c1c8bf Backed out changeset 48d3321e3474 (bug 1352699) 2017-04-07 10:48:06 +02:00
Carsten "Tomcat" Book 83d84af024 Backed out changeset 2b6c014551e0 (bug 1352699) 2017-04-07 10:48:04 +02:00
Sebastian Hengst 988017d22d Backed out changeset ba97ba73f72d (bug 1353333) for failing flake8. r=backout 2017-04-07 10:34:05 +02:00
Chris H-C 3dcedc23a4 bug 1339019 - Caution against recording Telemetry in hot paths. r=gfritzsche
Histograms, Scalars, and Events are cheap but not free. Expect performance
impacts if you use them in tight loops or hot paths.

MozReview-Commit-ID: 2nrdHXrbN9i

--HG--
extra : rebase_source : fa2a7f81ac00218898fc1b6e0c77a3de23ab3f88
2017-04-06 14:07:02 -04:00
Marco Bonardo 5af6b5b2cc Bug 1353783 - updatePlaces doesn't correctly notify and count embed visits. r=Gijs
Additionally, move some history tests to the history folder, split insertMany tests into their own test file.
Also, remove some no more needed android annotations, Firefox for Android doesn't use nor build Places anymore.

MozReview-Commit-ID: 6p4mazeUjsw

--HG--
rename : toolkit/components/places/tests/unit/test_async_history_api.js => toolkit/components/places/tests/history/test_async_history_api.js
rename : toolkit/components/places/tests/history/test_updatePlaces_sameUri_titleChanged.js => toolkit/components/places/tests/history/test_sameUri_titleChanged.js
extra : rebase_source : 1061f3ceb6dc20b9a94a39a7d400670ac45657d0
2017-04-06 14:24:25 +02:00
Johan Lorenzo 998fa260f9 Bug 1353333 - [push-apk] release: activate rollout percentage r=aki
MozReview-Commit-ID: 6SXbfREPBVS

--HG--
extra : rebase_source : d9c39f5df2f97554dfab169876c50064a90da1d9
2017-04-06 10:30:59 +02:00
Johann Hofmann 9cd3d14848 Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t

--HG--
extra : rebase_source : 6133986c9e3c470f6e2fb3c5a172a82c0f07fd8a
2017-04-06 11:00:11 +02:00
Johann Hofmann c7f84eacc4 Bug 1337772 - Part 1 - Use mousedown instead of contextmenu to avoid showing the password autocomplete. r=MattN
MozReview-Commit-ID: EUZ1f6Qdm0c

--HG--
extra : rebase_source : e0b4f4f5d14407a831ca6efe4481f6c884682b39
2017-04-07 00:01:31 +02:00
Zibi Braniecki 847c06f3d1 Bug 1354055 - Don't cache wrong result in OSPreferences::ReadSystemLocales on Android. r=rnewman
MozReview-Commit-ID: Li7wUQnC9Gz

--HG--
extra : rebase_source : 6db7feb523c99634db468c3a674957163ec83142
2017-04-06 13:00:02 +02:00
Servo VCS Sync 89c762cc0c No bug - Revendor rust dependencies 2017-04-07 06:46:39 +00:00
Xidorn Quan fb31179442 servo: Merge #16296 - Update cssparser in Cargo.toml (from upsuper:cssparser); r=heycam
This helps Stylo builds to actually use the new cssparser.

Source-Repo: https://github.com/servo/servo
Source-Revision: 535d0e421a3188473fc0c3cefca569c1276c4804

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d72cbe5b073fd7a22eb291a86007734c7b54e42b
2017-04-07 01:10:25 -05:00
k88hudson 6fcdd4aa89 Bug 1350409 - Add Store, Actions, and Reducers to Activity Stream system add-on r=ursula
MozReview-Commit-ID: 5lCFGBCtH2e

--HG--
extra : rebase_source : 01e7ae01e1dd03de9fbe84fa1fbc7797323ed475
2017-04-04 12:57:53 -04:00
Rex Lee 2a6a2e2288 Bug 1347504 - [jsplugins][UI] Support opening external links in PDF files. r=evelyn,lochang, f=lchang, f=lochang
MozReview-Commit-ID: CIrC4ise4Zs

Hotkeys works like normal DOM links, except "Open in background tab" (which corresponds to ctrl/command + click)
open tabs in foreground due to limitation from outside chrome process.

--HG--
extra : rebase_source : 6a3b43c518e23c61fe3c48cc4317b813a39acc7a
2017-04-06 16:14:23 +08:00
Henrik Skupin a3baec363f Bug 1354310 - Ensure to use page load timeout for Wait().until() in unit tests. r=ato
Tests which have to wait for a page being loaded should always use a timeout as
set via self.marionette.timeout.page_load.

MozReview-Commit-ID: HFTOYy6WYNk

--HG--
extra : rebase_source : cc2981595e2a62fd761baec8a3c15486832cc0ed
2017-04-07 09:26:23 +02:00
Justin Wood 57200078b4 Bug 1348834 - update funsize pulse route for taskcluster nightlies to remove index. r=sfraser
MozReview-Commit-ID: K001hNg7chU

--HG--
extra : rebase_source : e24cf4c36134b1e69e20782bf260a25af67a68da
2017-04-05 13:58:45 -04:00
Ricky Chien 50848b589c Bug 1352699 - Fix mochitest failures r=Honza
MozReview-Commit-ID: 8rhAQw5oflC

--HG--
extra : rebase_source : 493e558a566548ca713c952b87c00575b5332e0d
2017-04-05 22:59:57 +08:00
Mark Banner 585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Mark Banner 92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mark Banner 427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Tom Klein 89477640e6 Bug 1350718 - Post: Name the special value -1 used to indicate a new tab should be appended. r=maliu
MozReview-Commit-ID: 7r8cHItW4wG

--HG--
extra : rebase_source : b7ea5736f706a126f553d6c2eddc314ee4f5f011
2017-04-06 11:27:42 -05:00
Ricky Chien 83be5c2660 Bug 1352699 - Remove cyclic dependency in devtools loader r=Honza
MozReview-Commit-ID: GrtNP7WD8ys

--HG--
extra : rebase_source : de8de90aeb4d74389a8fbfebb3960266019c6911
2017-04-02 08:28:29 +08:00
Ricky Chien bce38c9490 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : a520cc21fd1444fa1deeb2eacb3a9f973d693d7a
2017-04-01 23:01:06 +08:00
Ricky Chien d006b3aa8a Bug 1352699 - Fix gStore instance issue in NetMonitorController r=Honza
MozReview-Commit-ID: CWAnmdEtJwc

--HG--
extra : rebase_source : cafe5d7a0f7e99b1076b42339a47c767af1dc861
2017-04-01 16:39:41 +08:00
Ricky Chien e0a7b8f112 Bug 1352699 - Access single Services.prefs instance r=Honza
MozReview-Commit-ID: GS77TZqwFc

--HG--
extra : rebase_source : 72bb532891c61e321a173b163d4101a637f5e581
2017-04-01 12:32:27 +08:00
Andreas Tolfsen ab9085d475 Bug 1354323 - Accept string text for sendKeysToDialog command; r=automatedtester
As a follow-up to https://bugzilla.mozilla.org/show_bug.cgi?id=1354323,
this makes the Marionette sendKeysToDialog command take a text field
with a string, instead of the value field with an array of strings.

The relevant WebDriver specification change is
https://github.com/w3c/webdriver/pull/889.

Fixes: https://github.com/mozilla/geckodriver/issues/607

MozReview-Commit-ID: AY52pAK2582

--HG--
extra : rebase_source : f767ae09e5f415e6e944ececfb83c442f23407f3
2017-04-06 23:37:04 +01:00
Ricky Chien 9a679079d7 Bug 1350221 - Support for loading Chart in Launchpad r=Honza
MozReview-Commit-ID: 9VDJ03yXo3l

--HG--
extra : rebase_source : 51c1da13d711160ba3783ece8a81c4d15d73e2a1
2017-04-07 21:03:01 +08:00
Tom Klein 69608d9657 Bug 1350718 - 2. Remove the add animation for the TabsLayout list. r=maliu
Based on what I'm seeing, if you call scrollToPosition and that causes you to
"scroll into view" (remember, scrollToPosition doesn't actually scroll, it just
redraws the new position) one or more positions, then RecyclerView runs the add
animation on all those views "scrolled onto screen", which, for the list view's
slide-in-from-the-right add animation, looks silly (I think).  [Caveat:
RecyclerView sometimes keeps one offscreen view ready to go, which doesn't seem
to get the add animation.]

In non open-tab-from-another-app-with-the-tabs-tray-already-open operations this
was never an issue because either those animations are hidden by the panel being
animated into view when the panel opens and we scroll to the selected position
[at least that's my guess], or we only scroll by at most one, as in the case of
a tab close or undo close.  But in the
open-a-tab-and-scroll-to-it-while-the-tabs-tray-is-already-open case that we can
get with opening a tab from another app, the add animation runs for however many
tabs "need to be added" between the current position and the new tab; sometimes
the animation still gets hidden if the new tabs get added quickly enough when
fennec reloads [again, my guess], but on my device I always see the animations
if I open a tab in tab queue and then reopen Fennec by hand, whereas on an
emulator I see the animations in additional external-app-open cases as well.

MozReview-Commit-ID: J3x0bBLPNyz

--HG--
extra : rebase_source : 9ee77d395e452e50f958c6c096167704cbe37795
extra : source : f03ab10a14245f2cd8c71130cb677cb8bf1a31db
2017-03-30 23:16:19 -05:00
cku 21a1b43445 Bug 1352096 - Part 2. Remove Layer::mSourceURI. r=heycam
Now, remove Layer::mSourceURI, there are several benefit of doing this:
1. Reduce the size of nsStyleImage::Layer.
2. By storing style image and url information in nsStyleImage, we can remove
many verbose comments. That is becasue there is no need to explain why we use
mSourceURI here, or why we use nsStyleImage there anymore.
3. Since all inforamtion is stored in on place, nsStyleImage, we can setup image
request or URLs by one single Gecko_SetUrlImageValue call.

MozReview-Commit-ID: 7aTQobddTB1

--HG--
extra : rebase_source : 247e3b66c727a9116c58d3d6ff3ae0f7a58f2338
2017-03-31 01:50:21 +08:00
cku 0a71f961c5 Bug 1352096 - Part 1. Implement nsStyleImage::SetURL and GetURLValueData. r=heycam
This patch implements two things:
1. Add one extra type, nsStyleImageType::eStyleImageType_Url, and puts data of
this type in nsStyleImage::mUrlData.
2. Export SetURLValueData and GetURLValueData from nsStyleImage

With these chnages, we can simply use nsStyleImage::mUrlData to replace
Layer::mSourceURI in the next patch.

MozReview-Commit-ID: E20MEzXv8cg

--HG--
extra : rebase_source : 5461edacb28676e9d3a12068f330b5db7b9fe32c
2017-03-30 23:16:46 +08:00
Ganesh Chaitanya Kale dba46f6082 Bug 1343182 - Added updatePlaces's ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP

--HG--
extra : rebase_source : 8b5f591fb26416f71bbfbfd1c220b8c42bfa911b
2017-04-01 13:10:04 +05:30
Valentin Gosu bb752cebae Bug 1351443 - Only fall back to NewChannel if implementation of NewChannel2 is missing r=mcmanus
If the call to NewChannel2 returns NS_ERROR_NOT_IMPLEMENTED or NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED that means the implementation is actually missing, so it is OK to fall back to NewChannel.
If it fails with any other error code, we just return it.

MozReview-Commit-ID: JmgEmPqu6zJ

--HG--
rename : netwerk/test/unit/test_bug894586.js => netwerk/test/unit/test_1351443-missing-NewChannel2.js
extra : rebase_source : 5d41df330a15ad7b679d9bed52e6fbf90bdc4ed8
2017-04-07 15:25:19 +03:00
Tomislav Jovanovic 1e5500a298 Bug 1323036 - Preserve case of header names r=mixedpuppy
MozReview-Commit-ID: 2jDHOr2GI6T

--HG--
extra : rebase_source : 431c6a478382baf4188bb776dddc40daed0f9f2f
2017-04-06 01:08:11 +02:00
DimiL 755568bb81 Bug 1311935 - P4. GTest for safebrowsing v4 caching. r=francois
MozReview-Commit-ID: ExR5NJUvzNg

--HG--
extra : rebase_source : 5cbb47c9d5517617aa31bb0c3e1cbfce3f75e3fd
2017-04-07 14:31:04 +08:00
"unknown@unknown.com" 17b3832fc2 Bug 1311935 - P3. Implement safebrowsing v4 caching logic. r=francois
LookupCacheV4::Has implements safebrowsing v4 caching logic.
1. Check if fullhash match any prefix in local database:
  - If not, the URL is safe.
2. Check if prefix is in the cache(prefix is always the first 4-byte of
   the fullhash, Bug 1323953):
  - If not, send fullhash request
3. Check if fullhash is in the positive cache:
  - If fullhash is found and it is not expired, the URL is not safe.
  - If fullhash is found and it is expired, send fullhash request.
4. If fullhash is not found, check negative cache expired time:
  - If negative cache time is not expired, the URL is safe.
  - If negative cache time is expired, send fullhash request.

MozReview-Commit-ID: HFpqaOGOtUa

--HG--
extra : rebase_source : 726acb50489c4fa20c99fc8c4d96a3c8351655f5
2017-04-07 14:30:28 +08:00
dimi 9ef006afe3 Bug 1311935 - P2. Process fullHashes.find response. r=francois
This patch includes following changes:

1. nsUrlClassifierHashCompleter.js
   nsUrlClassifierHashCompleter.idl
   - Add completionV4 interface for hashCompleter to pass response data to
     DB service.
   - Process response data includes negative cache duration, matched full
     hashes and cache duration for each match. Full matches are passed through
     nsIFullHashMatch interface.
   - Change _requests.responses from array contains matched fullhashes to
     dictionary so that it can store additional information likes negative cache
     duration.
2. nsUrlClassifierDBService.cpp
   - Implement CompletionV4 interface, store response data to CacheResultV4
     object. Expired duration to expired time is handled here.
   - Add CacheResultToTableUpdate function to convert V2 & V4 cache result
     to TableUpdate object.
3. LookupCache.h
   - Extend CacheResult to CacheResultV2 and CacheResultV4 so we can store
     response data in CompletionV2 and CompletionV4.
4. HashStore.h
   - Add API and member variable in TableUpdateV4 to store response data.
     TableUpdate object is used by DB service to pass update data or gethash
     response to Classifier, so we need to extend TableUpdateV4 to be able
     to store fullHashes.find response.
6. Entry.h
   - Define the structure about how we cache fullHashes.find response.

MozReview-Commit-ID: 8pUJITn8c1n

--HG--
extra : rebase_source : efc1ef8e47cd5d0774a931f235e7e0bbdc56fedf
2017-04-07 16:56:08 +08:00