Граф коммитов

633 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 93acdfad59 Bug 1777574, automate CC zone handling, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D155084
2022-09-07 11:22:51 +00:00
Mark Banner 783a2f2187 Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Kagami Sascha Rosylight a97d8ed581 Bug 1783664 - Add Promise::CreateRejected r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D154104
2022-08-09 18:36:02 +00:00
Fabrice Desré c50cb528fc Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel 3ccd75af8d Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD 2022-08-03 18:55:00 +03:00
Andreea Pavel fdb7cb2ecd Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Mark Banner 7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Andreea Pavel 89d63c91e6 Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
Fabrice Desré 0f4ac7ad97 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Tom Schuster b2b0bdeec1 Bug 830716 - Show class-name of object that failed to be cloned. r=smaug
This has one small wrinkle that I might fix in the future: DOM classes that are proxies
like window show up as "Proxy".

Differential Revision: https://phabricator.services.mozilla.com/D152566
2022-07-26 08:19:40 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Kagami Sascha Rosylight 3d0e3d5413 Bug 1769290 - Part 10: Apply mozilla-js-handle-rooted-typedef against remaining dom directories r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D148283
2022-06-05 20:55:00 +00:00
Kagami Sascha Rosylight 5bf1db4f71 Bug 1769290 - Part 1: Apply mozilla-js-handle-rooted-typedef against dom/streams r=smaug
Changes done by `./mach static-analysis check --checks="-*,mozilla-js-handle-rooted-typedef" --fix --header-filter=dom dom/streams; ./mach clang-format --outgoing`.

Differential Revision: https://phabricator.services.mozilla.com/D146329
2022-05-18 08:43:08 +00:00
Kagami Sascha Rosylight 043f38ccaf Bug 1769290 - Part 4: Apply mozilla-js-handle-rooted-typedef against dom/workers r=mccr8,dom-worker-reviewers,smaug
Changes done by `./mach static-analysis check --checks="-*,mozilla-js-handle-rooted-typedef" --fix --header-filter=dom dom/workers; ./mach clang-format --outgoing`.

Depends on D146453

Differential Revision: https://phabricator.services.mozilla.com/D146454
2022-05-17 19:48:04 +00:00
Peter Van der Beken 1cc164647d Bug 1688585 - Log the reason for nulling out PromiseNativeHandlerShim::mInner. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D145967
2022-05-10 18:54:52 +00:00
Kagami Sascha Rosylight eb5642168c Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi
Depends on D145757

Differential Revision: https://phabricator.services.mozilla.com/D145758
2022-05-09 20:41:12 +00:00
Peter Van der Beken 1ef857902b Bug 1688585 - Make PromiseNativeHandlerShim diagnostic assert that the PromiseNativeHandler is non-null. r=smaug
Depends on D145066

Differential Revision: https://phabricator.services.mozilla.com/D145067
2022-05-02 07:36:53 +00:00
Kagami Sascha Rosylight c9e9e0b243 Bug 1762661 - Part 2: Add tests r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D142742
2022-04-05 22:19:48 +00:00
Kagami Sascha Rosylight 77608454a6 Bug 1762661 - Part 1: Add Promise::ThenWithCycleCollectedArgsJS r=smaug,mgaudet,sfink
Differential Revision: https://phabricator.services.mozilla.com/D142151
2022-04-05 22:19:47 +00:00
Randell Jesup 5f6fb83e59 Bug 1207753 - dom/promises thread-safety annotations r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D130947
2022-03-24 00:27:40 +00:00
Kagami Sascha Rosylight 5401b5ddaa Bug 1760812 - Part 2: Add Promise::CatchWithCycleCollectedArgs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141755
2022-03-22 16:44:58 +00:00
Kagami Sascha Rosylight 19f195a70c Bug 1760812 - Part 1: Use std::tuple in NativeThenHandler r=smaug,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D141754
2022-03-22 16:44:58 +00:00
Csoregi Natalia 8183a2d0cd Backed out changeset 22dd9ee7e4a4 (bug 1207753) for causing bustage on ProcessHangMonitor.cpp. CLOSED TREE 2022-03-22 01:31:19 +02:00
Randell Jesup b18c3e4ebb Bug 1207753 - dom misc thread-safety annotations r=hsivonen,smaug,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D130598
2022-03-21 23:02:23 +00:00
Kagami Sascha Rosylight fefb8ceeb9 Bug 1759690 - Part 4: Add a helper function for void callbacks r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141392
2022-03-21 16:45:37 +00:00
Kagami Sascha Rosylight 5fade15cef Bug 1759690 - Part 3: Allow NativeThenHandler without promise to settle r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141161
2022-03-21 16:45:36 +00:00
Kagami Sascha Rosylight c699dcc7ca Bug 1759690 - Part 2: Support rejection callback on ThenWithCycleCollectedArgs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141159
2022-03-21 16:45:36 +00:00
Kagami Sascha Rosylight d6416abbe8 Bug 1759690 - Part 1: Support ErrorResult on ThenWithCycleCollectedArgs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141160
2022-03-21 16:45:35 +00:00
Randell Jesup fcaf70841e Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Noemi Erli 2390d257e6 Backed out changeset 12a59e5a50bf (bug 1207753) for causing build bustage CLOSED TREE 2022-03-16 18:32:51 +02:00
Randell Jesup 4b033a5256 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 16:16:14 +00:00
Butkovits Atila 927ad62c6a Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE 2022-03-16 14:38:14 +02:00
Randell Jesup 7d4b5fae04 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 12:01:14 +00:00
Kagami Sascha Rosylight 29d7c52a30 Bug 1734243 - Part 1: Add JS::SetAnyPromiseIsHandled r=arai
Differential Revision: https://phabricator.services.mozilla.com/D139505
2022-02-25 02:32:04 +00:00
Matthew Gaudet bc10b96605 Bug 1748888 - Add ErrorResult parameter to PromiseNativeHandler callbacks r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D136423
2022-01-20 19:11:39 +00:00
Randell Jesup a9a672ddeb Bug 1747941: Don't assert in CleanUp if we failed to get a WorkerRef r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D135006
2022-01-04 13:58:23 +00:00
Randell Jesup ff1078e500 Bug 1746323: PromiseWorkerProxy cleanup r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133987
2021-12-16 19:35:44 +00:00
Chris Peterson f6fdbf028a Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.

There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.

Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Matthew Gaudet 36238d01ff Bug 1736461 - Add Promise::CreateResolvedWithUndefined to handle common patterm in Streams r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129319
2021-11-15 22:01:38 +00:00
Yury Delendik 4f37888744 Bug 1739617 - Disable wasm cache tests if pref is off. r=nbp
Two tests assume that wasm caching is always enabled:
- dom/promise/tests/test_webassembly_compile.html
- dom/tests/mochitest/fetch/test_responseReadyForWasm.html

Fixing that.

Differential Revision: https://phabricator.services.mozilla.com/D130488
2021-11-09 14:53:48 +00:00
Yury Delendik b92dc38227 Bug 1545131 - compress wasm alt data entries (r=jandem)
Differential Revision: https://phabricator.services.mozilla.com/D27992
2021-10-21 22:08:14 +00:00
Yury Delendik c80de90e54 Bug 1487113 - Use alt-data to cache stream-compiled WebAssembly modules. r=necko-reviewers,valentin,dragana
Depends on D117360

Differential Revision: https://phabricator.services.mozilla.com/D26731
2021-10-15 21:13:44 +00:00
Mark Banner 3633fd7457 Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
Marian-Vasile Laza 381c254e6d Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE
Backed out changeset 13bf04fc644f (bug 1487113)
Backed out changeset 5b7fe5d564aa (bug 1487113)
Backed out changeset 02236ccd64b4 (bug 1487113)
2021-09-17 22:58:33 +03:00
Yury Delendik 21eebdf064 Bug 1487113 - Use alt-data to cache stream-compiled WebAssembly modules. r=necko-reviewers,valentin,dragana
Depends on D117360

Differential Revision: https://phabricator.services.mozilla.com/D26731
2021-09-17 12:16:24 +00:00
Cristian Tuns f2f6eac4d6 Backed out 3 changesets (bug 1487113) for causing mochitest failures. CLOSED TREE
Backed out changeset b20e5d76c77e (bug 1487113)
Backed out changeset b0b2b27dcb68 (bug 1487113)
Backed out changeset 9214b396eb84 (bug 1487113)
2021-09-14 17:38:32 -04:00
Yury Delendik 564b18936f Bug 1487113 - Use alt-data to cache stream-compiled WebAssembly modules. r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D26731
2021-09-14 20:12:51 +00:00
Nika Layzell 1662a8faa6 Bug 1729458 - Part 1: Simplify DomPromiseListener, r=smaug,rpl
This makes a couple of changes, including removing the call to
AppendNativeHandler from the constructor, and using the nullable nature of
std::function instead of wrapping them in Maybe.

The main advantage of this change, however, is that it no longer acquires a
reference to `this` during the constructor, which could be unsafe.

Differential Revision: https://phabricator.services.mozilla.com/D124827
2021-09-14 15:02:58 +00:00
Sandor Molnar 5f8d191513 Backed out 3 changesets (bug 1729458) for causing multiple dt failures. CLOSED TREE
Backed out changeset 16b385e15fad (bug 1729458)
Backed out changeset 72b7a9c7bf30 (bug 1729458)
Backed out changeset 704dd03288b1 (bug 1729458)
2021-09-13 21:08:44 +03:00
Nika Layzell b5a962009a Bug 1729458 - Part 1: Simplify DomPromiseListener, r=smaug,rpl
This makes a couple of changes, including removing the call to
AppendNativeHandler from the constructor, and using the nullable nature of
std::function instead of wrapping them in Maybe.

The main advantage of this change, however, is that it no longer acquires a
reference to `this` during the constructor, which could be unsafe.

Differential Revision: https://phabricator.services.mozilla.com/D124827
2021-09-13 15:23:31 +00:00