aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* refactor extra permission dataAttila Dusnoki2017-02-143-71/+18
|
* Move extra permission data to windowAttila Dusnoki2017-02-134-30/+59
|
* Fix BluetoothPermissionResult return stateAttila Dusnoki2017-02-132-3/+4
|
* Use rooted_vec instead of Vec<JS<T>>Zakor Gyula2017-02-131-5/+4
|
* Add pref to ignore popup in testingAttila Dusnoki2017-02-132-7/+10
|
* Fix comments, and lesser modificationsZakor Gyula2017-02-135-29/+25
|
* Refactor permission operations into one functionAttila Dusnoki2017-02-131-96/+71
|
* Fix popup build errorAttila Dusnoki2017-02-131-11/+18
|
* Fix Permissions and Bluetooth prefsAttila Dusnoki2017-02-135-5/+5
|
* Bluetooth Permission API integrationZakor Gyula2017-02-1311-37/+458
|
* Modify CodegenRust.py to import structs from sequence return valuesZakor Gyula2017-02-131-0/+2
|
* Permission APIAttila Dusnoki2017-02-139-3/+412
|
* Auto merge of #15368 - szeged:get_availability, r=noxbors-servo2017-02-132-2/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement GetAvailability for Bluetooth <!-- Please describe your changes on the following line: --> This implements the [getAvailability](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-getavailability) function from the spec. --- <!-- 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/15368) <!-- Reviewable:end -->
| * Implement GetAvailability for BluetoothAttila Dusnoki2017-02-082-2/+19
| |
* | Auto merge of #15525 - szeged:step-reorder, r=Wafflespeanutbors-servo2017-02-131-9/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorder startNotifications steps <!-- Please describe your changes on the following line: --> https://github.com/WebBluetoothCG/web-bluetooth/pull/355 changed the step order in startNotifications. The connection check is now Step 2 instead of Step 6. Link for the current spec state: https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-startnotifications Step annotations are also updated for this function. --- <!-- 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] 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. --> <!-- 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/15525) <!-- Reviewable:end -->
| * | Reorder startNotifications stepsZakor Gyula2017-02-101-9/+9
| | |
* | | Rewrite TextEncoder::Encode to use typed array API. Fixes #15504Michael Nelson2017-02-131-9/+5
| | |
* | | Kill dead codeAnthony Ramine2017-02-121-27/+7
| | |
* | | Remove slice_to_array_buffer_view and update_array_buffer_viewderor18691072017-02-115-42/+54
| | |
* | | Make typed_array_or_sequence_to_vec support typed arrays.Josh Matthews2017-02-101-21/+31
| | |
* | | Use TypedArrayderor18691072017-02-102-92/+37
| | |
* | | Clean up and simplify the accumulation of restyle damage.Bobby Holley2017-02-101-2/+2
| | |
* | | Allow the ComputedValues in ComputedStyle to be null.Bobby Holley2017-02-101-1/+1
| | | | | | | | | | | | | | | This is necessary to start synthesizing the styles in match_element and avoid round-tripping them through the caller.
* | | Auto merge of #15475 - kekkyojin:bb15436, r=jdmbors-servo2017-02-095-10/+9
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only expose Storage/StorageEvent in Window <!-- Please describe your changes on the following line: --> This patch removes Worker scope from Storage and StorageEvent WebIDL definition. This way it is possible to construct the objects passing Window instead of GlobalScope. It also removes some tests as they would run out of the scope. It removes Worker from the WebIDL files defining the Storage and StorageEvent interfaces, as they should not be exposed in that scope. In Rust source code, this patch replaces "GlobalScope" with "Window" on the contructors. It also modifies constructor calling code in order to pass Window instead of the previously used GlobalScope. There has been removed these interfaces from the Worker tests. (This time I did a real build and real tests. Sorry about previous pull requests, I am used to the Mozilla flow, which doesn't uses GitHub) --- <!-- 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 #15436 (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/15475) <!-- Reviewable:end -->
| * | Only expose Storage/StorageEvent in WindowJavier Rueda2017-02-095-10/+9
| |/
* | Box larger specified values to avoid memmove impactNazım Can Altınova2017-02-091-5/+5
| |
* | Bug 1336646 - Apply selector flags during traversal. r=emilioBobby Holley2017-02-084-36/+45
| |
* | Auto merge of #15447 - bholley:in_tree_selectors, r=SimonSapinbors-servo2017-02-081-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rust-selectors into servo/servo See the thread at [1]. [1] https://groups.google.com/d/msg/mozilla.dev.servo/iHykieVC5SM/Z31_n0agBAAJ <!-- 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/15447) <!-- Reviewable:end -->
| * | Move rust-selectors in-tree.Bobby Holley2017-02-071-1/+1
| |/
* | Auto merge of #15453 - servo:unwrapCastableObject, r=noxbors-servo2017-02-081-24/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | Inline unwrapCastableObject into its only caller. <!-- 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/15453) <!-- Reviewable:end -->
| * | Inline unwrapCastableObject into its only caller.Ms2ger2017-02-081-24/+11
| |/
* | Remove unused Descriptor.needsRooting field.Ms2ger2017-02-081-3/+0
| |
* | Remove typeNeedsRooting().Ms2ger2017-02-081-7/+0
| | | | | | | | | | | | It is only used once, in a case where it can never have an effect: in case for it to do something, both returnType.isDictionary() and returnType.isGeckoInterface() would need to be true at the same time.
* | Remove pointless assertion in the typedef code.Ms2ger2017-02-082-1/+1
| |
* | Cleanup formatting for typedefs.Ms2ger2017-02-081-5/+10
| |
* | Fix typo in the non-union code path for typedefs.Ms2ger2017-02-082-1/+2
| |
* | Support using typedefs with nullable unions.Ms2ger2017-02-082-1/+3
|/
* Auto merge of #15440 - KiChjang:selectors, r=KiChjangbors-servo2017-02-073-6/+6
|\ | | | | | | | | | | Update selectors to 0.17 Closes #15434.
| * Update selectors to 0.17Anthony Ramine2017-02-073-6/+6
| |
* | Update byteorder, xi-unicode, x11Matt Brubeck2017-02-071-1/+1
|/
* Make {get,ensure}_expando_object unsafe.Ms2ger2017-02-071-20/+16
| | | | They trust the caller-provided raw pointers to be valid.
* Properly root expando objects.Ms2ger2017-02-072-21/+27
|
* Remove a gate for the stabilized more_struct_aliases feature.Ms2ger2017-02-061-1/+0
|
* Basic handling framework for presentation attributes in Stylo, with handling ↵Manish Goregaokar2017-02-031-17/+4
| | | | | | | | | | | | | | | | | | for font-size and color This introduces a basic framework for servo's style system to be able to query the style of presentation attributes which it can then insert into the cascade. It uses that framework to implement the size and color attributes on <font>. There are a number of improvements that can be done on top of this: - Implement all other properties - Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead - Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this) - Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko I'd prefer for these to be done in separate steps.
* Auto merge of #15359 - ↵bors-servo2017-02-034-13/+64
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freeatnet:15332-macroed-event-handlers-check-for-window, r=KiChjang Event handlers forwarded to a window check for window presence <!-- Please describe your changes on the following line: --> This change adds a check for the presence of a window in event handlers of `body` and `frameset` that are forwarded to the window. --- <!-- 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 #15332 <!-- 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. --> I'm new to both Servo and Rust — so any suggestions for improvement are very welcome. <!-- 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/15359) <!-- Reviewable:end -->
| * Refactor some window_from_node calls based on feedbackArseniy Ivanov2017-02-033-25/+37
| |
| * Extend window presence checks to non-native event handlersArseniy Ivanov2017-02-031-10/+40
| |
| * Check for the presence of a window when working with event handlers ↵Arseniy Ivanov2017-02-033-3/+12
| | | | | | | | forwarded to the window
* | Auto merge of #15303 - nox:open-your-heart-to-eternal-dimension, r=jdmbors-servo2017-02-036-33/+342
|\ \ | | | | | | | | | | | | | | | | | | | | | Implement document.open and document.close <!-- 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/15303) <!-- Reviewable:end -->
| * | Implement document.open and document.close (fixes #14591)Anthony Ramine2017-02-036-33/+342
| |/