aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #21341 - servo:webgl, r=avadacatavrabors-servo2018-08-232-140/+154
|\ | | | | | | | | | | | | | | | | | | Properly check limit in gl.activeTexture() Fixes #20531. <!-- 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/21341) <!-- Reviewable:end -->
| * Properly check limit in gl.activeTexture()Anthony Ramine2018-08-232-140/+154
| |
* | Auto merge of #21430 - Eijebong:ws-origin, r=jdmbors-servo2018-08-225-6/+17
|\ \ | |/ |/| | | | | | | | | | | Properly set the origin on websocket messages <!-- 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/21430) <!-- Reviewable:end -->
| * Properly set the origin on websocket messagesBastien Orivel2018-08-165-6/+17
| |
* | Upgraded to SM 60Alan Jeffrey2018-08-2026-308/+327
|/
* Auto merge of #21394 - servo:jdm-patch-6, r=cbrewsterbors-servo2018-08-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Remove unnecessary CEReactions. This incorporates a spec update in https://github.com/whatwg/html/pull/3901. <!-- 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/21394) <!-- Reviewable:end -->
| * Remove unnecessary CEReactions.Josh Matthews2018-08-131-1/+1
| | | | | | This incorporates a spec update in https://github.com/whatwg/html/pull/3901.
* | Auto merge of #21372 - Eijebong:num-traits, r=jdmbors-servo2018-08-141-1/+1
|\ \ | |/ |/| | | | | | | | | | | Dedupe num-traits <!-- 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/21372) <!-- Reviewable:end -->
| * Dedupe num-traitsBastien Orivel2018-08-091-1/+1
| |
* | make auxiliary browsing-context script-closeableGregory Terzian2018-08-111-3/+3
| |
* | iframe: use value of name attr to set nested bc nameGregory Terzian2018-08-111-1/+14
| |
* | implement opener, disowningGregory Terzian2018-08-115-20/+148
| |
* | implement window.open, create auxiliary browsing contextGregory Terzian2018-08-116-52/+251
|/
* Auto merge of #21357 - emilio:gecko-sync, r=emiliobors-servo2018-08-071-8/+0
|\ | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit. <!-- 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/21357) <!-- Reviewable:end -->
| * Fix Servo build.Emilio Cobos Álvarez2018-08-081-8/+0
| |
* | Revert "Fix the build for NLL"Josh Matthews2018-08-073-5/+5
|/ | | | This reverts commit d1733aa5029c5b97390a236d94eed916ddb64577.
* Fix the build for NLLSimon Sapin2018-08-083-5/+5
| | | | | | Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build` https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7
* Auto merge of #21218 - gterzian:root_cloned_blobs, r=jdmbors-servo2018-08-071-5/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a structured clone holder to store rooted clones <!-- 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 #21164 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/21218) <!-- Reviewable:end -->
| * use a structured clone holder to store rooted clonesGregory Terzian2018-08-071-5/+14
| |
* | WR updatePaul Rouget2018-08-061-3/+3
| |
* | Merge code from Draw* and Draw*Instanced methodsAnthony Ramine2018-08-021-122/+22
| | | | | | | | | | This made me realise we weren't supporting OES_element_index_uint in the ANGLE_instanced_arrays extension.
* | Auto merge of #21324 - servo:webgl, r=emiliobors-servo2018-08-022-71/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | Properly set initial values for WebGL texture filters <!-- 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/21324) <!-- Reviewable:end -->
| * | Use the DOM cache for gl.getTexParameter(gl.TEXTURE_*_FILTER)Anthony Ramine2018-08-022-61/+75
| | | | | | | | | | | | Part of #20596.
| * | Properly set initial values for WebGL texture filtersAnthony Ramine2018-08-021-22/+20
| | |
* | | Auto merge of #21313 - jdm:glstuff, r=noxbors-servo2018-08-026-26/+53
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Framebuffer and renderbuffer fixes This commits address two separate panics that occur when running the framebuffer-object-attachment.html test. The test still panics due to another framebuffer completion status problem, so the overall test results don't demonstrate any improvement. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21252 - [x] There are tests for these changes <!-- 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/21313) <!-- Reviewable:end -->
| * | webgl: Emulate some renderbuffer formats in non-GLES.Josh Matthews2018-08-025-25/+48
| | |
| * | webgl: Mark zero-sized framebuffers as incomplete attachments.Josh Matthews2018-08-011-1/+5
| | |
* | | Always use a WebGLVertexArrayObject to handle vertex attribsAnthony Ramine2018-08-026-558/+439
|/ / | | | | | | This lets us clean up how buffers are reference-counted.
* | Auto merge of #21158 - ferjm:webaudio, r=manishearth,nox,ferjmbors-servo2018-07-3130-1/+2802
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebAudio API - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #6710 - [X] There are tests for these changes This PR adds basic support for the WebAudio API using [servo-media](https://github.com/servo/media) with GStreamer as the audio backend. There are still some major stuff to fix like: - [x] Detach ArrayBuffer during the [AudioBuffer "acquire the content" operation](https://webaudio.github.io/web-audio-api/#acquire-the-content). I am naively using `JS_StealArrayBufferContents()` directly, because it is what Gecko uses, but this should probably be part of the [rust-mozjs](https://github.com/servo/rust-mozjs) [TypedArray](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs) API. And, in any case, I am not even sure if that's the proper way to do it. According to the results of the WPTs it may not even be right since [this assertion](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs#L285) is failing in some cases. I need to dig more about this. - [x] Disable the GStreamer dependency on Android. Unfortunately gstreamer-rs requires an NDK version upgrade, so we need to disable this for Android until then. I tried adding [different features to servo-media](https://github.com/servo/media/pull/79), but I am currently hitting [this issue](https://github.com/rust-lang/cargo/issues/1197) I still need to run servo-tidy, change the servo-media dependency to use the git repo and add/fix some comments and TODOs. The remaining feature work should be done in future PRs. Note that most of the failing WPTs are failing because we don't implement the tested features yet (we only implement a few AudioNodes) and we have no OfflineAudioContext support, which most WPTs rely on. <!-- 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/21158) <!-- Reviewable:end -->
| * | 48000 -> 44100Manish Goregaokar2018-07-301-1/+1
| | |
| * | Use JS_GetArrayBufferViewBuffer with JS_DetachArrayBufferManish Goregaokar2018-07-301-3/+9
| | |
| * | Throw if AudioBufferSourceNode.Start params are negativeFernando Jiménez Moreno2018-07-302-16/+28
| | |
| * | Make OfflineAudioContextOptions spec compliantFernando Jiménez Moreno2018-07-302-25/+21
| | |
| * | Get rooting out of AudioBuffer::new_inheritedFernando Jiménez Moreno2018-07-301-39/+38
| | |
| * | OfflineAudioContextFernando Jiménez Moreno2018-07-308-31/+343
| | |
| * | Fix rebase mistakeFernando Jiménez Moreno2018-07-301-1/+0
| | |
| * | Add AudioParam connection supportManish Goregaokar2018-07-303-6/+45
| | |
| * | Fire AudioScheduledSourceNode.onended when playback stopsFernando Jiménez Moreno2018-07-302-2/+32
| | |
| * | Enter compartment during AudioBuffer creationFernando Jiménez Moreno2018-07-301-1/+2
| | |
| * | Root JS channels during AudioBuffer constructionFernando Jiménez Moreno2018-07-301-3/+6
| | |
| * | Remove commented codeFernando Jiménez Moreno2018-07-301-1/+0
| | |
| * | Do not copy initial data during AudioBuffer construction and use ↵Fernando Jiménez Moreno2018-07-301-19/+22
| | | | | | | | | | | | JS_DetachArrayBuffer
| * | Fix build errors after rebaseFernando Jiménez Moreno2018-07-302-4/+4
| | |
| * | AudioParam value getterFernando Jiménez Moreno2018-07-301-20/+20
| | |
| * | test-tidy fixesFernando Jiménez Moreno2018-07-309-23/+42
| | |
| * | Update servo-media after crate split up. Allows building for AndroidFernando Jiménez Moreno2018-07-303-5/+6
| | |
| * | Remove unimplemented PeriodicWave stubFernando Jiménez Moreno2018-07-305-63/+2
| | |
| * | Mark DecodeResolver as must_rootFernando Jiménez Moreno2018-07-302-2/+3
| | |
| * | Reference issue to support the AudioScheduledSourceNode.ended eventFernando Jiménez Moreno2018-07-301-0/+1
| | |
| * | AudioParam automation rate setterFernando Jiménez Moreno2018-07-302-3/+29
| | |