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

572125 Коммитов

Автор SHA1 Сообщение Дата
ddh 247165dd5b servo: Merge #19307 - change parse_own_css to queue event not fire synchronously (from avadacatavra:domrefcellpanic); r=jdm
<!-- Please describe your changes on the following line: -->
fixes a panic and aligns with spec

I've also added checks around each mutable borrow of the tokenizer to see if we can catch any other panics

---
<!-- 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 #18930 (github issue number if applicable).

<!-- Either: -->
- [ ] 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: 712d75af01e02fe9689d18d7a94c89318e39f52b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66a16b12a0302d6a108f7b6345a0554794c0f8de
2017-12-01 11:41:47 -06:00
Emilio Cobos Álvarez bde5c06616 servo: Merge #19446 - style: Make -moz-border-colors chrome only (from emilio:bye-moz-border-colors); r=xidorn
This also makes the `border` shorthand not reset them.

Bug: 1417200
Reviewed-by: xidorn
MozReview-Commit-ID: KNais1e5FnE
Source-Repo: https://github.com/servo/servo
Source-Revision: af8d53372f1cb7364b07f48bbd3d9ecd01d9b69a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 20695ab01754b373d7f8514f5303c768d0edb3b1
2017-12-01 10:41:33 -06:00
Ricky Chien c57bd5cfc6 Bug 1418928 - requestCookies and responseCookies should be loaded lazily r=Honza
MozReview-Commit-ID: bywCQWGqWI

--HG--
extra : rebase_source : 41591be8f72e355ca370d4a53b6ffc0d7f966f9d
2017-11-24 14:57:10 +08:00
Daniel Holbert d84cb4a5a7 Bug 1412240 part 2: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
  https://bugs.llvm.org/show_bug.cgi?id=26828

MozReview-Commit-ID: BJUN82HyXpF

--HG--
extra : rebase_source : 3f06d3401198de45240aa9f0c7c865e048f90b89
2017-11-30 10:57:07 -08:00
Daniel Holbert 945b072cbc Bug 1412240 part 1: Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file. r=jya
MozReview-Commit-ID: 8nmOy2aqPA0

--HG--
extra : rebase_source : 485e205af8fbb205c81929e12eac00410570124d
2017-11-30 11:48:28 -08:00
Doug Thayer a3cb917217 Bug 1418443 - Send OnVisit notifications from single runnable r=mak
Because there's an overhead in simply creating/sending/receiving a
runnable, it makes sense to send our onVisits notifications from a
bulk runnable in the case where we're inserting many visits. This
is only step one of many optimizations we can and should make to
the observer system.

MozReview-Commit-ID: Co5yOUCRdnZ

--HG--
extra : rebase_source : 3f4f67f8dfe1798612a2b6ea210caff8556e9d72
2017-11-21 14:43:47 -08:00
Edouard Oger f6bb451a7a Bug 1419838 - Make Synced Tabs sidebar translucent friendly in all states. r=markh
MozReview-Commit-ID: 3O7J5D4o8hF

--HG--
extra : rebase_source : 2fffcea87ca284b1e525ebea437c2394570b912b
2017-11-28 14:24:24 -05:00
Michael Ratcliffe 38001b4ff6 Bug 1422258 - Remove React Virtualized r=Honza
MozReview-Commit-ID: GBsptIUroI

--HG--
extra : rebase_source : 6b9be4513fa5bc59e9f06f675a8a7a75a19575b3
2017-12-01 09:57:19 +00:00
Mike Shal 677975fab5 Bug 1417658 - Move export_suffixes into GeneratedFile; r=nalexander
I believe all backends will need to know which GeneratedFiles are needed
before compilation can start, so we should make that an attribute of the
object. Each backend can then make its own decision about what to do
with the different types of GeneratedFiles.

MozReview-Commit-ID: ByburRx540b

--HG--
extra : rebase_source : ccfee5b569da432cb61882f2f6ea518f1ccbfa07
2017-11-22 14:14:30 -05:00
Edouard Oger 2a41681065 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : b1471e1ef0163b2d3b137852d285146f5a23f1fa
2017-11-30 16:01:40 -05:00
Csoregi Natalia 31c313504e Backed out changeset 313e0c5a2081 (bug 406738) for failing browser-chrome's browser/components/preferences/in-content/tests/browser_advanced_update.js r=backout on a CLOSED TREE 2017-12-01 19:39:50 +02:00
Emilio Cobos Álvarez 0194a97476 Bug 1422319: Upstream :any-link reftest to WPT. r=xidorn
MozReview-Commit-ID: KOYqClzV8eo

--HG--
extra : rebase_source : 36b2d0f5d36e7b06e492316fac3a754247c859fb
2017-12-01 15:57:01 +01:00
Alex Gaynor 07cc41c4be Bug 1342564 - Don't crash the process when we fail to open the bloat log r=dmajor
NoteIntentionalCrash is supposed to leave a marker that a process has crashed
intentionally, but if it can't open the target file it will crash the process
itself. This can cause difficulty debugging and false-positive results for
tests expecting crashes.

MozReview-Commit-ID: CgLauJIEAKD

--HG--
extra : rebase_source : 689bfaa0e93b96f8ebbbaf31e17e80547004506f
2017-11-30 14:41:00 -05:00
Sylvestre Ledru 52773cd64b Bug 406738 - No longer show the kind of updates in 'Show Update History' as they are all marked as "security updates" r=florian
MozReview-Commit-ID: 1TTK5vPRnfT

--HG--
extra : rebase_source : 7d7dd108e8cab840c4029f995b6802b6cae23d1b
2017-10-19 11:36:25 +02:00
Chung-Sheng Fu 5503bf6a6c Bug 1039069 - Gray-out style for disabled listbox. r=jaws
MozReview-Commit-ID: KSWX63C35lh

--HG--
extra : rebase_source : ab02e1cf95f059d5eb4f8371927d6b0aec3a2831
2017-11-21 15:40:05 +08:00
Chung-Sheng Fu 9fdde28a64 Bug 1039069 - Show a hint of the change of the preferred language list. r=mconley
MozReview-Commit-ID: LHyXmdnyf3N

--HG--
extra : rebase_source : 671f99ad432245b7dfe925e4867c76849a3bc2a7
2017-10-24 16:28:53 +08:00
Chung-Sheng Fu 6806c911a3 Bug 1039069 - Provide a popup about English for international users. r=arthuredelstein,mconley
MozReview-Commit-ID: IL8i4vzjWQd

--HG--
extra : rebase_source : 7524445d3508b6de6a347034efb4a28e8d5738c5
2017-09-12 17:32:07 +08:00
Jeff Muizelaar dce6b5fece Bug 1422321. Eliminate double promotion in Round(). r=kats
This uses std::floor(T) instead of floor(double) so that we end up calling
floorf(float) for floats instead floor(double). It also changes the literals to
be floats. 0.5f is exactly representable in float and so will transparently
promote to double as needed.

--HG--
extra : rebase_source : ea193026b3c7d1f97f5abbc3f9220eca5ac5523c
2017-11-30 13:23:56 -05:00
Andrew McCreight 7e0973c356 Bug 1421355, part 8 - Remove unused attributes and methods from nsIXPConnectWrappedNative. r=mrbkap
Also remove some out of date comments. GetObjectPrincipal() was removed a while ago.

MozReview-Commit-ID: IQFoVyaEMlY

--HG--
extra : rebase_source : 935ecc1094d46ac8cab11e236b6ffb1a95aa9a06
2017-11-28 10:48:12 -08:00
Andrew McCreight e901a26540 Bug 1421355, part 7 - Remove unused defines and forward decls from nsIXPConnect.idl. r=mrbkap
MozReview-Commit-ID: EI05aS33n2R

--HG--
extra : rebase_source : 3a52b327c9d34e0c3d4c987ce4877d1981b7be34
2017-11-28 10:31:30 -08:00
Andrew McCreight 6d088f4ffe Bug 1421355, part 6 - Remove JS::NotifyDidPaint. r=jonco
MozReview-Commit-ID: 6rdvr6QfAD1

--HG--
extra : rebase_source : e3e1fb7de9cc30d10cd17d00f4290e27a46b4c0e
2017-11-28 10:04:23 -08:00
Andrew McCreight 71dbca0a82 Bug 1421355, part 5 - Remove nsXPConnect::NotifyDidPaint(). r=mrbkap
Presshell still does something along these lines, but it works completely differently.

MozReview-Commit-ID: JRenEDNlo6p

--HG--
extra : rebase_source : d90924fcbbf81b1b23311b8589ea86403f0fd630
2017-11-28 10:00:38 -08:00
Andrew McCreight 34d939862e Bug 1421355, part 4 - Remove nsXPConnect::GetInfoForName. r=mrbkap
MozReview-Commit-ID: 6Y0ujiF0RBw

--HG--
extra : rebase_source : 2eca5f54fef5fde7281e9c7bbff860c8451329cc
2017-11-28 09:53:04 -08:00
Andrew McCreight c4a35a74f9 Bug 1421355, part 3 - Remove nsIXPConnect::GarbageCollect(). r=mrbkap
MozReview-Commit-ID: JGG15HPxpda

--HG--
extra : rebase_source : 60369ff0c61d1dec06aa98e37bf2d00dc11dd5e0
2017-11-28 09:51:53 -08:00
Andrew McCreight 03b06b90f7 Bug 1421355, part 2 - Remove nsIXPConnect::getWrappedNativeOfNativeObject. r=mrbkap
This method is unused. It is the only caller of
XPCWrappedNative::GetUsedOnly(), so remove that, too.

MozReview-Commit-ID: LRMB2bAwgoS

--HG--
extra : rebase_source : 8203aae8d0263ca467fff8e63f187caca8aaf733
2017-11-28 09:47:44 -08:00
Andrew McCreight 6e506d37ba Bug 1421355, part 1 - Remove nsIXPConnect::GetPrincipal(). r=mrbkap
This method is unused. It is the only caller of
XPCWrappedNative::GetObjectPrincipal() so remove that, too.

MozReview-Commit-ID: 8s5toK85YUS

--HG--
extra : rebase_source : 551ec90d893ac9f47ef5166ec1dbd2ac8b5c6988
2017-11-28 09:43:27 -08:00
Munro Mengjue Chiang 14192dcba4 Bug 1388219 - down scale camera output frame to the target capability. r=jib
MozReview-Commit-ID: 7dlbWXndbgf

--HG--
extra : rebase_source : d29809c0b898648b535afdd2c9e3e97a297d99e0
2017-12-01 10:12:51 +08:00
Munro Mengjue Chiang e782a0379f Bug 1388219 - add a nsTArray mTargetCapability to record each track target capability. r=jib
MozReview-Commit-ID: E8ZCmXEDxKs

--HG--
extra : rebase_source : 5cab9cdb5cc1a67d6cf4c0b5c5c7caef5cfe7ea0
2017-11-30 15:44:20 +08:00
Lee Salzman 03a6e9d255 Bug 1421275 - Pass FontInstanceFlags to WebRender. r=jrmuizel
This patch was originally developed on bug 1418564.

MozReview-Commit-ID: 53oydIqjhvF

--HG--
extra : rebase_source : 8980cc947b3b8c46a75d032e7e557f39bae08b97
2017-11-28 10:25:27 -05:00
Kartikaya Gupta fee87ce9f1 Bug 1421275 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: Jaty3RGfffU

--HG--
rename : third_party/rust/byteorder-1.0.0/COPYING => third_party/rust/byteorder-1.1.0/COPYING
rename : third_party/rust/byteorder-1.0.0/LICENSE-MIT => third_party/rust/byteorder-1.1.0/LICENSE-MIT
rename : third_party/rust/byteorder-1.0.0/README.md => third_party/rust/byteorder-1.1.0/README.md
rename : third_party/rust/byteorder-1.0.0/UNLICENSE => third_party/rust/byteorder-1.1.0/UNLICENSE
extra : rebase_source : 0668fbfe5d8ba288a0e530de3650bd013924b4ce
2017-12-01 09:50:52 -05:00
Kartikaya Gupta f8ea506f33 Bug 1421275 - Update webrender to commit e3dd85359580074f4ca4a554d9a3c85779f8de64. r=jrmuizel
Includes regenerated FFI header file.

MozReview-Commit-ID: 8yVB4QE87eJ

--HG--
extra : rebase_source : 6d38d002edbcbc77f044d6307c5cf1212af84555
2017-12-01 09:50:05 -05:00
Sean Lee 6eccd27e0c Bug 1416664 - Modify the heuristic tests to verify the multiple section feature. r=lchang,ralin
MozReview-Commit-ID: HWZarpBVFYp

--HG--
extra : rebase_source : e112c105d0e402529805b15adcc5a9e8ab79d60a
2017-11-27 17:14:35 +08:00
Sean Lee f82090e4d8 Bug 1416664 - Move the duplication logic to _trimFieldDetails function. r=lchang,ralin
--HG--
extra : rebase_source : a1ea77e58f2b03e62ac5603a0e62de6c4df5dbde
2017-11-27 16:42:12 +08:00
Sean Lee a7c09638b3 Bug 1416664 - Identify the sections for the fields without the section part of autocomplete attr. r=lchang,ralin
MozReview-Commit-ID: 7La8Bn0TF1y

--HG--
extra : rebase_source : 4864178cdfbb644912bcfb9dc1a45806f1cae46d
2017-11-22 15:57:33 +08:00
Alan Jeffrey 9ee1f72e41 servo: Merge #19344 - Download the buildbot statistics and save them as CSV (from asajeffrey:buldbot-perf-download-json); r=jdm
<!-- Please describe your changes on the following line: -->

Download timing data from build.servo.org, and convert it to CSV for feeding to Google Data Studio.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 9da7663e29af1a00980c3e7f30f8e0ae4760979d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7cf8bcbc2c6636c2346a9357f16564ee66e96653
2017-12-01 06:52:26 -06:00
JW Wang f2f9809386 Bug 1421179. P3 - ComputePlaybackRate() should call mPlaybackStatistics.GetRate() instead of mPlaybackStatistics.GetRateAtLastStop(). r=bechen,gerald
Otherwise mPlaybackBytesPerSecond will always be zero before playback is
stopped for the 1st time. This is important for a live stream where playback
rate can't be calculated from the duration and resource length (-1).

MozReview-Commit-ID: GEojREzHVEz

--HG--
extra : rebase_source : 6f770b54597abb303631da8e41c3199d92ebda6e
2017-12-01 12:25:00 +08:00
JW Wang d6c2016780 Bug 1421179. P2 - mPlaybackStatistics should accumulate bytes as playback position progresses. r=bechen,gerald
The original code accumulates bytes as the underlying decoder moves on which is wrong.

MozReview-Commit-ID: 72hTwOHwKRh

--HG--
extra : rebase_source : 68b62543314c7ecc823473a8dbf14e17d2a6eb7b
2017-12-01 11:26:03 +08:00
JW Wang 73e80931ea Bug 1421179. P1 - associate data with playback events published by MDSM. r=bechen,gerald
This is required for we want to associate playback offset with the
PlaybackStarted/PlaybackStopped events.

MozReview-Commit-ID: JkRhC2QE7kr

--HG--
extra : rebase_source : c5f637f2e5849565acb5b91364537f1724ce7d5f
2017-12-01 10:33:44 +08:00
Francesco Lodolo (:flod) 0ec0112df1 Bug 1422249 - Update locales in mobile l10n.toml r=Pike
Vietnamese (vi) is missing from the list of languages.
List of locales on single-locale builds is out of date.

MozReview-Commit-ID: 3zZ3MYAuBWB

--HG--
extra : rebase_source : f98d9af6d8c6db1b8195eab211576b303a18dc23
2017-12-01 09:34:17 +01:00
Valentin Gosu d093ecbe77 Bug 1422277 - Add an observer notification for when the captive portal detection is "done" r=bagder
MozReview-Commit-ID: D9Qr0CuUJiQ

--HG--
extra : rebase_source : 74ecc449bee263d27af83fa101e6ef59166fecab
2017-12-01 13:20:29 +01:00
Francesco Lodolo (:flod) 64e1bd8242 Bug 1415906 - Update references to Macedonian in PluralForm.jsm r=Pike
Also marked rule #14 as unused.

MozReview-Commit-ID: GbfHY5NKgms

--HG--
extra : rebase_source : a2bb662155302705e7702e4ef3f6108adf244a2f
2017-12-01 10:13:04 +01:00
Dão Gottwald 76c4fb2a77 Bug 1420601 - Let Accel+W in a pinned tab select the first unpinned tab. r=daleharvey
MozReview-Commit-ID: DNhOuW4BL3P

--HG--
rename : browser/base/content/test/general/browser_pinnedTabs.js => browser/base/content/test/tabs/browser_pinnedTabs.js
rename : browser/base/content/test/general/browser_bug580638.js => browser/base/content/test/tabs/browser_pinnedTabs_closeByKeyboard.js
extra : rebase_source : 7bf78150f4d1fda4d501fa06b1855ef628547690
2017-11-29 16:17:37 +01:00
Gijs Kruitbosch 1265e774bc Bug 1421711 - remove pluginInstallerWizard.css and pluginGeneric*.png, r=daleharvey
MozReview-Commit-ID: 4yuH7IFEOme

--HG--
extra : rebase_source : f47b18b4178588b810df84404b9b618b41451d1a
2017-11-29 18:14:23 +00:00
Emilio Cobos Álvarez 8aea8ade34 Bug 1422257: Make FinderHighlighter not use -moz-border-*-colors. r=Gijs
I was going to use box-shadow to make the same effect we have now, but I got
into the intersection logic and I wasn't very excited about rewriting it in
terms of shadow offsets, so came up with this, which IMO looks equally good /
better.

MozReview-Commit-ID: 19xX2zh2tzK

--HG--
extra : rebase_source : 371266623aefd1af27e2c4a21cf792cf3fd3ecf4
2017-12-01 10:48:06 +01:00
Gurzau Raul da2beafe7e Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-01 12:59:28 +02:00
Gurzau Raul 0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Emilio Cobos Álvarez 5604b99826 Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.

Far from the final, ideal state, but hey, progress.

MozReview-Commit-ID: 7TrifME9VZ
2017-12-01 08:46:39 +01:00
Evan Tseng 8663ce0fcb Bug 1407568 - Add a spotlight indicator to a specific section and UI component. r=jaws,lchang
MozReview-Commit-ID: 4AgAFq2r418

--HG--
extra : rebase_source : 055fb2881c1a91aff108fb4a32a7fff842443bc7
2017-11-30 17:42:40 +08:00
Tom Tung a70276a99c Bug 1222008 - P9: Expected failure for loading a same origin XML Document but being responded with a cors response. r=bkelly
Modify test to be expected failure to load cross origin XML Document via a
same origin request.

--HG--
extra : rebase_source : 1fd3e699447436b47205537009b5ba23bbab3278
2017-11-29 17:06:33 +08:00
Ray Lin 606f156e4a Bug 1415073 - Update the unit tests accordingly with new submission records. r=seanlee,steveck
MozReview-Commit-ID: 8Rcpx7y2rXT

--HG--
extra : rebase_source : 1b6ca120d2a75d1a330602bda45ae9e84080e8e6
2017-11-29 15:27:59 +08:00