aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/globalscope.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused argument from AlreadyInRealm::assert.Josh Matthews2023-05-201-1/+1
|
* Remove global argument from Promise::new_in_current_realm.Josh Matthews2023-05-201-1/+1
|
* Make GlobalScope.get_cx a static method.Josh Matthews2023-05-201-7/+7
|
* script: fix BorrowError in (new Blob).slice(0,0).text()Delan Azabani2023-03-011-6/+9
|
* Format.Josh Matthews2022-11-231-2/+7
|
* Changes for spidermomkey upgrade.Josh Matthews2022-11-231-2/+9
|
* Add creation url and Secure ContextsJonathan Kingston2020-11-251-0/+28
|
* ran mach tidySudarsan2020-08-281-2/+1
|
* Update mozjs to 0.14.1Sudarsan2020-08-281-3/+1
| | | | | | | This update pulls in improvements on mozjs that now removes the need to pass pointers to CompileOptionsWraper::new(), allows NewProxyObject to now accept a Singleton bool and JSClass and removes an unsafe Handle::new usage.
* Change ErrorScopeId type to NonZeroU64Kunal Mohan2020-08-031-2/+2
| | | | And extract it from WebGPURequest
* Refactor and improve GPUErrorScopesKunal Mohan2020-07-301-15/+6
| | | | Remove use of equivalent BGLs
* Ensure scripts compiled off-thread can import modules.Josh Matthews2020-07-221-42/+40
|
* Added off thread compilationAbhishekSharma1022020-07-211-44/+55
| | | | | Co-authored-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: Abhishek Sharma <20724848+AbhishekSharma102@users.noreply.github.com>
* Auto merge of #27026 - CYBAI:dynamic-module, r=jdmbors-servo2020-07-191-23/+83
|\ | | | | | | | | | | | | | | | | | | Introduce dynamic module --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25439 - [x] There are tests for these changes
| * Use JS_GetScriptPrivate to get a mutated return valueCYBAI2020-07-191-3/+6
| | | | | | | | | | | | Because MSVC uses a different calling conventions for functions that return non-POD values, we need to use the new exposed wrapper function so that `GetScriptPrivate` can be handled correctly on Windows.
| * Handle script private reference hooks properlyCYBAI2020-07-181-2/+2
| |
| * Set private reference for classic scriptCYBAI2020-07-181-26/+67
| | | | | | | | | | | | | | | | | | | | | | | | Web developers can use `Dynamic Import` in a classic script; thus, we need to save the script's private reference so that we can reuse it when we're going to fetch a dynamic import module for a classic script. Besides, because it's possible to use different executing context for a dynamic import module (like `dynamic-import/string-compilation-other-document.html` WPT test), we can't initialize a module owner at the timing of `SetScriptPrivate`; thus, if the private module script doesn't hold an owner, we'll use a DynamicImport owner for it.
| * Move from direct `Evaluate` to `compile then execute` for classic scriptCYBAI2020-07-181-6/+14
| |
| * checkpoint - dynamic load inside of a module and classic script works.Josh Matthews2020-07-181-2/+10
| |
* | Ensure GPUDevice cleanup in GlobalScopeKunal Mohan2020-07-171-0/+4
| |
* | Implement Async Error reporting for WebGPU and update wgpu-coreKunal Mohan2020-07-161-0/+34
|/
* Auto merge of #27088 - jdm:group, r=ferjmbors-servo2020-07-071-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | Implement Console grouping APIs. These are used by Hubs and other sites we want to run. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #9274 - [x] These changes do not require tests because we can't test stdout content or devtools messages.
| * Implement Console grouping APIs.Josh Matthews2020-07-061-0/+19
| |
* | Update referrer computationUtsav Oza2020-07-021-2/+2
| | | | | | | | | | | | | | | | Update unit tests for determine_requests_referrer Update wpt metadata Add missing spec links
* | ensure clean shutdown of all threads running JSGregory Terzian2020-06-301-8/+34
|/
* Fix invalid use of ReferrerUrlMatthias Deiml2020-06-171-1/+1
|
* Make url for "client" referrer mandatoryMatthias Deiml2020-06-171-1/+39
|
* Implement GPUSwapChain and GPUCanvasContext and interface with WebrenderKunal Mohan2020-06-131-0/+1
|
* integrate readablestream with fetch and blobGregory Terzian2020-06-041-32/+243
|
* properly shutdown dedicated workers when the owning scope shuts-downGregory Terzian2020-06-031-1/+10
|
* add a control chan to workers, use to signal shutdownGregory Terzian2020-06-031-4/+30
|
* add mechanism to join on service- and dedicated-worker threadsGregory Terzian2020-05-291-4/+21
|
* serviceworker: make job queue unique per originGregory Terzian2020-05-211-0/+78
|
* check http_state in determine_request_referrerAlexandrov Sergey2020-05-191-0/+13
|
* Share single gpu_id_hub among all threads in a processKunal Mohan2020-05-151-5/+7
|
* implemented CreateImageBitmap function for Canvas image sourceJayalakshmiV2020-04-291-1/+70
|
* Use mozjs exposed function to generate SourceTextCYBAI2020-03-311-8/+3
|
* Update SpiderMonkeyAnthony Ramine2020-03-061-7/+12
|
* Auto merge of #25869 - iulianR:issue-23057-tinifiledialogs, r=jdmbors-servo2020-02-291-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move tinyfiledialog call from script to embedder <!-- Please describe your changes on the following line: --> PR is based on work started in #23651. I rebased on top of master and addressed review comments. Handling the `PromptPermission` message in `libsimpleservo` is probably not ideal. Looking forward to make more changes, just let me know how I should proceed. --- <!-- 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 #23057 (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. -->
| * Move tinyfiledialog out of script into embedder.gatowololo2020-02-271-0/+9
| |
| * Factored out permission_state_invocation_results API to GlobalScopegatowololo2020-02-271-0/+11
| | | | | | | | Instead of Window
* | Fixing some style related issues in WebGPU.Istvan Miklos2020-02-271-53/+3
|/ | | | | | Changed the Requests/Response from tuples to named struct variants and also sorted in alphabetical order. Replaced the ID generator functions from `globalscope` with a single function, which returns a `RefMut` and can call the appropriate method to generate resource IDs.
* Auto merge of #25740 - gterzian:per_fetch_filemanager_handle, r=Manishearthbors-servo2020-02-251-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per fetch file token for blob url <!-- Please describe your changes on the following line: --> Depends on https://github.com/servo/servo/pull/25724 First step of https://github.com/servo/servo/issues/25226 --- <!-- 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 #___ (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. -->
| * add a fetch token for blob urlsGregory Terzian2020-02-211-2/+1
| |
* | implement broadcastchannelGregory Terzian2020-02-251-3/+278
| |
* | leak message ports in dom, until they are closedGregory Terzian2020-02-221-105/+125
| |
* | Always pass InRealm to GlobalScope::from_context to avoid getting null globalCYBAI2020-02-161-6/+7
|/
* alphabetized frozen supported entry types on the global, avoid moving Heap ↵Patrick Shaughnessy2020-02-141-1/+31
| | | | into Option
* Initial implementation of GPUCommandEncoderZakor Gyula2020-02-111-2/+9
| | | | | | Added WebIDL bindings for `GPUCommandEncoder`, `GPUCommandBuffer`, `GPUComputePassEncoder`, `GPUProgrammablePassEncoder`. Implemented the `beginComputePass`, `copyBufferToBuffer` and `finish` functions of `GPUCommandEncoder`. Implemented the `createCommandEncoder` function of `GPUDevice`.
* Initial implementation of GPUComputePipelineIstvan Miklos2020-02-111-2/+7
| | | | | Added WebIDL bindings for `GPUComputePipeline`. Implemented the `createComputePipeline` function of `GPUDevice`.