Commit Graph

602671 Commits

Author SHA1 Message Date
Valentin Gosu
2c7b0b5f89 Bug 1471280 - Use nsThreadPool for DNS resolver threads r=bagder
Instead of creating and deleteing each thread, we use a nsThreadPool with a max of 8 resolver threads.
Whereas before each thread would run ThreadFunc exactly once then shut down, the threads may now remain active for a while. During this time we may post another task(runnable) to the thread.

MozReview-Commit-ID: FiE370ic1ah

--HG--
extra : rebase_source : 065bbf1f9867dfb38ac7b13816d4d06824d3a05d
2018-07-04 20:36:58 +02:00
Andreea Pavel
2ebf16b514 Backed out changeset 530f89f70093 (bug 1472199) for build bustages on a CLOSED TREE 2018-07-05 11:55:11 +03:00
Razvan Caliman
3ec682d724 Bug 1473496 - Font editor: replace string IDs for localizable strings that changed value. r=flod
MozReview-Commit-ID: H9bQuOsoZkP

--HG--
extra : rebase_source : 87a6558f72fdaf388a18c78bb8edb74188b11db8
2018-07-05 10:38:48 +02:00
Dave Hunt
4d72fb0ad1 Bug 1472199 - Set the root directory for Python unit tests to topsrcdir; r=ahal
MozReview-Commit-ID: 4k4CTwzAbli

--HG--
extra : rebase_source : 688f4af6029254f986e406383c1bcd5cc6217172
2018-07-02 11:22:37 +01:00
Andreea Pavel
edb6aafdea Backed out 2 changesets (bug 1471838) for failing css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-border-radius-005.html
Backed out changeset b21c5080232a (bug 1471838)
Backed out changeset 5e99a3c65b2f (bug 1471838)
2018-07-05 10:44:45 +03:00
Daniel Stenberg
dd6df388fc bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2

--HG--
extra : rebase_source : ac604fda9610997cde5aa2993ca15319e6213e89
2018-07-02 13:50:21 +02:00
Emilio Cobos Álvarez
8a187042bc Bug 1473225 - Update another entry in shape-margin-003.html.ini. r=me CLOSED TREE
MozReview-Commit-ID: DsSM6qSENEq
2018-07-05 05:48:25 +02:00
Emilio Cobos Álvarez
e87afd528c Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-05 05:46:56 +02:00
Emilio Cobos Álvarez
07ead1fbee Bug 1471838: Turn layout.css.offset-logical-properties.enabled off by default. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1857

--HG--
extra : moz-landing-system : lando
2018-06-28 10:35:13 +00:00
Emilio Cobos Álvarez
38ff952014 Bug 1473225 - Serialize a few more lengths with Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1934

--HG--
extra : moz-landing-system : lando
2018-07-04 06:42:38 +00:00
Hiroyuki Ikezoe
8015da3cef Bug 1472654 - Drop SchedulePaint call in AddAnimationsForProperty. r=birtles
This call was added in bug 929362, but the key factor to fix the bug was just
setting a flag representing that the target frame doesn't allow the animation
running on the compositor and checking the flag in the function whether the
animation can be run on the compositor or not in later ticks.  So the call
wasn't necessary in the first place.

The test case here fails without this fix.  The test case actually doesn't
observe animation restyle count at all, so it might look a bit awkward in
file_restyles.html, if we add other test cases checking SchedulePaint calls
in future, we will move the tests in a different file.
(The reason there is no animation restyles in this case is that we properly
 throttle the animation in this case.)

MozReview-Commit-ID: AyHciRJHM0s

--HG--
extra : rebase_source : f3963336ea9165b0a9c1a662bdac5c645b209219
2018-07-05 07:18:45 +09:00
Coroiu Cristina
85d1eae068 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
Coroiu Cristina
a4fb127451 Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Dorel Luca
88782acd58 Backed out changeset 01837d6c41b6 (bug 1372458) for Reftest failures on layout/reftests/svg/filters-and-group-opacity-01.svg 2018-07-05 03:01:56 +03:00
Coroiu Cristina
b204063b4b Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Drew Willcoxon
b6ae98cf37 Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj

--HG--
extra : rebase_source : e95bf70b9de576fe464d21f17aa0eeb27decb60b
2018-07-04 14:01:28 -07:00
Coroiu Cristina
caf49f9745 Backed out changeset a21149d9d236 (bug 1465953) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js
--HG--
extra : rebase_source : 7ae744bf8fb568992e63fb5a15d1a64d69a3cb8e
2018-07-04 23:48:08 +03:00
Kris Maglione
5540b0b58f Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : rebase_source : 1152d01ba7456d06a6f66ac65ceba2ef85e4747d
2018-07-04 12:43:21 -07:00
Arnaud Bienner
6de8cbcb2b Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt
MozReview-Commit-ID: 9SJRZ2keJpb

--HG--
extra : rebase_source : f71d4be51e06f44cad6d8efb9ecde63a2d1dc7b7
2018-07-03 16:58:16 +02:00
Kris Maglione
0b96fa7467 Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.

Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.

MozReview-Commit-ID: 19f0ggAda2J

--HG--
extra : rebase_source : 38077a14122d201d11079330565d82f6f963b428
2018-06-30 15:55:18 -07:00
Gabriel Luong
d57137608c Bug 1456681 - Toggle the flexbox highlighter from the markup display badges. r=pbro 2018-07-04 16:20:29 -04:00
Matthew Gaudet
0b9e22cd4e Bug 1455770: Collapse AliasAnalysis into AliasAnalysisShared r=jandem 2018-07-03 16:08:30 -04:00
Kanika Saini
a79aa16a78 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30
Paolo Amadini
b4b62f90c9 Bug 1472153 - Load the "tabbrowser.css" content stylesheet right after "browser.css". r=dao
MozReview-Commit-ID: 7IHOn7rfych

--HG--
extra : rebase_source : 79f78a37ab7366d041ef6b2e770786378bcf978f
extra : intermediate-source : c25115854b1586761a553dc522eba3938066c974
extra : source : 839c17021ae03dd14eef2dfa10b9208250f5cfff
2018-07-02 08:52:17 +01:00
Paolo Amadini
bf4924de4a Bug 1421433 - Load the "global.css" and "browser.css" skin stylesheets earlier. r=dao
MozReview-Commit-ID: JbEHlM9XpFs

--HG--
extra : rebase_source : 4804ce5fec16b5e03aa4663f0e1462dd43305ab3
extra : intermediate-source : 1efb74e05dc52cfb62b94c6acc7610feba843e8d
extra : source : 4503f56bf96f55eb665b27df95b7d5108a9f96dc
2018-07-02 08:51:05 +01:00
Olli Pettay
34620de771 bug 1472427, <img usemap> should work in shadow DOM, r=baku 2018-07-04 20:26:09 +03:00
Matthew Gaudet
c15c5925f7 Bug 1472233: Ensure registers are saved at prepareVMCall site r=jandem
Take AutoSaveLiveRegisters as an argument, and use that to ensure the registers were saved

--HG--
extra : rebase_source : bb54592bd009afc67aaa0ca9c705ab28f4a45d44
2018-07-03 11:00:18 -04:00
Matthew Gaudet
d1e94adfd7 Bug 1472233: Add missed register save for Ion emitCompareStringResult r=jandem
--HG--
extra : rebase_source : 791a93a6d5800c43a7d2f980fe29d9a4f4958683
extra : source : 94543110b6eddf5d23b6d4ba51821a4894243f32
2018-06-29 11:56:01 -04:00
moz-wptsync-bot
dd2ad0cf72 Bug 1472741 - [wpt-sync] Update web-platform-tests to 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad, a=testonly
wpt-head: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-type: landing
MozReview-Commit-ID: 4skvwpLpHzT
2018-07-04 18:15:10 +01:00
Luke Bjerring
57562145b4 Bug 1467968 [wpt PR 11445] - Clean up budget-api idl test, a=testonly
Automatic update from web-platform-testsClean up budget-api idl test (#11445)

Follow up for #9763 now that #10338 is resolved and we have #10381 too.
--

wpt-commits: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-pr: 11445
2018-07-04 18:15:09 +01:00
moz-wptsync-bot
3a13d7c412 Bug 1467739 [wpt PR 11402] - Update wpt metadata, a=testonly
wpt-pr: 11402
wpt-type: metadata
2018-07-04 18:15:05 +01:00
Anne van Kesteren
e6406d0fb1 Bug 1467739 [wpt PR 11402] - HTML: add more document.domain tests, a=testonly
Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For https://github.com/whatwg/html/pull/3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402
2018-07-04 18:15:04 +01:00
Luke Bjerring
b52a0c93fe Bug 1466696 [wpt PR 11333] - Update the IDL generated content headers to the content from reffy-reports, a=testonly
Automatic update from web-platform-testsUpdate the IDL generated content headers to the content from reffy-reports (#11333)

--

wpt-commits: cdf41ff70d042eb78f461aeb44a5ad383964dbd3
wpt-pr: 11333
2018-07-04 18:15:00 +01:00
moz-wptsync-bot
09b6e30361 Bug 1468157 [wpt PR 11417] - Update wpt metadata, a=testonly
wpt-pr: 11417
wpt-type: metadata
2018-07-04 18:14:56 +01:00
Morten Stenshorne
e3e64b1e52 Bug 1468157 [wpt PR 11417] - [LayoutNG] Orthogonal flows need available inline size for min/max calculation., a=testonly
Automatic update from web-platform-tests[LayoutNG] Orthogonal flows need available inline size for min/max calculation.

Provide a suitable constraint space when calculating min/max inline
sizes for an orthogonal flow root. ComputeMinMaxSize() in NGBlockNode
typically ended up creating its zero-sized constraint space, which would
typically result in large block sizes (since there'd e.g. only be space
for one word per line).

Set percentage resolution size too, instead of leaving it at 0x0.
Percentages are often unresolvable (i.e. indefinite), in which case we
should of course refrain from resolving them, rather than resolving the
percentage against zero (which we used to do).

Add a DCHECK that we're always provided with a constraint space when
calculating min/max for orthogonal flows, as using the zero-size one
will not produce the correct result.

Bug: 848225
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: Ic0aac380b2b733d3a55b25396c89584e4468899d
Reviewed-on: https://chromium-review.googlesource.com/1090845
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565446}

--

wpt-commits: ce22baff58c81ab98f3cbd2ac390e51e755fd9f9
wpt-pr: 11417
2018-07-04 18:14:55 +01:00
moz-wptsync-bot
2dc8cd7b45 Bug 1466123 [wpt PR 11301] - Update wpt metadata, a=testonly
wpt-pr: 11301
wpt-type: metadata
2018-07-04 18:14:51 +01:00
Henrik Boström
74450c2c52 Bug 1466123 [wpt PR 11301] - Improve RTCPeerConnection-setRemoteDescription-tracks.https.html tests., a=testonly
Automatic update from web-platform-testsImprove RTCPeerConnection-setRemoteDescription-tracks.https.html tests.

Using async functions and promise_tests instead of then()-chains and
async_tests. This makes them more readable, easier to maintain and
shorter.

Replaced RTCPeerConnection-helper.js function performOffer() with
exchangeOffer()/exchangeAnswer()/exchangeOfferAnswer().

Updated tests that were performing multiple offers to perform a full
offer/answer exchange whenever there were future offers to be made.
Previously it would perform half of an offer/answer cycle before
starting the next offer/answer, which under Unified Plan could lead to
some unexpected failures.

TBR=guidou@chromium.org

Bug: 777617
Change-Id: Ib0305d55af5aef7f49b5418d4ba44ded9c84d5c6
Reviewed-on: https://chromium-review.googlesource.com/1082434
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565234}

--

wpt-commits: fb908f941185aff41514383293f029e21937a87d
wpt-pr: 11301
2018-07-04 18:14:49 +01:00
Zirro
bb91953c0e Bug 1467989 [wpt PR 11449] - Add selector tests, a=testonly
Automatic update from web-platform-testsAdd selector tests

* Test invalid pseudo-class starting with a valid one
* Test selector in :not() surrounded by spaces
* Test :nth-child used twice in selector
--

wpt-commits: 2436290affb197955acf8aa0115897ce5205dcc4
wpt-pr: 11449
2018-07-04 18:14:45 +01:00
moz-wptsync-bot
4930058bc5 Bug 1468041 [wpt PR 11451] - Update wpt metadata, a=testonly
wpt-pr: 11451
wpt-type: metadata
2018-07-04 18:14:42 +01:00
L. David Baron
55941e66f2 Bug 1468041 [wpt PR 11451] - Sync Mozilla tests as of 2018-06-09, #2, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/874dedd55599e4b87fe37a497a968c079f1cca69 . (#11451)

--

wpt-commits: 9d009fc59a8f99e0117b841b7f49094cc690964c
wpt-pr: 11451
2018-07-04 18:14:40 +01:00
L. David Baron
f6e30f668e Bug 1468031 [wpt PR 11450] - Sync Mozilla tests as of 2018-06-09, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/062e1553dc91da5b7c58dbaa0b5348b2be0f91f2 . (#11450)

--

wpt-commits: 639812b9fdc7a95d3066ed098d4650be0c4e1a3a
wpt-pr: 11450
2018-07-04 18:14:36 +01:00
Luke Bjerring
fea3de81fe Bug 1472741 [wpt PR 9851] - Update the webdriver IDL file, a=testonly
Automatic update from web-platform-testswebdriver: update the webdriver WebIDL and fix test (#9851)

--

wpt-commits: 418538eb1cce3ecd931285db697736aa2066d05c
wpt-pr: 9851
2018-07-04 18:14:32 +01:00
moz-wptsync-bot
ed8a88de1c Bug 1467965 [wpt PR 11442] - Update wpt metadata, a=testonly
wpt-pr: 11442
wpt-type: metadata
2018-07-04 18:14:28 +01:00
Luke Bjerring
6590852878 Bug 1467965 [wpt PR 11442] - [idlharness.js] Clean up media-capabilities idl test, a=testonly
Automatic update from web-platform-tests[idlharness.js] Clean up media-capabilities idl test

Follow up for #11255 which was unable to use add_dependency_idls because of #10338.
--

wpt-commits: c243b3c545f592a1635c770575dc6e20593ee392
wpt-pr: 11442
2018-07-04 18:14:26 +01:00
Luke Bjerring
53080fbe80 Bug 1467967 [wpt PR 11444] - Clean up mediasession idl test, a=testonly
Automatic update from web-platform-testsClean up mediasession idl test

--

wpt-commits: 88e6a3580ec114b52e29f3a7d836d7a8ce67139b
wpt-pr: 11444
2018-07-04 18:14:23 +01:00
moz-wptsync-bot
5510ec2fbf Bug 1467958 [wpt PR 11440] - Update wpt metadata, a=testonly
wpt-pr: 11440
wpt-type: metadata
2018-07-04 18:14:19 +01:00
Joe Downing
cd82c5c846 Bug 1467958 [wpt PR 11440] - [KeyboardMap] Blink module now handles iFrames and multiple calls, a=testonly
Automatic update from web-platform-tests[KeyboardMap] Blink module now handles iFrames and multiple calls

This CL adds the following:
- KeyboardMap now requires the caller to be a top-level, secure
  browsing context
- Multiple calls to getKeyboardLayout() will now be given the same
  promise instead of it being timing dependent (the initial promise
  might get overwritten with the old logic)
- Sequential calls to getKeyboardLayout() still get their own promise
- All promise rejections will return a DOM exception (similar to
  KeyboardLock)
- I've cleaned up KeyboardLock a bit as well so it has similar
  logic/formatting to what I added to KeyboardMap
- Added several tests to KeyboardMap and fixed some failing cases

BUG=832811

Change-Id: I4a03f68c239cff42b8840e9513257384038f04b4
Reviewed-on: https://chromium-review.googlesource.com/1093474
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565833}

--

wpt-commits: 4565dc5875f3841b0884bdfd8ad6b9ad6f4a5944
wpt-pr: 11440
2018-07-04 18:14:18 +01:00
Anne van Kesteren
bb210fe7ff Bug 1467953 [wpt PR 11438] - URL: correct non-special URL's origin, a=testonly
Automatic update from web-platform-testsURL: correct non-special URL's origin

Fixup for 0e084a927078d434bcc1952a2ab99fb541f2c25d.

--

wpt-commits: 9b7f4414f226443ec95f823a92d1c33c8e0c67bb
wpt-pr: 11438
2018-07-04 18:14:13 +01:00
David H
df21731368 Bug 1467952 [wpt PR 11415] - Added tests for InputFile directly, a=testonly
Automatic update from web-platform-testsCreated a test file to directly test the InputFile class in test_request.py, bypassing the server. Found and fixed a bug where passing a file larger than the buffer in InputFile caused the server to crash. Found and fixed a bug where seeking to a position before the current position and calling read() immediately after falsely tried to assert the positions of _buf_pos and _file_pos. Added tests for these bugs. (#11415)

--

wpt-commits: 99eb0f68f85f4d3c44d5c0d80021ed305e2f3613
wpt-pr: 11415
2018-07-04 18:14:10 +01:00
Matt Falkenhagen
9b04a70d2b Bug 1467905 [wpt PR 11434] - service worker: Add long timeout to registration-updateviacache.https.html., a=testonly
Automatic update from web-platform-testsservice worker: Add long timeout to registration-updateviacache.https.html.

The test is slow because it does a lot of registrations and updates.

Bug: 850842
Change-Id: I5782e4e426e571a604929da7369c8474ffda88e5
TBR: robertma
Reviewed-on: https://chromium-review.googlesource.com/1092958
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565641}

--

wpt-commits: 7bc2ca900c7f5d19040c5a1169d1257cb947459e
wpt-pr: 11434
2018-07-04 18:14:08 +01:00