Commit Graph

548122 Commits

Author SHA1 Message Date
Wes Kocher
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Wes Kocher
929fc0517f Merge autoland to central, a=merge CLOSED TREE
MozReview-Commit-ID: 9Mb2j6pdqEb
2017-07-21 17:51:01 -07:00
Ehsan Akhgari
241ed8ff38 Bug 1383245 - Prevent repeatedly computing the hash of a NodeInfoInner object; r=smaug
In practice we never modify the name and atom after setting
them, so we make them const here, and compute the hash once
if needed lazily.
2017-07-21 19:39:53 -04:00
Wes Kocher
e4f2d0a9db Backed out changeset cd615bff6069 (bug 1375119) for android mochitest failures in test_webaudioNotification.html a=backout
MozReview-Commit-ID: 4XQnvJ9Qr7R
2017-07-21 15:21:32 -07:00
Ted Campbell
d7d599bf4a Bug 1383206 - Fix format string for in GC slice statistics. r=sfink
MozReview-Commit-ID: 7eLrYNtb4jv

--HG--
extra : rebase_source : da1e37628a8056f16a025443869792dc9f217e83
2017-07-21 14:46:47 -04:00
Gregory Szorc
f5cf99793e Bug 1382839 - Fix typo in preprocessor directive; r=me
s/define/defined/

This fixes 70e1925b92ae.
2017-07-21 19:12:39 -07:00
Emilio Cobos Álvarez
aab6e95efc servo: Merge #17819 - stylo: Set the NS_STYLE_IS_TEXT_COMBINED flag (from emilio:text-combined); r=xidorn
This should fix at least
layout/reftests/writing-mode/1135361-ruby-justify-1.html

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f17c60072db3c413e4f9522bddf98fd97878547d
2017-07-21 17:30:05 -07:00
Manish Goregaokar
a84e2fe88c servo: Merge #17822 - Remove last vestiges of stylearc (from Manishearth:die-stylearc-die); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: 9b276565f82e5924a87e713a728daf63a357f3ba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3cc426a7bdfa9b57f5a59d7c2d9deeb913c6e80
2017-07-21 15:47:54 -07:00
Alan Jeffrey
75d58c8855 servo: Merge #17634 - Implement drawing an image from a CSS style value into a canvas (from asajeffrey:canvas-image-css-style-value); r=jdm
<!-- Please describe your changes on the following line: -->

Implemented drawing a CSS style value into a canvas, which is needed for the Houdini CSS Paint API.

This PR is dependent on #17364.

---
<!-- 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 #17432.
- [X] These changes do not require tests because the existing CSS paint API wpt test cases test this behaviour.

<!-- 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: 76ad913870cec3f01731d324967ed191fd5c6be3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9cbcb16f1b30c5fb25c0dc7d291c6c78638fcc5f
2017-07-21 14:39:47 -07:00
ffxbld
fe79f566df No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-07-21 09:18:15 -07:00
ffxbld
9681568945 No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-07-21 09:18:11 -07:00
Ryan VanderMeulen
f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
James Graham
19a854f8bc Bug 1381842 - follwup: Fix wpt manifest file, r=bustage-fix a=bustage-fix
CLOSED TREE

MozReview-Commit-ID: 8k58hsVAVec
2017-07-21 13:54:01 +01:00
Patrick Brosset
82f75e4a1a Bug 1378859 - Use an ES class instead of an SDK class in the inspector front; r=gl
MozReview-Commit-ID: 8lSSBTXsUqa
2017-07-21 14:14:48 +02:00
sotaro
02d4ae4add Bug 1382948 - Fix WebRenderBridgeParent::FlushTransactionIdsForEpoch() r=nical 2017-07-24 21:20:22 +09:00
Shawn Huang
0b92bb9770 Bug 1346767 - Part 2: Make sure xhr.upload event listeners will be ignored if listeners are registered after send(), r=baku 2017-07-24 19:52:22 +08:00
Shawn Huang
2a00310982 Bug 1346767 - Part 1: Check mFlagHadUploadListenersOnSend before sending progress event, r=baku
Based on XHR spec 6.1, if one or more event listeners are registered on the
associated XMLHttpRequestUpload object, then set upload listener flag.
Therefore, if any event listeners are added after send(), ignore them.
2017-07-24 19:52:16 +08:00
Sebastian Hengst
cc77ff3d3e Backed out changeset 5350f45b9724 (bug 1366671) on request from flod. r=backout a=backout
MozReview-Commit-ID: 7PXCgF8Vcer

--HG--
rename : mobile/android/app/src/australis/res/drawable-hdpi/tip_addsearch.png => mobile/android/app/src/main/res/drawable-hdpi/tip_addsearch.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/tip_addsearch.png => mobile/android/app/src/main/res/drawable-xhdpi/tip_addsearch.png
rename : mobile/android/app/src/australis/res/layout/preference_search_tip.xml => mobile/android/app/src/main/res/layout/preference_search_tip.xml
rename : mobile/android/app/src/australis/res/layout/private_tabs_panel.xml => mobile/android/app/src/main/res/layout/private_tabs_panel.xml
2017-07-21 12:58:05 +02:00
Sebastian Hengst
4e2a73faa5 Backed out changeset 2edde0aaa0f6 (bug 1366671)
MozReview-Commit-ID: 4KukvTjyPya
2017-07-21 12:57:37 +02:00
Sebastian Hengst
367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Honza Bambas
0fbf49856d Bug 1381702 - Bypass cache when (Ctrl-)F5 refreshing a page that reloads because of charset definition late in the markup. r=bz
This adds two new load types: LOAD_RELOAD_CHARSET_CHANGE_BYPASS_PROXY_AND_CACHE, LOAD_RELOAD_CHARSET_CHANGE_BYPASS_CACHE which are used when charset reaload is invoked and the original load was a cache-bypassing load.
2017-07-21 06:15:00 -04:00
Brian Grinstead
b05c674ceb Bug 1380499 - Prevent horizontal scrollbar from appearing in the console after vertical overflow. r=nchevobbe
MozReview-Commit-ID: zU3uHLLmef

--HG--
extra : rebase_source : 2f5ff292ca1308730203bd10b3475bdcb17c769c
extra : histedit_source : b657e2a41b4b130d2c2412c5090656dcdc5b9e13
2017-07-22 07:58:42 -07:00
Kartikaya Gupta
565bb8ca40 Bug 1382215. r=botond 2017-07-22 14:52:49 -04:00
Tristan Bourvon
05742206d8 Bug 1383002 - Fix UAF in nsMIMEHeaderParamImpl::DecodeRFC5987Param. r=mcmanus
MozReview-Commit-ID: 2tk9WwUCpsw
2017-07-21 15:23:38 +02:00
Jan de Mooij
6cc7401337 Bug 1382973 part 8 - Remove BytecodeAnalysis from IonBuilder and ControlFlowGenerator. r=nbp 2017-07-22 14:31:45 +02:00
Jan de Mooij
a756f3250a Bug 1382973 part 7 - Change BytecodeAnalysis to mark code after try-catch as reachable to simplify Ion code. r=nbp 2017-07-22 14:31:13 +02:00
Jan de Mooij
15ec672035 Bug 1382973 part 6 - Remove BytecodeAnalysis::hasTryFinally(). r=nbp 2017-07-22 14:24:29 +02:00
Jan de Mooij
43ea58d683 Bug 1382973 part 5 - Remove BytecodeAnalysis::hasSetArg(). r=nbp 2017-07-22 14:24:05 +02:00
Jan de Mooij
5e7ebbbe5b Bug 1382973 part 4 - Cache the BytecodeAnalysis usesEnvironmentChain flag on the BaselineScript. r=nbp 2017-07-22 14:23:30 +02:00
Jan de Mooij
5bb4de30f5 Bug 1382973 part 3 - Add IonBuilder::usesEnvironmentChain() helper function. r=nbp 2017-07-22 14:22:55 +02:00
Jan de Mooij
fcbb532c3e Bug 1382973 part 2 - Eliminate some BytecodeAnalysis::maybeInfo checks in IonBuilder. r=nbp 2017-07-22 14:21:52 +02:00
Jan de Mooij
e2a6ce0202 Bug 1382973 part 1 - Don't use BytecodeAnalysis to compute stack depths in Ion. r=nbp 2017-07-22 14:21:25 +02:00
Andrew Osmond
1c78f9203b Bug 1315554 - Part 10b. Force CMS output profile to be sRGB for gtests. r=me
Thus far gtests have only tested fairly simple images which already
render the same on all platforms (e.g. solid green 100x100 square).
If we want to test more complicated images consistently across
platforms, we need to ensure the color adjustments we perform are
also consistent. Using the pref gfx.color_management.force_srgb to
force an sRGB CMS profile makes us consistent with the reftests and
mochitests.

However an additional quirk of the gtests is that we own the main
thread and we never check our event queue to see if anything is
pending. Depending on the initialization order of our graphics
dependencies, it may or may not have created pending runnables to
process the pref change. As such, we need to change the pref,
initialize imagelib/gfx and then check for, and if present execute,
any necessary runnables. Only then can we be sure that our desired
CMS profile is applied.
2017-07-22 07:50:32 -04:00
Andrew Osmond
3155630a3f Bug 1315554 - Part 10a. Add large embedded PNG/BMP ICO tests. r=me 2017-07-22 07:50:32 -04:00
Andrew Osmond
cd5abe3e4e Bug 1315554 - Part 9. Get the ICO size from the resource instead of the dir entry if unspecified. r=tnikkel 2017-07-22 07:50:32 -04:00
Andrew Osmond
d400495cf1 Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel 2017-07-22 07:50:32 -04:00
Andrew Osmond
99d43905e2 Bug 1315554 - Part 7. Remove unnecessary buffering of BMP header in ICO decoder. r=tnikkel 2017-07-22 07:50:32 -04:00
Andrew Osmond
a162fde8c7 Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
6d97dbaa41 Bug 1315554 - Part 5. Add method to clone a SourceBufferIterator when decoding. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
35f9b857b0 Bug 1315554 - Part 4. Combine nsICODecoder::ReadBMP and ::ReadPNG. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
93efb56fbf Bug 1315554 - Part 3. Expose Decoder::IsValidICOResource for all decoders. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
e5537d8caf Bug 1315554 - Part 2. The BMP decoder should be responsible for adjusting its size when embedded inside an ICO. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
ac14e4f8f5 Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel 2017-07-22 07:50:31 -04:00
Sebastian Hengst
6319821925 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-22 13:14:27 +02:00
Shu-yu Guo
32c821d11e Bug 1377016 - Take both with-wrapped and unwrapped enclosing environments when getting non-syntactic lexical environments. (r=jorendorff) 2017-07-22 12:45:26 +02:00
Sebastian Hengst
943e69c7fa merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-22 12:43:58 +02:00
Bob Owen
847e4be624 Bug 1364137: Get both 32-bit and 64-bit registry values when searching for the Windows SDK. r=glandium
The values that we need to find in the registry can be inconsistent across
different installations, so we retrieve values from both views in our search
for a valid SDK. This also ensures this works for 32-bit and 64-bit python.
2017-07-22 11:32:24 +01:00
Sebastian Hengst
a5b5831097 Backed out changeset da7ad37975f1 (bug 1377016) on suspicion of frequently asserting at dom/script/ScriptLoader.cpp:649 during wpt instantiation-error-2.html. r=backout 2017-07-22 11:08:53 +02:00
Sebastian Hengst
cc27374338 Backed out changeset fd310390a64a (bug 1315554) for failing GTest's ImageDecoders.LargeICOWithPNGSingleChunk on OS X opt. r=backout 2017-07-22 11:05:35 +02:00
Sebastian Hengst
b33e39c76b Backed out changeset e1eec63b920f (bug 1315554) 2017-07-22 11:04:22 +02:00