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

518243 Коммитов

Автор SHA1 Сообщение Дата
Matt Howell 106ddaf6fb Bug 1336243 - Fix a regression from bug 1324617 in launching the browser post-install. r=agashlin
Bug 1324617 changed the name of the registry path that was being used to find
the new installation to launch, but forgot to update that function. This patch
switches to a more direct method of getting the right path to launch.

MozReview-Commit-ID: Hexhj9y4ixc

--HG--
extra : rebase_source : 8937bb4c2182f609388e8f972d002fed35b9443a
2017-02-02 16:24:55 -08:00
Henrik Skupin 7fccf16b03 Bug 1336445 - Don't select the first tab if switch_to_window() is called with a chrome window handle. r=ato
Using switch_to_window() with a chrome window handle should not change the selected tab within
a browser window. It means we first have to check if it is a chrome handle, and only if it's not,
we should care about content window handles.

MozReview-Commit-ID: IcmCcmVy26T

--HG--
extra : rebase_source : cc915bb29298d823535235e6de3d4a4497a2f20f
2017-02-03 16:58:29 +01:00
Mike Conley b6a45a7464 Bug 1333223 - Add an unhandled exception handler. r=ted
The exception handler calls MOZ_CRASH, which should allow
our crash reporting infrastructure to kick in.

MozReview-Commit-ID: FzTlXOIMzal

--HG--
extra : rebase_source : dc33152b9b8c959a155464a99a0719406035cf18
2017-01-29 02:53:50 -05:00
David Keeler 31150dd09f bug 1335904 - disable EV treatment for TurkTrust H6 root certificate r=jcj
MozReview-Commit-ID: FzQsKAuuVcX

--HG--
extra : rebase_source : 424699fa3a680939ee047037b4f37fc48af1b680
2017-02-02 14:37:49 -08:00
Matheus Longaray 5dfa84f720 Bug 1336554 - Add support to e10s-multi for simplified browser tab. r=mconley
This patch adds support to e10s-multi when creating tab for simplified browser.

MozReview-Commit-ID: KHXePRVxrGl

--HG--
extra : rebase_source : 4c215fdd2506f19864dd9dfdfacd9f7f710802aa
2017-02-03 21:21:01 +01:00
Chris Manchester 589fbe3c24 Bug 1336201 - Do not skip the "get-secrets" step during an artifact build. r=maja_zf
MozReview-Commit-ID: 3dyXKL01Dyc

--HG--
extra : rebase_source : c03478be181e693313da8e50a7933b0a3e27d435
2017-02-03 10:57:43 -08:00
Gregory Szorc 4c96b33cd9 Bug 1322769 - Free the oxidized lizzard, vendor Servo
This merge commit joins a Mercurial conversion of the Servo Git
repository with the mainline of the Firefox repository.

The converted Git history was obtained by running the following command
on revision e0c5a75dfaa6a9f8d23daa54438e987554cafe82 of the
version-control-tools repository:

  $ linearize-git-to-hg \
      --exclude-dir src/test/wpt \
      --exclude-dir src/test/ref \
      --exclude-dir tests/ref \
      --exclude-dir tests/wpt \
      --summary-prefix servo: \
      --remove-reviewable \
      --source-repo-key Source-Repo \
      --source-revision-key Source-Revision \
      --normalize-github-merge-message \
      --committer-action use-author \
      --use-p2-author \
      --with-hg ~/bin/hg \
      --copy-similarity 75 \
      --find-copies-harder \
      --skip-submodules \
      --move-to-subdir servo \
      --github-username <redacted> \
      --github-token <redacted> \
      https://github.com/servo/servo master servo-git-source servo-hg-dest

This command obtained a clone of the Servo Git repo and converted it to
Mercurial. Along the way, it:

* Collapsed all commits in merge commits into a single squashed commit,
  producing a linear history
* excluded WPT files (because there are tens of thousands of them)
* excluded "ref" tests (because they aren't wanted)
* prefixed commit message summary line with "servo:"
* removed reviewable.io text from commit messages
* added links to the original repo and revision in the commit message
* rewrote commit messages so pull request messages are consistently
  formatted
* replaced the Git "committer" with the "author" so they always agree
* used the author of the 2nd parent of a merge commit as the author of
  the "squashed" commit
* reparented all files into a "servo" subdirectory
* applied aggressive copy detection (find copies by looking at files
  that didn't change)
* marked copies if contents were at least 75% similar

The result of that conversion was pulled into the Firefox repo with
`hg pull --force` (--force was needed to allow a new root changeset).
Then, this head was merged into the mainline by running
`hg merge -t :remote`. A merge tool was specified because there was
an existing dummy geckoservo crate defined, which we wanted to overwrite
with the real thing.

The Mercurial version used was 4.1 (4.1 is necessary because of new
features in `hg convert`).

IGNORE BAD COMMIT MESSAGES (to bypass commit message hook)
a=release (to bypass WebIDL hook)

MozReview-Commit-ID: LSQNMdsZmee

--HG--
extra : rebase_source : 067cb266da2fc64e1cbf0a460be98889232fca67
2017-02-03 11:04:49 -08:00
Wes Kocher 9886fc0a7a Backed out changeset 88872e0b68d2 (bug 1335483) for failures in browser_selectpopup.js a=backout
MozReview-Commit-ID: 39EV3LzTBiI
2017-02-03 11:54:32 -08:00
Gregory Szorc 6e539c174e Bug 1322769 - Move dummy geckolib to toolkit/library, change taskgraph detection; r=froydnj
I want to get Servo vendored into servo/. The previous plan was to
replace the dummy geckolib with the real deal when the vendoring is
done. Unfortunately, this will require a significant `cargo vendor`
change, which we want to punt on for a bit.

So, this commit moves our dummy geckolib outside of servo/ so we
don't need to `cargo update` or `cargo vendor` when the real servo/
is installed.

The change to toolkit/library/rust/shared/Cargo.toml can be reverted
in the stylo repo to allow it to use the real geckolib.

We also update the taskgraph code for detecting Servo. Previously,
it looked for a file in the possibly-vendored servo/ directory. Once
the vendoring happens, this check will always pass. But without the
real geckolib, the Servo builds will fail. So, we change the check
to look for the real geckolib. This is implemented a bit hackily.
But it will be short-lived until we run `cargo vendor`.

MozReview-Commit-ID: CxGTwy6bK9j

--HG--
rename : servo/ports/geckolib/Cargo.toml => toolkit/library/geckolib/Cargo.toml
rename : servo/ports/geckolib/lib.rs => toolkit/library/geckolib/lib.rs
extra : rebase_source : c0e9c867ae74c4eb124e72dc481fd8dc814e65e7
2017-02-03 11:20:14 -08:00
Sebastian Kaspari b5ceb2958f Bug 1318667 - Do not use palette library on x86 devices (Use BitmapUtils.getDominantColor()). r=ahunt
Our version of the palette support library crashes for certain icons on x86 systems.

MozReview-Commit-ID: E6eEyFXd4uK

--HG--
extra : rebase_source : fe2e3d55ff7744d480c8a6318aba09bb2c519a13
2017-02-03 18:42:36 +01:00
Wander Lairson Costa 5e9e6df1fa Bug 1336427: add try option to run tc-worker jobs. r=dustin
-w, --taskcluster-worker: schedule taskcluster-worker jobs.

This is necessary to relieve the load of the small pool of data center
machines.

MozReview-Commit-ID: IiOLHUs2ALi

--HG--
extra : rebase_source : 96acbbd40aef856f68c7ab94ae23bcee4f2f078d
2017-02-03 16:38:51 -02:00
Felipe Gomes be4aade0a3 Bug 1329752 - Enable e10s for 100% of eligible users on ESR. Addons eligibility is mpc=true or webextension. r=mconley
MozReview-Commit-ID: Bb0gfkPKkQg

--HG--
extra : rebase_source : 6bed3ebbb041e033432f4c514406fcf8b8c830a9
2017-02-03 16:25:34 -02:00
Felipe Gomes c03b6cb044 Bug 1329752 - Don't enable e10s for XP users on ESR. r=jimm
MozReview-Commit-ID: CD9wvSOIj0s

--HG--
extra : rebase_source : 273613ef6e6a4f7dd0c4708d22f8081062e3ef5d
2017-02-03 16:25:30 -02:00
Tom Ritter b71fdda6fb Bug 1336500 Update harfbuzz README to 1.4.2 r=RyanVM
MozReview-Commit-ID: 7x9uTeoERTt

--HG--
extra : rebase_source : a67501b3c02cdaf994f94fdc27ee15b32261d84c
2017-02-03 11:47:06 -06:00
Matt Brubeck 27dc0033a6 servo: Merge #15355 - Update clap, clippy, deflate, flate2, open, unicode-segmentation, owning_ref, parking_lot, phf, quote, walkdir (from mbrubeck:always-be-updating); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 6553a5c1e088c0a13581834af5e8ab150af87fee
2017-02-02 11:44:01 -08:00
Andreas Tolfsen baa83662de servo: Merge #15347 - Upgrade libssl dependency on Debian (from andreastt:libssl-debian); r=mbrubeck
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _non-functional changes_

Source-Repo: https://github.com/servo/servo
Source-Revision: 94e3c900294372fd4bc95e694668b2b07aa1c93a
2017-02-02 10:12:57 -08:00
Emilio Cobos Álvarez 2b5029bc2a servo: Merge #15348 - stylo: Remove unused macro_use annotation that warns on nightly (from emilio:unused-macro-use); r=SimonSapin
r? anyone

Source-Repo: https://github.com/servo/servo
Source-Revision: df487197e85fae569ec4415609267f63f258ef55
2017-02-02 08:28:52 -08:00
Emilio Cobos Álvarez 2043633565 servo: Merge #15317 - style: Avoid selector-matching when only the style attribute is changed (from emilio:style-attr-restyle); r=bholley
r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: fb7f65fc5711f41b991b72ed97d7286dd16301ed
2017-02-02 03:00:22 -08:00
Xidorn Quan fa2d49cb0e servo: Merge #15340 - Reject negative value for border-image-width (from upsuper:border-image-width); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 8aa23b46db300210b67c16190c794bc9ee216f3f
2017-02-02 01:10:21 -08:00
Xidorn Quan 9c33ad6815 servo: Merge #15336 - Ignore initial values in text-decoration (from upsuper:text-decoration); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: f3d22ee1a8770e38a44404db6106aa3ce1bc1c4a
2017-02-01 23:44:51 -08:00
Gregory Terzian 39346fb978 servo: Merge #15333 - update mouse position when receiving mouse wheel events (from mbrubeck:update_mouse_position_when_receiving_wheel_events); r=mbrubeck
Rebase of #14808.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14290 (github issue number if applicable).
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

Source-Repo: https://github.com/servo/servo
Source-Revision: 8b9dc9392b5d734763f3f92d183ec179da9a6ff4
2017-02-01 15:48:30 -08:00
Andrew McCreight 621a063c39 Bug 1335886, part 4 - Remove the unused node arg to {enter,exit}Scope. r=billm
MozReview-Commit-ID: Fuj3RrnBBwV

--HG--
extra : rebase_source : 4dff4f1dc4a52f8d53637442995ebabd66cdf9b8
2017-02-01 13:07:59 -08:00
Andrew McCreight baf5f306e7 Bug 1335886, part 3 - Don't use symtab property to avoid infinite recursion. r=billm
Instead, just stick a "visited" property on them. The symtab property
on nodes isn't used for any other purpose.

The next patch will eliminate the unused args to enterScope and
exitScope.

MozReview-Commit-ID: 3WW2NPVB0gM

--HG--
extra : rebase_source : 2c2add652e1156a397a155c74015671877af3690
2017-02-01 12:50:02 -08:00
Vee Satayamas c43431820c servo: Merge #13506 - A test case change is added to #13442: Fix #12193 Servo displays upper level Thai character in wrong place (from veer66:master); r=mbrubeck
A test case change is added to #13442: Fix  #12193 Servo displays upper level Thai character in wrong place.

<!-- Please describe your changes on the following line: -->

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

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

<!-- 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: d161f6ec44ccaf1fa5506e62d6de47306f06a30d
2017-02-01 12:08:44 -08:00
Andrew McCreight 4f5c5e3153 Bug 1335886, part 2 - Nodes never have existing symbol tables in enterScope. r=billm
This code gets deleted in the next patch, but the point here is that
we can still compile Firefox with this assertion in place.

MozReview-Commit-ID: 33dw0xm7L4R

--HG--
extra : rebase_source : 140fca3b0b5abf5b3d6636ea63bae2adf1311b09
2017-02-01 11:51:43 -08:00
Andrew McCreight 77ff8c47bf Bug 1335886, part 1 - Set symtab on GatherDecls instead of TcheckVisitor. r=billm
It is always initially set to None, and the other subclass of
TcheckVisitor (CheckTypes) never uses it.

MozReview-Commit-ID: CKxXoHXopqF

--HG--
extra : rebase_source : 2422e31fb99f894948da01a0bcd7d5a2bf92ceb7
2017-02-01 11:56:03 -08:00
Sebastian Hengst 84697e5dbd Backed out changeset 96ecba4a2327 (bug 1329752) for Windows build bustage due to attempted string conversion ins nsAppRunner.cpp. r=backout on a CLOSED TREE 2017-02-03 18:29:09 +01:00
Sebastian Hengst 6ea684b87e Backed out changeset 5d8c9f8f8d31 (bug 1329752) 2017-02-03 18:28:10 +01:00
Manish Goregaokar 4ccab8f786 servo: Merge #15323 - Ensure that gradients have at least 2 stops (from Manishearth:gradient-stop); r=heycam
fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1335656

r? @heycam

Source-Repo: https://github.com/servo/servo
Source-Revision: b7887a1980332d7a111419257404bf08921e92f7
2017-02-01 11:17:13 -08:00
Matt Brubeck d0321cbb2a servo: Merge #15330 - Update bincode, byteorder, libc (from mbrubeck:always-be-updating); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8066315855658ec49f6a35199413d4cab2c75bda
2017-02-01 10:20:29 -08:00
Ms2ger a8cf599ff7 servo: Merge #15327 - Add a missing newline in wrap_panic() calls (from servo:missing-newline-wrap-panic); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bac2f68b541139702ac4347310cffe369f1bbb85
2017-02-01 06:25:40 -08:00
Ms2ger 71aa836add servo: Merge #15326 - Root the arguments to callback functions (from servo:root-callback-args); r=nox
Note that this relies on the fact that Heap<JSVal> and JSVal are binary
compatible.

Fixes #15324.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4524bb2bda02e6cf84347ef5a152c9c242d95408
2017-02-01 05:31:22 -08:00
Manish Goregaokar a4f8d399c0 servo: Merge #15321 - Preallocate in deduplicate_property_declarations (from Manishearth:preallocate); r=bholley
r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: da89099e26955cf5ba44031a0a536e3af4e6a0d5
2017-01-31 17:58:18 -08:00
Hiroyuki Ikezoe 075e5578ae servo: Merge #15299 - Create KeyframeAnimation for empty keyframe rules (from hiikezoe:empty-keyframe); r=emilio,pcwalton
<!-- Please describe your changes on the following line: -->
We should create KeyframeAnimation even if css keyframe rule is empty because we should fire css animation events for such CSS animations.
Also we should ignore properties that are annotated with '!important'.  From the spec[1].
 using !important on them is invalid and will cause the property to be ignored

[1] https://drafts.csswg.org/css-animations-1/#keyframes
---
<!-- 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 #15257

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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: 77f53aae3eee59957521ea76e95bd3e454c4ddd9
2017-01-31 14:42:06 -08:00
Glenn Watson cc726bb9a1 servo: Merge #15111 - Update WR (radial gradients, generate_frame API, mac subpixel improvements, ANGLE shader support) (from glennw:wr-update-generate); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 8421ae60774922e6b9ab9b1b562efce22916b200
2017-01-31 11:49:18 -08:00
Ms2ger 18274cf39c servo: Merge #15315 - Improve the readability of dictionaries' new() method (from servo:reformat-dict); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ec9da4d2763bad2df96757d3f8f2666b9d0507f2
2017-01-31 07:41:43 -08:00
Corey Farwell 8b60b867c8 servo: Merge #15304 - Remove 'buildtimetrend' Travis webhook (from servo:buildtimetrend); r=aneeshusa
The service is discontinued.

Source-Repo: https://github.com/servo/servo
Source-Revision: edc576597860be4559bc9dc93da38f215c4a80a0
2017-01-30 16:33:50 -08:00
Emilio Cobos Álvarez 97b30b2655 servo: Merge #15288 - Refactor more stuff in preparation for special handling for restyling using the style attribute (from emilio:style-attr-restyle); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 166b30484061ae7c58f721ac9082d13c83834fae
2017-01-30 14:54:26 -08:00
Andreas Tolfsen 21d4a4b073 servo: Merge #15302 - Update to webdriver v0.20.0 (from andreastt:webdriver-0.20.0); r=Ms2ger
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _Servo is not sufficiently mature to run WPT WebDriver tests_

Source-Repo: https://github.com/servo/servo
Source-Revision: 71deabc8bc40baaccf15415cc1f789392de62f2c
2017-01-30 12:09:22 -08:00
Aneesh Agrawal 84b6763a98 servo: Merge #15284 - Remove unused builders (from aneeshusa:remove-unused-windows-builders); r=larsbergstrom
These have been superseded by the windows-gnu and windows-msvc versions.
Removing them allows freeing up disk space on the Windows builders.

r? @larsbergstrom

<!-- Please describe your changes on the following line: -->

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

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

<!-- 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: 9cdf78d53d0a101d99e911088a00c677476f5bf1
2017-01-30 07:25:28 -08:00
Ms2ger dad28235a4 servo: Merge #15300 - Remove unused part of the return value of parse_blob_url() (from servo:blob-fragment); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 81712560cafbb6a5ed12c5306522a6ea0cbe09f7
2017-01-30 06:21:46 -08:00
Ms2ger 85ae16bd1b servo: Merge #15264 - Always set the Document::contentType attribute in ScriptThread::load() (from servo:content-type); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cc2011c05037a8f261f2e803b8a3fb58178ab1b9
2017-01-30 05:33:14 -08:00
Ms2ger a31de8437e servo: Merge #15222 - Update image (from servo:image); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: b0cf5348b830e51ef76a04c8434ab7b42d5de1ca
2017-01-30 03:43:10 -08:00
Atheed Thameem 038c0e33e0 servo: Merge #15294 - Removed unused import (from atheed:unused-import-fix); r=Manishearth
Removed an unused import in `components/script/dom/element.rs`.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is an unused-import fix

<!-- 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: 3e1bc8dcfeafd1d66d786192b898fa35671406f0
2017-01-29 10:01:58 -08:00
Rohit Burra 8d6f41f073 servo: Merge #14556 - Make Stylist::set_device check stylesheet media queries (from iamrohit7:fix-set-device); r=SimonSapin,Emilio
Fixes Stylist::set_device to check for media queries in stylesheets.

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

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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: 1c1aaa5a883bd17618ac90ac67a6f0030a276ff5
2017-01-29 04:06:03 -08:00
montrivo 9704ac1a17 servo: Merge #15289 - Expose interfaces only where they should be. #12415 - Partial (from montrivo:webidl-exposed); r=cbrewster
<!-- Please describe your changes on the following line: -->

I verified the following interfaces:
CSSStyleDeclaration.webidl
ElementCSSInlineStyle.webidl
ElementContentEditable.webidl
EventHandler.webidl
Screen.webidl
StyleSheetList.webidl
StyleSheet.webidl
Client.webidl

---
<!-- 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
- [ ] These changes fix #12415 (github issue number if applicable).

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

<!-- 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: e58ef9115fb3c465680c37a78506823f4e629297
2017-01-29 00:00:19 -08:00
Simon Sapin 947527e3a2 servo: Merge #15277 - Update to cargo 0.17.0-nightly (385e243 2017-01-27) (from servo:cargoup); r=emilio
Pick up https://github.com/rust-lang/cargo/pull/3590, to print errors without waiting for parallel jobs.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require new tests

<!-- 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: c0ff8f8a65ab5be3ec42bd1de89c79f5e761b531
2017-01-28 23:05:15 -08:00
Atheed Thameem a7aecc8674 servo: Merge #15278 - Parsing "0" as Number for line-height and border-image-outset (from atheed:zero-parsing); r=Wafflespeanut
Fixes #15171 by correctly parsing `0` as `0` (rather than as `0px`, as was the case earlier) for the `line-height` and `border-image-outset` CSS properties. Wrote unit tests for both; `./mach test-unit -p style` passes all tests.

---
<!-- 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 #15171

<!-- Either: -->
- [X] There are tests for these changes.

<!-- 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: dfcfc1d2c158edb05ac7d2da3796008947b580df
2017-01-28 22:18:44 -08:00
Hiroyuki Ikezoe 3089a8c25d servo: Merge #15287 - Counter part of bug 1328787 - Stylo: Convert Servo's animation keyframes and store them into Gecko's keyframes (from hiikezoe:css-animation); r=heycam
<!-- Please describe your changes on the following line: -->
Reviewed by @heycam, An exception is auto-generated bindgen stuff, I did not include it in patches on bugzilla.  The bindgen diff included in this PR was generated with  b5c94bad371114ab9f03e910f66c00a042997fc2.  It might be bit-rotted.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because gecko has test cases.

<!-- 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: 0459e1a6dd38f943a23e8b858c0bebf37cfadd95
2017-01-28 21:24:04 -08:00
Alan Jeffrey 612d31497f servo: Merge #15120 - Allow windows to share browsing contexts (from asajeffrey:script-windows-share-browsing-contexts); r=jdm
<!-- Please describe your changes on the following line: -->

This PR allows different `Window` objects in the same browsing context to share a `BrowsingContext` object.

SpiderMonkey requires a `WindowProxy` object to be in the same compartment as its `Window`, so when a `WindowProxy` changes `Window`, we have to brain-transplant it. In turn this requires the reflector of a `BrowsingContext` to be mutable.

---
<!-- 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 #13608 and #14843
- [X] These changes do not require tests because an existing test catches this (`/html/browsers/the-window-object/Window-document.html` is now `PASS`)

<!-- 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: 67c182638253211553161495cd2e4570002fd5bc
2017-01-28 20:35:39 -08:00