aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Implement WebGL scissor methodDavid Zbarsky2015-12-152-1/+8
|
* Auto merge of #8991 - nox:clean-construct-hook, r=frewsxcvbors-servo2015-12-161-37/+14
|\ | | | | | | | | | | | | | | | | | | Merge CGClassConstructHook and CGClassNameConstructHook (fixes #8934) Fixes #8934. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8991) <!-- Reviewable:end -->
| * Merge CGClassConstructHook and CGClassNameConstructHook (fixes #8934)Anthony Ramine2015-12-151-37/+14
| |
* | Bump string_cache version to 0.2.5.Alan Jeffrey2015-12-151-8/+8
|/ | | | | Atom::to_lower_case() now returns an Atom rather than a String, so there are a few asserts that need a different collection of &s and *s.
* Fix invalid returned value for dictionary typesGuillaume Gomez2015-12-152-2/+3
|
* Add pipeline information to CSS error reporting.GauriGNaik2015-12-144-4/+12
|
* Auto merge of #8963 - Aesthetikx:unforgeable-istrusted, r=jdmbors-servo2015-12-1412-0/+63
|\ | | | | | | | | | | | | | | | | | | | | | | Make Event's isTrusted attribute unforgeable Three failure expectations were able to be removed from `tests/wpt/web-platform-tests/dom/interfaces.html`. This is my first commit to servo and my first time with rust, hopefully I didn't overlook anything. Fixes #8956. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8963) <!-- Reviewable:end -->
| * Make Event's isTrusted attribute unforgeableJohn DeSilva2015-12-1312-0/+63
| |
* | Auto merge of #8966 - GuillaumeGomez:patch-1, r=noxbors-servo2015-12-141-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix invalid dictionary inheritance Needed by #8882. cc @nox <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8966) <!-- Reviewable:end -->
| * | Fix invalid dictionary inheritanceGuillaume Gomez2015-12-141-1/+2
| | |
* | | Auto merge of #8955 - askobara:docs-htmlformelement-get_form_dataset, r=wafflesbors-servo2015-12-142-10/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add comments for the "Constructing the form data set" algorithm Fixes #7852 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8955) <!-- Reviewable:end -->
| * | | Add comments for the "Constructing the form data set" algorithmArthur Skobara2015-12-142-10/+22
| |/ /
* | | Auto merge of #8964 - nox:replacewith, r=frewsxcvbors-servo2015-12-141-12/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Node::replace_with <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8964) <!-- Reviewable:end -->
| * | | Fix Node::replace_withAnthony Ramine2015-12-141-12/+18
| |/ /
* | | Auto merge of #8761 - dzbarsky:gl_functions, r=dzbarskybors-servo2015-12-144-89/+252
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Implement some more WebGL functions r? @ecoal95 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8761) <!-- Reviewable:end -->
| * | Implement various WebGL functionsDavid Zbarsky2015-12-134-89/+252
| | |
* | | Auto merge of #8854 - KiChjang:undefined-as-missing, r=frewsxcvbors-servo2015-12-131-5/+5
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat 'undefined' passed to optional JS arguments as missing @frewsxcv please don't hurt me for this. I've added an AND condition to check whether the value being passed is undefined while checking whether the argument exists at all. Essentially, this is now treating undefined arguments the same as missing arguments. Fixes #8813. Fixes #6558. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8854) <!-- Reviewable:end -->
| * | Treat undefined arguments in JS as missingKeith Yeung2015-12-121-5/+5
| | |
* | | Remove from Trusted::new an unnecessary argumentArthur Skobara2015-12-1211-22/+21
| |/ |/|
* | Auto merge of #8942 - Ms2ger:rename-bc, r=noxbors-servo2015-12-124-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | Rename the browsercontext module. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8942) <!-- Reviewable:end -->
| * | Rename the browsercontext module.Ms2ger2015-12-114-4/+4
| |/
* | Remove unused imports.Ms2ger2015-12-129-9/+0
| |
* | Auto merge of #8935 - Ms2ger:get_or_create, r=Manishearthbors-servo2015-12-122-34/+2
|\ \ | |/ |/| | | | | | | | | | | Avoid some rooting in parsing. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8935) <!-- Reviewable:end -->
| * Avoid some rooting in parsing.Ms2ger2015-12-112-34/+2
| |
* | Auto merge of #8930 - frewsxcv:event-type-atom, r=noxbors-servo2015-12-1122-107/+128
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Pass around event types as Atoms instead of Strings `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8930) <!-- Reviewable:end -->
| * Pass around event types as Atoms instead of StringsCorey Farwell2015-12-1022-107/+128
| | | | | | | | | | | | `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways.
* | Auto merge of #8918 - Ms2ger:trace, r=noxbors-servo2015-12-111-16/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | Initialize the slots of global objects before a possible GC. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8918) <!-- Reviewable:end -->
| * | Initialize the slots of global objects before a possible GC.Ms2ger2015-12-101-16/+10
| | |
* | | Auto merge of #8926 - frewsxcv:no-map, r=SimonSapinbors-servo2015-12-111-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prefer 'if let' over 'map() with side effects' <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8926) <!-- Reviewable:end -->
| * | | Prefer 'if let' over 'map() with side effects'Corey Farwell2015-12-101-4/+12
| | |/ | |/|
* / | Fix warnings: Use Vec.extend_from_slice instead of Vec.push_allTetsuharu OHZEKI2015-12-102-6/+6
|/ /
* | Auto merge of #8909 - cnaj:msg_refactoring, r=jdmbors-servo2015-12-1012-15/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move ScriptMsg to script_traits crate, Fixes #8833 Review of documentation that was missing needed. Fixes #8833. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8909) <!-- Reviewable:end -->
| * | Move ScriptMsg from msg crate into script_traitsTomas Cernaj2015-12-0912-15/+13
| |/
* / Implement responseXML API and document response type for XHRJitendra Jain2015-12-092-4/+116
|/
* Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdmbors-servo2015-12-081-101/+55
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move websocket creation to resource task This is a pull request for part of https://github.com/servo/servo/issues/6638 It includes the following changes: -The websocket networking code (ie. making a connection, receiving data, and sending data) has been extracted out of components/script/dom/websocket.rs and into the new file components/net/websocket_loader.rs. -websocket.rs now communicates with the resource task (components/net/resource_task.rs) to instruct it to initiate a new websocket connection - websocket_loader.rs now provides an API sent over an IPCChannel that allows websocket.rs to receive feedback about this process and to subsequently send and receive data <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8867) <!-- Reviewable:end -->
| * move websocket creation to resource taskNova Fallen2015-12-081-101/+55
| |
* | Auto merge of #8827 - jdm:debugmozjscrash, r=Ms2gerbors-servo2015-12-081-22/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid a null-dereference using debug mozjs builds. This matches the e… …quivalent code upstream in Gecko. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8827) <!-- Reviewable:end -->
| * | Avoid a null-dereference using debug mozjs builds. This matches the ↵Josh Matthews2015-12-071-22/+9
| | | | | | | | | | | | equivalent code upstream in Gecko.
* | | Auto merge of #8876 - ecoal95:webgl-nits, r=jdmbors-servo2015-12-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebGL nits This improves support for running our triangle test (see: https://github.com/servo/servo/pull/8831), and adds missing error in `BufferSubData` <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8876) <!-- Reviewable:end -->
| * | | webgl: Add correct error handling to BufferSubDataEmilio Cobos Álvarez2015-12-071-1/+1
| | |/ | |/| | | | | | | | | | | | | From the WebGL spec: > If data is null then an INVALID_VALUE error is generated.
* | | Auto merge of #8862 - fstr:move_workerid, r=Ms2gerbors-servo2015-12-084-7/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Moved WorkerId type to devtools_traits Fixes #8846. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8862) <!-- Reviewable:end -->
| * | Moved WorkerId type to devtools_traitsFlorian Strübe2015-12-074-7/+8
| | |
* | | Auto merge of #8853 - KiChjang:generic-task-sources, r=jdmbors-servo2015-12-0711-39/+98
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Split fn script_chan into 5 different task channel fn Partial #7959. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8853) <!-- Reviewable:end -->
| * | Split fn script_chan into 5 different task channel fnKeith Yeung2015-12-0611-39/+98
| | |
* | | Auto merge of #8831 - simartin:ticket_6791, r=eefriedmanbors-servo2015-12-071-7/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #6791: Allow more array types in bufferData and bufferSubData. Fix https://github.com/servo/servo/issues/6791 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8831) <!-- Reviewable:end -->
| * | | Issue #6791: Allow more array types in bufferData and bufferSubData.Simon Martin2015-12-061-7/+3
| | |/ | |/|
* | | move FocusType enum to the script crateRoman Klauke2015-12-062-3/+9
| | | | | | | | | | | | | | | | | | | | | This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`. Fixes #8840
* | | Implement IsPointInPathDavid Zbarsky2015-12-052-6/+18
| | |
* | | Add link to issue for :visitedSimon Sapin2015-12-051-0/+1
| | |
* | | Auto merge of #8812 - jitendra29:support-withCredentials, r=jdmbors-servo2015-12-051-0/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | M1504: Implement basic support for withCredentials API The pull request includes the following task: * Implemented basic network-level support by adding a member to LoadData that is used by http_loader.rs to conditionally exclude cookies from the HTTP request if the flag is false (default true) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8812) <!-- Reviewable:end -->