Nika Layzell
d036b747e7
Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8
...
Rather than adding a native type for nsID objects in WebIDL, this patch just
takes the approach of switching consumers over to using 'any' and calling the
APIs defined in Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D2283
2018-11-16 17:27:39 -05:00
Nika Layzell
fe2f2478f7
Bug 1477432 - Part 2: Avoid using nsIJSID in GenerateQI, and produce better diagnostics, r=kmag
...
This is the first part of hiding the implementation of nsIJSID behind the
interface added in Part 1, such that we can substitute that implementation out.
I had to make a couple of changes to fix the errors caused by the new behaviour
in GenerateQI.
Differential Revision: https://phabricator.services.mozilla.com/D2279
2018-11-16 17:27:31 -05:00
Felipe Gomes
d29b83833f
Bug 1496840
- Add a browsingContext getter to the browser element. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D7935
--HG--
extra : moz-landing-system : lando
2018-11-12 17:57:48 +00:00
Nika Layzell
2b21840f81
Bug 1489301 - Part 4: Remove unnecessary [Exposed=System] annotations, r=bzbarsky
...
We don't need to expose on both Window and System anymore, as Window now
implies System. I don't remove unnecessary [Exposed=Window] annotations, as
WebIDL upstream has removed PrimaryGlobal.
Differential Revision: https://phabricator.services.mozilla.com/D9399
2018-10-23 16:03:51 -04:00
Daniel Varga
5255e1718f
Backed out 6 changesets (bug 1489301) for Linting opt failure at /builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py
...
Backed out changeset 1c0823540b44 (bug 1489301)
Backed out changeset 529524df76a6 (bug 1489301)
Backed out changeset f34bc8a40bec (bug 1489301)
Backed out changeset 168cf9cea716 (bug 1489301)
Backed out changeset 19ca10fa3772 (bug 1489301)
Backed out changeset ff8fb091198e (bug 1489301)
2018-10-23 03:49:00 +03:00
Nika Layzell
0562b4b23b
Bug 1489301 - Part 4: Remove unnecessary [Exposed=System] annotations, r=bzbarsky
...
We don't need to expose on both Window and System anymore, as Window now
implies System. I don't remove unnecessary [Exposed=Window] annotations, as
WebIDL upstream has removed PrimaryGlobal.
Differential Revision: https://phabricator.services.mozilla.com/D9399
2018-10-22 20:15:47 -04:00
Jim Blandy
4c4f2bf1a3
Bug 1494195
- Back out bug 1491946, using '.fxsnapshot.gz' for memory heap snapshots. r=fitzgen
2018-10-11 15:13:47 -07:00
Jim Blandy
5c185b4f8f
Bug 1491946: Save devtools heap snapshots with the extension '.fxsnapshot.gz'. r=fitzgen
2018-09-17 11:57:42 -07:00
shindli
957b91ec70
Backed out changeset 2defd19a1467 (bug 1491946) for ES lint failure
2018-09-24 10:37:54 +03:00
Jim Blandy
4634133ae0
Bug 1491946: Save devtools heap snapshots with the extension '.fxsnapshot.gz'. r=fitzgen
2018-09-17 11:57:42 -07:00
Cosmin Sabou
679b5e2db1
Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
...
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight
93b3b0138c
Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
...
This patch was generated by my modeline.py script.
MozReview-Commit-ID: EbVjPLwiUAT
Depends on D4159
Differential Revision: https://phabricator.services.mozilla.com/D4161
--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Andrea Marchesini
7b40fcb2a2
Bug 1489844 - Port DOMPrefs to StaticPrefs - part 24 - dom_performance_enable_scheduler_timing, r=ehsan
2018-09-10 20:36:18 +02:00
Andreas Farre
82694e9ac3
Bug 1481238 - Create WebIDL interface for BrowsingContext. r=peterv
...
Expose Chrome only WebIDL to interface with BrowsingContext from
script. The API consists of parent, firstChild and nextSibling
attributes for BrowsingContext, and the browsingContext attribute for
Window.
--HG--
extra : rebase_source : 772d25e8b4e5526453545ddb2b1607845f3b65ea
2018-08-29 05:00:00 +03:00
Tarek Ziadé
a3fdf4760e
Bug 1477943 - Add a unique id per PerformanceCounter instance - r=baku,froydnj
...
This new id is added in the PerformanceInfo data and helps consumers distinguish
counters.
MozReview-Commit-ID: 7kEmqJcVggM
--HG--
extra : rebase_source : 40cca4c937f846db93ec1315036ad1bac04bc762
2018-07-27 11:44:22 +02:00
Tarek Ziadé
4c1f27f6b2
Bug 1474286 - Throw a JS exception in ChromeUtils::RequestPerformanceMetrics if pref is off - r=baku
...
This change will avoid unecessary IPDL messages and potentially, content processes crashes.
MozReview-Commit-ID: HHUEXz7ePEQ
--HG--
rename : dom/tests/browser/browser_test_performance_metrics.js => dom/tests/browser/perfmetrics/browser_test_performance_metrics.js
rename : dom/tests/browser/ping_worker.html => dom/tests/browser/perfmetrics/ping_worker.html
rename : dom/tests/browser/ping_worker.js => dom/tests/browser/perfmetrics/ping_worker.js
rename : dom/tests/browser/ping_worker2.html => dom/tests/browser/perfmetrics/ping_worker2.html
extra : rebase_source : b3d90cd22ed68fe7e09f44fe4145b9cde0dfafa1
2018-07-26 10:28:39 +02:00
Tarek Ziadé
47344f4b4a
Bug 1474253 - Improve ReportPerformanceInfo() - r=baku
...
- modifies how we get the top window id, adds isTopLevel
- renames pwid to windowId, worker to isWorker
- removes the wid field
- uses the url in case the host is empty
It also fixes PerformanceInfoDictionary.host type
MozReview-Commit-ID: 4AzO3UnJ2LM
--HG--
extra : rebase_source : 5dee8a650064fd45e7a9e694c2593d517f74d766
2018-07-10 09:58:48 +02:00
Tarek Ziadé
bcf6f4c256
Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
...
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.
MozReview-Commit-ID: CYKukBOC8yh
--HG--
extra : rebase_source : 1e27524726ace0bfed5297d48af8be268c5b4945
2018-07-05 16:32:03 +02:00
Tarek Ziadé
8533ddcaac
Bug 1472718 - Convert ChromeUtils.requestIOActivity to a Promise - r=baku,valentin
...
Changes:
- The API now returns a Promise containing a sequence of IOActivityData dictionnaries.
- All the code related to notifications and XPCOM is removed.
- The counters are no longer reset to 0 when the API is called
MozReview-Commit-ID: 7J2EgFqDgf
--HG--
extra : rebase_source : eb7dc3e0921b12bbb3715a90863dc8e2a60c1c09
2018-07-06 13:43:08 +02:00
Margareta Eliza Balazs
4ee26c6e5e
Backed out changeset c22aa9571139 (bug 1472718) for failures in browser/browser_test_io_activity.js on a CLOSED TREE
2018-07-06 11:04:39 +03:00
Margareta Eliza Balazs
9974f39b66
Backed out changeset f177b4c9bdcd (bug 1471517) for causing failures in netwerk/test/browser/browser_test_io_activity.js on a CLOSED TREE
2018-07-06 11:02:21 +03:00
Tarek Ziadé
80d44a0d4e
Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
...
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.
MozReview-Commit-ID: CYKukBOC8yh
--HG--
extra : rebase_source : 1e27524726ace0bfed5297d48af8be268c5b4945
2018-07-05 16:32:03 +02:00
Tarek Ziadé
12c531f562
Bug 1472718 - Convert ChromeUtils.requestIOActivity to a Promise - r=baku,valentin
...
Changes:
- The API now returns a Promise containing a sequence of IOActivityData dictionnaries.
- All the code related to notifications and XPCOM is removed.
- The counters are no longer reset to 0 when the API is called
MozReview-Commit-ID: 7J2EgFqDgf
--HG--
extra : rebase_source : 4e16640a3f52fd7c042687471153971a66158623
2018-07-06 02:10:33 +02:00
Tarek Ziadé
7158cbfa29
Bug 1470073 - Make IOActivityMonitor timer optional - r=valentin
...
- Introduced the io.activity.enabled pref, so IOActivityMonitor can run without a timer
- Added IOActivityMonitor::NotifyActivities() to trigger notifications manually
- Added ChromeUtils.requestIOActivity() so we can trigger it via JS
MozReview-Commit-ID: 9JA2rLaM496
--HG--
extra : rebase_source : e473a7b0ec7c231ab321846c5ddcc4d6a88d7245
2018-06-26 10:43:16 +02:00
arthur.iakab
05cc8bb814
Backed out changeset b5e89c1b4e8c (bug 1470073) for failing browser chrome tests on browser_test_io_activity.js on a CLOSED TREE
2018-06-26 04:10:45 +03:00
Tarek Ziadé
0f643a27fd
Bug 1470073 - Make IOActivityMonitor timer optional - r=valentin
...
- Introduced the io.activity.enabled pref, so IOActivityMonitor can run without a timer
- Added IOActivityMonitor::NotifyActivities() to trigger notifications manually
- Added ChromeUtils.requestIOActivity() so we can trigger it via JS
MozReview-Commit-ID: 9JA2rLaM496
--HG--
extra : rebase_source : 0a92195b6b8314383c63de4b2bb1dfe033c40e9f
2018-06-25 18:32:22 +02:00
Kris Maglione
dc8ba3688b
Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
...
MozReview-Commit-ID: JpV6zYOdvHu
--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
Tiberius Oros
78dbe34925
Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage a=beta-fix
2018-04-25 14:43:48 +03:00
Tarek Ziadé
c28467f0a5
Bug 1456048 - move ChromeUtils.requestPerformanceMetrics to the right scope - r=kmag
...
requestPerformanceMetrics should not be made available in the Worker scope.
MozReview-Commit-ID: K2nY6JIzWrE
--HG--
extra : rebase_source : 8f2bb788d20c419072c49a5ec910001bc9cd9508
2018-04-23 10:49:45 +02:00
Tarek Ziadé
255bc818dc
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
--HG--
extra : rebase_source : d7c00f2ef16623dbbd88ede0f6636ca56501e151
2018-03-20 20:07:41 +01:00
Cosmin Sabou
6f9a8dd015
Backed out changeset fae7d9814403 (bug 1443443) for mochitest browser-chrome failure on browser_test_performance_metrics.js
...
--HG--
extra : rebase_source : 03d120899e3898ec18e2fd226973f38d438a156a
2018-03-20 20:31:01 +02:00
Tarek Ziadé
3073443de2
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
--HG--
extra : rebase_source : f81058b9bdd67c2f77bb5cd45d3838bc12f406ea
2018-03-20 17:19:32 +01:00
Noemi Erli
a3b2dc08d7
Backed out changeset 20e9096156b0 (bug 1443443) for failing in dom/tests/browser/browser_test_performance_metrics.js on a CLOSED TREE
2018-03-20 18:07:54 +02:00
Tarek Ziadé
49896a66d5
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
--HG--
extra : rebase_source : 673bbf79f5e20493eee5e129f6954c574c9c41b6
2018-03-20 14:13:37 +01:00
Kris Maglione
887b300cf4
Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor
...
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.
There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.
MozReview-Commit-ID: K3NsNtfntV6
--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : rebase_source : e1ea7dad6450a10e5f48e622814efe28e0c13977
extra : intermediate-source : 9f46e7d52b9b2e30bf0ccf64bb5805168dd79c29
extra : source : 195cbf3d34334978e5a9d101d4b79f899598159c
2018-03-04 16:37:10 -08:00
Andreea Pavel
01d4e4cfa4
Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE
...
Backed out changeset 9f46e7d52b9b (bug 1442931)
Backed out changeset 608e21fcd167 (bug 1442931)
--HG--
rename : dom/chrome-webidl/ChannelWrapper.webidl => dom/webidl/ChannelWrapper.webidl
rename : dom/chrome-webidl/ChromeUtils.webidl => dom/webidl/ChromeUtils.webidl
rename : dom/chrome-webidl/DominatorTree.webidl => dom/webidl/DominatorTree.webidl
rename : dom/chrome-webidl/HeapSnapshot.webidl => dom/webidl/HeapSnapshot.webidl
rename : dom/chrome-webidl/InspectorUtils.webidl => dom/webidl/InspectorUtils.webidl
rename : dom/chrome-webidl/MatchGlob.webidl => dom/webidl/MatchGlob.webidl
rename : dom/chrome-webidl/MatchPattern.webidl => dom/webidl/MatchPattern.webidl
rename : dom/chrome-webidl/MozStorageAsyncStatementParams.webidl => dom/webidl/MozStorageAsyncStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementParams.webidl => dom/webidl/MozStorageStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementRow.webidl => dom/webidl/MozStorageStatementRow.webidl
rename : dom/chrome-webidl/PrecompiledScript.webidl => dom/webidl/PrecompiledScript.webidl
rename : dom/chrome-webidl/PromiseDebugging.webidl => dom/webidl/PromiseDebugging.webidl
rename : dom/chrome-webidl/StructuredCloneHolder.webidl => dom/webidl/StructuredCloneHolder.webidl
rename : dom/chrome-webidl/WebExtensionContentScript.webidl => dom/webidl/WebExtensionContentScript.webidl
rename : dom/chrome-webidl/WebExtensionPolicy.webidl => dom/webidl/WebExtensionPolicy.webidl
2018-03-07 08:53:06 +02:00
Kris Maglione
d9ca1fc112
Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor
...
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.
There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.
MozReview-Commit-ID: K3NsNtfntV6
--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : source : 195cbf3d34334978e5a9d101d4b79f899598159c
extra : amend_source : 9ef85f3436706de0049f6c5619407ef4bba4d539
extra : histedit_source : aa0ba8a35662566ad77ad3bb6adbd8cb062f0498
2018-03-04 16:37:10 -08:00
Kris Maglione
27f4fb5abd
Backed out two changesets (bug 1442931) for Windows build bustage
...
MozReview-Commit-ID: EAP1dIdvd8g
--HG--
extra : histedit_source : 0848dcd64f0e1cccaf9ce2c5faa08509990cfade%2Cd100c0c3dfca8b92f9cd1fda1b126a0d2f8a47cd
2018-03-06 20:47:41 -08:00
Kris Maglione
1306e251c0
Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor DONTBUILD
...
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.
There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.
MozReview-Commit-ID: K3NsNtfntV6
--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : rebase_source : be95383471d1abadb742bbce683adc69b317028e
extra : amend_source : ccb7840f3cdc5f7bd9871631e22d26d89a4dc156
2018-03-04 16:37:10 -08:00