Commit Graph

542007 Commits

Author SHA1 Message Date
Sebastian Hengst
478026cce6 Backed out changeset 03e899794f41 (bug 1371037) for merge conflict with bug 1368386. r=backout 2017-06-17 22:10:05 +02:00
Ehsan Akhgari
47d81ff540 Bug 1373788 - Reset the cached blink rate when the caret stops blinking; r=mats
Otherwise the next time in ResetBlinking() we mistakenly think
we already have the blinking timer set.
2017-06-17 16:19:03 -04:00
Jeff Muizelaar
427de06487 Bug 1372685 - Make dummy target 1x1. r=lsalzman
Now that we don't playback our dummy target only needs to be 1x1 instead
of the recording size.  This saves time and memory.
2017-06-17 15:22:26 -04:00
Jan Beich
897f2d691d Bug 1341285 - Restore number of CPU cores detection on BSDs. r=jesup 2017-06-17 13:43:31 -04:00
Jan Beich
7bf7ce4954 Bug 1341285 - Sync sndio with WebRTC 57 and fix warnings. r=jesup 2017-06-17 13:43:11 -04:00
Ted Campbell
4fcefda78e Bug 1169746 - Handle JSOP_SPREADSUPERCALL correctly in ICCall_Native. r=sstangl
MozReview-Commit-ID: KEWS1s4Y9dL
2017-06-16 23:47:05 -04:00
Wes Kocher
b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher
39066d6984 Merge inbound to central, a=merge
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Mats Palmgren
e96c22d711 Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz
MozReview-Commit-ID: 7EUqrFMMe9c
2017-06-17 02:49:09 +02:00
Wes Kocher
4a2da759a0 Merge autoland to central, a=merge
MozReview-Commit-ID: LR57mp2gyvx
2017-06-16 17:15:02 -07:00
Jonathan Chan
58409ce69a servo: Merge #17284 - Propagate changes in custom properties' computed values to descendants (from jyc:custom-properties-cascade); r=emilio
If ComputedValues.custom_properties differs between the old and new
ComputedValues, indicate that we have to propogate changes to
descendants by setting child_cascade_requirement to
MustCascadeDescendants in cascade_primary.

style::matching::TElement::cascade_primary already calls
accumulate_damage, which eventually calls
ServoRestyleDamage::compute_style_difference in order to check if other
properties' computed values changed. If any of those change, we signal
that we need to propogate changes for inherited properties.

With Properties & Values, some custom properties will not be inherited,
and we will need to revisit this.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17283

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 81275234aa225d1011bad7eca126af800ff0d4fc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4bf31d42c75dfd84f06e4545bbac6df70739e356
2017-06-16 11:04:51 -07:00
ffxbld
b2d072aa58 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-06-16 08:37:44 -07:00
ffxbld
870c286510 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-06-16 08:37:41 -07:00
Andrew Osmond
ed880d0d06 Bug 1373667 - Only use sccache if enabled. r=ted 2017-06-16 10:34:09 -04:00
Jan de Mooij
6765978750 Bug 1372182 part 9 - Inline more functions. r=anba 2017-06-16 17:43:07 +02:00
Jan de Mooij
6dbbe103da Bug 1372182 part 8 - Optimize AddTypePropertyId. r=evilpie 2017-06-16 17:42:23 +02:00
Jan de Mooij
733406cbad Bug 1372182 part 7 - Inline some more functions. r=anba 2017-06-16 17:41:22 +02:00
Mats Palmgren
9d353fa50b Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.

MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Olli Pettay
19e0e34c6d Bug 1373651 - Ensure we don't report too large GC-during-idle values, r=mccr8
--HG--
extra : rebase_source : 597faa884e613f9580c9ae3283f6e54cb02dd46b
2017-06-16 17:45:15 +03:00
Ted Campbell
1bbd64432a Bug 1169746 - Support |super()| in Baseline. r=jandem
- Update BaselineIC for JSOP_SUPERCALL / JSOP_SPREADSUPERCALL
    - Support JSOP_SUPERFUN
    - Support JSOP_CHECKTHISREINIT

MozReview-Commit-ID: BlWsaUGeBqS
2017-06-16 10:43:17 -04:00
Ted Campbell
b07e3c22cf Bug 1169746 - Don't use templateObjects for derived constructor calls. r=jandem
MozReview-Commit-ID: D3QI7ryBmuW
2017-06-16 10:43:09 -04:00
Sebastian Hengst
a885319117 Bug 1372588 - Schedule devedition tests through Taskcluster: Add second blank line to make flake8 happy. r=flake8-fix 2017-06-16 16:20:29 +02:00
Sebastian Hengst
265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
Phil Ringnalda
8f1db3dfce Backed out 3 changesets (bug 1373154) for Windows devtools timeouts
Backed out changeset ca4e62117e6a (bug 1373154)
Backed out changeset 0e89b1564ea4 (bug 1373154)
Backed out changeset 48767f3f315f (bug 1373154)

MozReview-Commit-ID: 3DhUjEjXVmn
2017-06-15 21:22:57 -07:00
Phil Ringnalda
2eb8aebb84 Backed out changeset ac1520300fc7 (bug 1356474) for failures in browser_grids_grid-outline-cannot-show-outline.js
MozReview-Commit-ID: 78R9AGsRIY5
2017-06-15 20:29:40 -07:00
Bill McCloskey
0767e31489 Bug 1372736 - Avoid using AbstractThread for non-media MozPromises (r=bkelly)
MozReview-Commit-ID: BBi0pK4DXxf
2017-06-15 20:16:25 -07:00
Bill McCloskey
1158c7c282 Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Yoshi Huang
6c761bcc02 Bug 1368897 - rewrite dom/base/test/test_x-frame-options.html. r=smaug
We test the expected behavior base on the pref,
"security.data_uri.unique_opaque_origin".

We run the legacy test when the pref is off, however if the pref is on,
we run the new behavior, loading an iframe with X-FRAME-OPTIONS in a
data: URI should be blocked.
2017-06-16 10:54:10 +08:00
Yoshi Huang
68f70ea183 Bug 1368896 - rewrite dom/base/test/test_viewport_scroll.html. r=smaug 2017-06-16 10:53:04 +08:00
Yoshi Huang
7364f7009f Bug 1368893 - rewrite dom/html/test/test_iframe_sandbox_inheritance.html. r=smaug
Move the data URI in 'if_no_scripts' and 'if_scripts' to seperate files.

Also remove the test 'if_19', as it seems redundant, it tests the same
thing with the iframe 'if_scripts', and it also lacks of 'allow-scripts'
in its sandbox flag.
2017-06-16 10:52:25 +08:00
Yoshi Huang
8ddf2451de Bug 1267075 - Part 6: test state pseudo class for image blocking. r=bz
Verify when image is blocked, the style of the following state pseudo class will
apply:
:-moz-suppressed
:-moz-broken
:-moz-user-disabled
2017-06-16 10:12:10 +08:00
Yoshi Huang
0bb598eed9 Bug 1267075 - Part 5: test for blocking image. r=bz
A mochitest browser test for image blocking.
We query the blocking status by reading imageBlockingStatus.

See nsImageLoadingContent.cpp for the logic of blocking image.
In this test we verified the following behavior:
1. image is loaded.
2. image is blocked.
3. mCurrentRequest doesn't have size yet, so it should be replaced.
4. mCurrentRequest already got size, the following request should be a
pendingRequest.
2017-06-16 10:12:10 +08:00
Yoshi Huang
8af20dccc4 Bug 1267075 - Part 4: add a boolean to prevent calling asynchronously. r=bz
Use a boolean to prevent calling SetBlockedRequest asynchronously.
Also use the same boolean to prevent some evil code reenters LoadImage.

Then we should redesign the correct bahavior in those follow-up bugs,
Bug 1353685 - Should ServiceWorker call SetBlockedRequest
Bug 1353683 - consider calling SetBlockedRequest in nsCORSListenerProxy::UpdateChannel
Bug 1371237 - consider calling SetBlockedRequest in nsContentSecurityManager::CheckChannel
2017-06-16 10:12:09 +08:00
Yoshi Huang
0da35daccc Bug 1267075 - Part 3: cancel imgRequestProxy if asyncOpen2 failed. r=tnikkel
The problem is if we found a cache hit, then we could go through
ValidateRequestWithNewChannel to validate the cache.
Then if the CSP check fail(asyncOpen2() will fail), then the
imgRequestProxy will remain there, and cause the timeout.

I run into problem when running mochitest
browser/base/content/test/general/browser_aboutHome.js in non-e10s mode.
In the beginning, browser.xul will load defaultFavicon.png, will create
an image cache there.
Next time when the test starts to run, when it loads about:home, then it
will try to load defaultFavicon.png, it will found an image cache hit
(loaded previously by browser.xul), and call
ValidateRequestWithNewChannel there, however the asyncOpen2 call failed,
and the imgRequestProxy is added to the loadGroup of about:home, and
never be notified until timeout.
2017-06-16 10:12:09 +08:00
Yoshi Huang
83ef929df9 Bug 1267075 - Part 2: bail out early if it's for data document. r=bz
Check the document earlier before calling into imageLoader, this could
save us tons of time if in the end the document isn't allowed to load images.
2017-06-16 10:12:09 +08:00
Yoshi Huang
5dcdd16255 Bug 1267075 - Part 1: call SetBlockedRequest when CSP check failed. r=bz
As a follow-up from bug 1206961, we will remove calling CanLoadImage in
this bug. Also in the case of CSP check failed, we will call
SetBlockedRequest in those cases.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1267075#c30 for the
analysis between the old and new setup.
2017-06-16 10:12:08 +08:00
Kirk Steuber
25f3dbc5bc Bug 1357645 - Clone attributes rather than reparsing when possible r=bz
Now that the side effects of parsing have been relocated to BeforeSetAttr and AfterSetAttr (Bug 1365092), we can easily switch nsGenericHTMLElement::CopyInnerTo from reparsing attributes to cloning them. They are still reparsed, however, in the case where the owning document is changing since Base URIs may have changed.

MozReview-Commit-ID: 2TlUUyBx6bL

--HG--
extra : rebase_source : b581e797a24230d012cf79c1fc567c05d9acc746
2017-06-15 09:56:18 -07:00
James Graham
981d317f0f Bug 1373709 - Don't infinite loop when a test expects to crash, r=ato
In order to avoid the leak checker complaining about missing output,
we restart the browser before running tests that are expected to
crash. But as part of that restart we end up checking again if a
restart is required and so end up in an infinite loop. To break out of
that loop we simply check if this is the same test as during the last
iteration, and don't ask to restart in that case.

MozReview-Commit-ID: 90gsmqVCRsD

--HG--
extra : rebase_source : 9cf625e9cd1861b25b72e5c39ce070981b84046e
2017-06-16 16:34:44 +01:00
Sebastian Hengst
1a8b5f9bbd Backed out changeset 0cf7134d243a (bug 1095426) for frequently failing xpcshell's test_bookmark_engine.js | test_sync_dateAdded, especially on OS X. r=backout 2017-06-16 19:12:58 +02:00
Sebastian Hengst
7ca69ab78f Backed out changeset 4c465fe2d7c9 (bug 1095426) 2017-06-16 19:12:18 +02:00
UK992
57a332bfa6 servo: Merge #16395 - Bootstrap: Fix cmake version parsing (from UK992:msvc2017); r=metajack
Fixes https://github.com/servo/servo/issues/16387

Source-Repo: https://github.com/servo/servo
Source-Revision: ffdb27ae3380e6271a01279cb3ba35df6b6c8da9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2202d927251ba1fe1b24974fd5fc4904bf2e95aa
2017-06-16 09:00:43 -07:00
Nils Ohlmeier [:drno]
6cdb6b786c Bug 1373450: report if MaxMessageSize was set in SDP. r=jesup
MozReview-Commit-ID: OqspJsw1Bw

--HG--
extra : rebase_source : ff9c5883e6d9f284c7f0771f937d48f48910b508
2017-06-15 16:12:25 -07:00
Gabriele Svelto
4289f3ebf7 Bug 1294025 - Ensure the test waits long enough for the success condition to be fullfilled; r=bsmedberg
MozReview-Commit-ID: 8ZerlrOgZa7

--HG--
extra : source : 6dba821aaf0469d142c6f91d4c90983aa08c237c
2017-06-15 15:16:12 +02:00
Gijs Kruitbosch
9a80ff00c4 Bug 1354534 - add pocket item to photon library panel, r=mixedpuppy
MozReview-Commit-ID: BEgyelipo0j

--HG--
extra : amend_source : 9333c8c4c2af80ab15609132acc92e598f5a6557
2017-06-16 23:16:29 +01:00
Mats Palmgren
ea75194536 Bug 1372031 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 2ZG2qX3dyGa
2017-06-17 00:06:04 +02:00
Mats Palmgren
f4bd97507a Bug 1372029 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 7p0ZFLVGFEY
2017-06-17 00:06:04 +02:00
Mats Palmgren
5ef66d5e7d Bug 1371958 part 2 - Move a mPaintedLayerItems.GetEntry() call into the else-branch where its result is actually used to avoid an unnecessary hashtable lookup when we don't take the else-branch. r=froydnj
MozReview-Commit-ID: sOwNzB8mxj
2017-06-17 00:06:04 +02:00
Mats Palmgren
f8f1a23dc1 Bug 1371958 part 1 - Use EnsureRemoved instead of Contains+RemoveEntry to avoid an unnecessary hashtable lookup. r=froydnj
MozReview-Commit-ID: 6SPQrQCLBjF
2017-06-17 00:06:04 +02:00
Mats Palmgren
7648c5aafb Bug 1371956 - Use mApproximatelyVisibleFrames.EnsureInserted/EnsureRemoved to avoid doing unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 87A0v0APtFs
2017-06-17 00:06:04 +02:00
Mats Palmgren
41a0eaaaa9 Bug 1372009 - Use aCommandsHandled.EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 4ukgy6mBsKq
2017-06-17 00:06:04 +02:00