aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Implement binding support for returning and accepting Promises in WebIDL.Josh Matthews2016-09-2210-20/+216
|
* Auto merge of #13333 - splav:JS-setters-fix#13327, r=jdmbors-servo2016-09-221-13/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix JS IndexedGetter and NamedSetter bindings generation <!-- Please describe your changes on the following line: --> Fix JS IndexedGetter and NamedSetter bindings generation. --- <!-- 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 #13327 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because the test will be in PR for #13129 as currently these setters are used by nobody. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13333) <!-- Reviewable:end -->
| * fix JS IndexedGetter and NamedSetter bindings generationAlexandrov Sergey2016-09-201-13/+7
| |
* | Add FetchMetadata and update corresponding methodsKeith Yeung2016-09-212-10/+20
| |
* | Use fetch infrastructure to load external scriptsKeith Yeung2016-09-211-18/+55
| |
* | Add fetch_async to PendingAsyncLoad, DocumentLoader and DocumentKeith Yeung2016-09-211-1/+10
| |
* | Implement default values for RequestInitKeith Yeung2016-09-211-0/+1
| |
* | Fix incorrect indentationKeith Yeung2016-09-211-27/+33
| |
* | Add crossorigin attribute and implement step 14 of prepare a scriptKeith Yeung2016-09-212-1/+30
| | | | | | | | Add WPT test for HTMLScriptElement crossOrigin IDL attribute
* | Update step annotations for prepare a scriptKeith Yeung2016-09-211-1/+1
| |
* | Auto merge of #13332 - servo:mozmap, r=jdmbors-servo2016-09-216-54/+254
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the MozMap type. Fixes #13144. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13332) <!-- Reviewable:end -->
| * | Implement the MozMap type.Ms2ger2016-09-216-7/+207
| | | | | | | | | | | | Fixes #13144.
| * | Introduce wrapInNativeContainerType.Ms2ger2016-09-211-3/+12
| | |
| * | Use innerContainerType in getConversionConfigForType.Ms2ger2016-09-211-1/+1
| | |
| * | Rename innerSequenceType to innerContainerType.Ms2ger2016-09-211-4/+4
| | |
| * | Handle unsupported types better in getUnionTypeTemplateVars.Ms2ger2016-09-211-13/+1
| | |
| * | Improve handling of ConversionResult::Failure in unions.Ms2ger2016-09-211-21/+19
| | |
| * | Improve jsid_to_str's name and documentation.Ms2ger2016-09-212-5/+10
| | |
* | | Implement minlength for text inputsTaryn Hill2016-09-213-4/+32
|/ /
* | Auto merge of #13309 - anholt:webgl-fbo-prep, r=emiliobors-servo2016-09-202-1/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webgl: FBO support preparation <!-- Please describe your changes on the following line: --> Sending this PR now so that we can get the webrender patches merged. This is prep for the webgl-fbo series, with one small fix for some conformance 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 - [ ] These changes fix #__ (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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13309) <!-- Reviewable:end -->
| * | webgl: Do validation that the framebuffer is complete for FBO operations.Eric Anholt2016-09-212-0/+63
| | | | | | | | | | | | | | | Given that we can't make a complete FBO yet, just return false from the status check.
| * | webgl: Don't forget update WebGL's texture binding on unbind.Eric Anholt2016-09-211-0/+1
| | | | | | | | | | | | | | | This doesn't appear to fix any testcases, but I noticed it when fixing renderbuffers.
| * | webgl: Don't forget to update the WebGL context's RB binding.Eric Anholt2016-09-211-1/+3
| | | | | | | | | | | | | | | We need to track the RB in the DOM context for getParameter(gl.RENDERBUFFER_BINDING), among others.
| * | webgl: Update the match for WebGLError's new InvalidFramebufferOperation.Eric Anholt2016-09-211-0/+1
| | |
* | | Bring referrer policy delivery to <a> and <link> via rel attributeYing-Ruei Liang(KK)2016-09-207-28/+38
|/ /
* | Replace current session entry for reloadsConnor Brewster2016-09-195-11/+13
| |
* | Auto merge of #13306 - Jenselme:13247-decode-utf8-with-utf8-lossy, r=Ms2gerbors-servo2016-09-191-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decode UTF-8 with from_utf8_lossy in DedicatedWorkerGlobalScope <!-- 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 - [X] These changes fix #13247 <!-- Either: --> - [X] There are tests for these changes: `./mach test-wpt /workers/semantics/encodings/004.worker` passes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13306) <!-- Reviewable:end -->
| * | Decode UTF-8 with from_utf8_lossy in DedicatedWorkerGlobalScopeJulien Enselme2016-09-191-7/+7
| | |
* | | Fix my typo on commit. Rest of the fixes will be here soon.Arthur Marble2016-09-181-4/+4
| | |
* | | Made fixes for PR.Arthur Marble2016-09-1812-108/+108
| | |
* | | One last refactoring before fixingArthur Marble2016-09-181-1/+1
| | |
* | | Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-1885-467/+467
| | |
* | | More code refactoring (exampleVar to example_var)Arthur Marble2016-09-185-38/+38
| | |
* | | Refactored a bluetooth* related files from codeStyle to code_style.Arthur Marble2016-09-185-32/+32
| | |
* | | Refactored a couple of files from codeStyle to code_style.Arthur Marble2016-09-173-10/+10
| | |
* | | Refactor isClosed_ to is_closed and relativeContentType to ↵Arthur Marble2016-09-171-7/+7
| | | | | | | | | | | | relative_content_type.
* | | Replace typeString with type_string.Arthur Marble2016-09-172-7/+7
| | |
* | | Refactored metaKey to meta_key where possibleArthur Marble2016-09-176-10/+10
| | |
* | | This commit refactors altKey to alt_key when possible.Arthur Marble2016-09-176-10/+10
| | |
* | | This commit refactors shiftKey to shift_key where possible.Arthur Marble2016-09-176-10/+10
| | |
* | | This commit refactors ctrlKey to ctrl_key wherever possible.Arthur Marble2016-09-176-10/+10
|/ /
* | implement ExtendableEvent as base type for ServiceWorker eventsRahul Sharma2016-09-176-3/+218
| |
* | Auto merge of #12703 - sjmelia:12343_test_activation, r=Manishearthbors-servo2016-09-163-0/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Issue 12343: Add pref-gated methods and test for activatable element <!-- Please describe your changes on the following line: --> Add methods to activatable elements; gated by a preference, for use in servo-specific WPT tests. I cargo-culted over the "redundant check" from #12322, I don't really understand the possible exploit. Obvious flaw is the copypasta for each element. I understand that the webidl codegen will produce a trait for ActivatableElement, but I can't see how I can provide a default implementation for this? I guess otherwise could be an improvement to have each element just delegate to an Enter.../Exit... method on the Activatable trait? --- <!-- 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 #12343 (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. --> …states <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12703) <!-- Reviewable:end -->
| * | Issue 12343: Add pref-gated methods and test for activatable element statesSteve Melia2016-08-083-0/+37
| | |
* | | Auto merge of #13294 - 6112:referrer-typo-fix, r=jdmbors-servo2016-09-162-11/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix most typoes for: "referer" -> "referrer" Replace most uses of the word "referer" with "referrer", except for `hyper::header::Referer`. Also update the unit tests to compile & pass after those changes. --- <!-- 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 #13286 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they're only typo fixes. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13294) <!-- Reviewable:end -->
| * | | Fix most typoes for: "referer" -> "referrer"Nicolas2016-09-162-11/+11
| | | |
* | | | Auto merge of #12202 - peterjoel:issue_8509, r=noxbors-servo2016-09-166-2/+1201
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOMMatrix and DOMMatrixReadOnly <!-- 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 - [X] These changes fix #8509. <!-- 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. --> <!-- 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/12202) <!-- Reviewable:end -->
| * | | DOMMatrix and DOMMatrixReadOnlyPeter2016-09-156-2/+1201
| | | | | | | | | | | | | | | | Updated test expectations
* | | | Auto merge of #13280 - tizianasellitto:issue_13019, r=jdmbors-servo2016-09-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make DOMTokenList Iterable Make DOMTokenList Iterable. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13019 - [X] There are tests for these changes (It adds tests/wpt/web-platform-tests/dom/lists/DOMTokenList-Iterable.html) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13280) <!-- Reviewable:end -->
| * | | | Make DOMTokenList IterableTiziana Sellitto2016-09-151-0/+1
| |/ / /