aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #10710 - Ms2ger:js, r=noxbors-servo2016-04-213-84/+39
|\ | | | | | | | | | | | | | | Update js. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10710) <!-- Reviewable:end -->
| * Update js.Ms2ger2016-04-203-84/+39
| |
* | Auto merge of #9942 - jdm:load_error, r=ms2gerbors-servo2016-04-207-44/+78
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving the error handling out of network loader Rebase of #8851. Fixes #8678. Fixes #9944. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9942) <!-- Reviewable:end -->
| * | Propagating the load errors from network loaderRavi Shankar2016-04-207-44/+78
| | |
* | | Auto merge of #10750 - servo:num, r=noxbors-servo2016-04-2010-10/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Use num's constituent crates. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10750) <!-- Reviewable:end -->
| * | Use num-traits in script.Ms2ger2016-04-2010-10/+10
| | |
* | | Auto merge of #9968 - izgzhen:scroll, r=asajeffreybors-servo2016-04-205-5/+361
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement scroll, scrollLeft, scrollTop and friends, addressing issue #9650 This is a work in progress to solve https://github.com/servo/servo/issues/9650. Thanks a lot for helping the review. - [x] scroll - [x] scrollTo - [x] scrollBy - [x] scrollTop (setter and getter) - [x] scrollLeft (setter and getter) The setters will be implemented in another PR after this is merged. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9968) <!-- Reviewable:end -->
| * | element scroll settersZhen Zhang2016-04-203-39/+259
| | |
| * | Implement ScrollTop and ScrollLeft getters:Zhen Zhang2016-04-195-2/+138
| | | | | | | | | | | | | | | | | | | | | | | | Add new compositor message to get scroll_offset; Add new layout query for computed value of overflow-x/y; Implement layer_id method for ThreadSafeLayoutNode; Add new layout query for layer_id; Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
* | | Remove extra definition of WHITESPACE under components/util/str.rszakorgyula2016-04-201-2/+2
| | |
* | | Auto merge of #10718 - mbrubeck:trace, r=jdmbors-servo2016-04-201-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lower the logging level of a really chatty fn Reduces the amount of spew when running with settings like `RUST_LOG=script=debug`. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10718) <!-- Reviewable:end -->
| * | | Lower the logging level of a really chatty fnMatt Brubeck2016-04-191-2/+2
| | | |
* | | | Auto merge of #10708 - Ms2ger:warnings, r=emiliobors-servo2016-04-192-2/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some compile warnings. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10708) <!-- Reviewable:end -->
| * | | | Fix some compile warnings.Ms2ger2016-04-192-2/+1
| | |_|/ | |/| |
* | | | Auto merge of #10641 - asajeffrey:dedicated-panic-channel, r=Manishearthbors-servo2016-04-192-9/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dedicated panic channel Added a dedicated panic channel, and removed the panic messages for the script and layout threads. This is needed so that other threads can report panics, which is part of #10334. Note that this PR includes the commit from #10572, so should land after it lands. r? @Manishearth <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10641) <!-- Reviewable:end -->
| * | | Added a dedicated panic channel.Alan Jeffrey2016-04-192-9/+9
| |/ /
* | | Auto merge of #10634 - amarant:10574-image-document-base, r=metajackbors-servo2016-04-191-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #10574 Use the document base url in img add a test with base path set to the resources path and an img with a cat and the reference directly to the image <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10634) <!-- Reviewable:end -->
| * | Issue #10574 Use the document base url in imgArnaud Marant2016-04-151-1/+1
| | | | | | | | | | | | add a test with base path set to the resources path and an img with a cat and the reference directly to the image
* | | Auto merge of #10592 - canaltinova:stylesheet_with_base, r=Ms2gerbors-servo2016-04-191-12/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the document base url when resolving stylesheets Use the document base url when resolving stylesheets. Fixes #10575 . <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10592) <!-- Reviewable:end -->
| * | | Use the document base url when resolving stylesheetsNazım Can Altınova2016-04-181-12/+9
| |/ /
* | | Auto merge of #10652 - dzbarsky:reserved, r=dzbarskybors-servo2016-04-192-7/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Prevent use of reserved names in BindAttribLocation (Depend on the WebGL tests landing) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10652) <!-- Reviewable:end -->
| * | Prevent use of reserved names in BindAttribLocationDavid Zbarsky2016-04-172-7/+9
| | |
* | | Auto merge of #10508 - g-k:insert-row, r=KiChjangbors-servo2016-04-192-9/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Insert row Fixes #9269 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10508) <!-- Reviewable:end -->
| * | | Implement HTMLTableElement.insertRow()Greg Guthe2016-04-182-9/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | refs: https://github.com/servo/servo/issues/9269 and update HTMLTableElement.webidl insertRow returns an HTMLTableRowElement and throws an IndexSizeError sortable and stopSorting were removed.
* | | | Avoid generating parameter names that are Rust keywordsKeith Yeung2016-04-171-1/+8
| |/ / |/| |
* | | Auto merge of #10612 - autrilla:textdir, r=emiliobors-servo2016-04-174-79/+127
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLTextArea.setSelectionRange (continuation of #10007) Tests on `tests/wpt/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html` all pass and the other tests don't panic due to double borrows anymore. cc: @KiChjang Fixes #9994. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10612) <!-- Reviewable:end -->
| * | | Implement HTMLTextArea.setSelectionRangeAlberto Corona2016-04-174-79/+127
| | | |
* | | | Use os.path.basename instead of split('/')[-1]Zbynek Winkler2016-04-171-1/+3
| | | | | | | | | | | | | | | | Fixes #10596.
* | | | Fix Document#elementFromPoint no viewport available testRizky Luthfianto2016-04-161-0/+4
| |_|/ |/| |
* | | Fix Document#elementsFromPoint no viewport available testRizky Luthfianto2016-04-161-2/+4
| | |
* | | Auto merge of #10626 - sliz1:10576, r=KiChjangbors-servo2016-04-151-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the document base url when resolving iframe URLs Fixes #10576. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10626) <!-- Reviewable:end -->
| * | | Use the document base url when resolving iframe URLsStephen (Ziyun) Li2016-04-151-2/+1
| |/ /
* / / Use the document base url when resolving script URLsLiamsi2016-04-151-5/+2
|/ /
* | Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearthbors-servo2016-04-141-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added panic message to failures. Added the panic message to failures. This is a step towards #10334, since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10587) <!-- Reviewable:end -->
| * | Added panic message to failures.Alan Jeffrey2016-04-131-2/+2
| | |
* | | Remove the url! plugin.Simon Sapin2016-04-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | In rust-url 1.0 the `Url` struct is going to have private fields, and there is no way to to create an aribitrary one without going through the parser. The plugin never had a clear demonstrated performance benefit, it was made mostly because it was possible and relatively easy at the time.
* | | Auto merge of #10436 - autrilla:uniform2, r=emiliobors-servo2016-04-142-122/+222
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added Uniform{2i, 2iv, 2fv, 3f, 3i, 3iv, 3fv} @emilio r? <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10436) <!-- Reviewable:end -->
| * | | Added remaining uniformsAdrian Utrilla2016-04-142-122/+222
| | | |
* | | | Remove containing_page_pipeline_idStephen (Ziyun) Li2016-04-141-10/+1
| |_|/ |/| |
* | | Auto merge of #10566 - xudifsd:error-result, r=Ms2gerbors-servo2016-04-144-20/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace Fallible<()> with ErrorResult Fixes #10541 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10566) <!-- Reviewable:end -->
| * | | replace Fallible<()> with ErrorResultDi Xu2016-04-134-20/+20
| | | |
* | | | Auto merge of #10573 - jdm:xhrintermittent, r=Manishearthbors-servo2016-04-141-0/+6
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Do not support XHR.responseXML in worker globals. Fixes #8931. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10573) <!-- Reviewable:end -->
| * | | Do not support XHR.responseXML in worker globals. Fixes #8931.Josh Matthews2016-04-131-0/+6
| | |/ | |/|
* | | Auto merge of #10565 - saurvs:master, r=Ms2gerbors-servo2016-04-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to byteorder 0.5 Finishes https://github.com/servo/servo/issues/10437. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10565) <!-- Reviewable:end -->
| * | | Update to byteorder 0.5Saurav Sachidanand2016-04-131-1/+1
| | | |
* | | | Auto merge of #10558 - frewsxcv:tr-SectionRowIndex, r=KiChjangbors-servo2016-04-133-11/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement `sectionRowIndex` property on `<tr>`. Fixes https://github.com/servo/servo/issues/10509. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10558) <!-- Reviewable:end -->
| * | | | Implement `sectionRowIndex` property on `<tr>`.Corey Farwell2016-04-123-11/+29
| | | | | | | | | | | | | | | | | | | | Fixes https://github.com/servo/servo/issues/10509.
* | | | | Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2gerbors-servo2016-04-132-3/+31
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLBaseElement attributes The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512) <!-- Reviewable:end -->
| * | | | Implement HTMLBaseElement attributesKeith Yeung2016-04-132-3/+31
| | | | |
* | | | | Use origin when manipulating cookies.Josh Matthews2016-04-131-8/+6
| | | | |