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

667 Коммитов

Автор SHA1 Сообщение Дата
Peter Van der Beken 23774f7181 Bug 1758062 - Convert parameters upfront. r=smaug, a=tritter
Differential Revision: https://phabricator.services.mozilla.com/D140337
2022-03-04 14:00:25 +00:00
Peter Van der Beken 171ea4b8e4 Bug 1746720 - Don't special-case <meta> refresh for XSLT - test. r=ckerschb,freddyb
Depends on D134222

Differential Revision: https://phabricator.services.mozilla.com/D134223
2022-02-14 14:01:21 +00:00
Peter Van der Beken d6a364bec1 Bug 1749935 - Remove GetDTD. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D135899
2022-02-14 13:03:52 +00:00
Peter Van der Beken 15b814ccd7 Bug 1749935 - Create nsParser directly instead of with a CID. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D135896
2022-02-14 13:03:51 +00:00
Peter Van der Beken 8573e064a2 Bug 1749935 - Mark nsIParser::WillResume(Impl) as infallible. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D135836
2022-02-14 13:03:43 +00:00
Sylvestre Ledru 98949ee751 Bug 1754767 - Remove duplicate includes r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D138441
2022-02-11 10:01:15 +00:00
Peter Van der Beken bc9819f41c Bug 1309630 - Use a request to stop transforming. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D134250
2021-12-21 17:56:02 +00:00
Peter Van der Beken e13a822815 Bug 1746720 - Don't special-case <meta> refresh for XSLT. r=ckerschb,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D134222
2021-12-20 18:03:40 +00:00
Peter Van der Beken 87fa7a4805 Bug 1729517 - Set up document correctly - test. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D127982
2021-12-18 11:28:06 +00:00
Peter Van der Beken ef88fc87e8 Bug 1744397 - Simplify refresh code: clean up meta refresh code in nsDocShell. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132862
2021-12-16 22:27:07 +00:00
Norisz Fay 333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken a538f42b2d Bug 1744397 - Simplify refresh code: clean up meta refresh code in nsDocShell. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132862
2021-12-14 10:13:59 +00:00
Masayuki Nakano 3816ca9546 Bug 1741148 - part 3: Make users of `nsINode::ComputeIndexOf_Deprecated()` use `nsINode::ComputeIndexOf()` if the result is not set to `int32_t` nor return as `int32_t` r=smaug
This patch fixes only the cases if the result of `ComputeIndexOf_Deprecated()`
is used as unsigned integer with implicit or explicit cast.

Differential Revision: https://phabricator.services.mozilla.com/D131336
2021-12-09 11:55:36 +00:00
Masayuki Nakano f2baf0d9ab Bug 1741148 - part 1: Rename `nsINode::ComputeIndexOf` to `ComputeIndexOf_Deprecated` r=smaug
It's hard to fix some callers.  Therefore, in this bug, we should fix only
simple cases.  Therefore, we should rename existing API first.

Differential Revision: https://phabricator.services.mozilla.com/D131334
2021-12-09 08:32:30 +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
olaoluwa a12c2c2e59 Bug 1575191- Make callers to Document::SetContentType with ASCII literal using SetContentTypeInternal.. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D129697
2021-11-04 06:47:05 +00:00
Yoshi Cheng-Hao Huang f3f6bce604 Bug 1719542 - Part 3: Unify IndexedDB key. r=platform-i18n-reviewers,gregtatum
For Key::EncodeLocaleString change, the test should be convered in
dom/indexedDB/test/gtest/TestKey.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D129000
2021-10-25 18:23:11 +00:00
Andrew McCreight 8c5d7e5ee8 Bug 1736707, part 1 - Get rid of nsContentUtils::NameSpaceManager(). r=peterv
Call nsNameSpaceManager::GetInstance() instead.

Differential Revision: https://phabricator.services.mozilla.com/D129033
2021-10-22 16:15:57 +00:00
Peter Van der Beken db32ea96db Bug 1729329 - Make mInScopeVariables hold objects instead of pointers. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124681
2021-10-22 15:00:42 +00:00
Peter Van der Beken a92812387c Bug 1729329 - Convert nsCOMArrays in XSLT code to nsTArrays and remove impossible to hit OOM errors. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124680
2021-10-22 15:00:42 +00:00
Peter Van der Beken 89dbebeac4 Bug 1729329 - Remove impossible to hit OOM errors from XSLT code. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124679
2021-10-22 15:00:42 +00:00
Peter Van der Beken e226bd2a93 Bug 1729329 - Make txExecutionState::addInstruction return the added instruction. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124678
2021-10-22 15:00:41 +00:00
Peter Van der Beken 375bedb5ad Bug 1729329 - Minor cleanup related to txExecutionState::addToplevelItem. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124677
2021-10-22 15:00:41 +00:00
Peter Van der Beken 28db145c54 Bug 1729329 - Mark txList::insertBefore as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124675
2021-10-22 15:00:40 +00:00
Peter Van der Beken 6e50c91a6d Bug 1729329 - Mark txStylesheetCompilerState::pushChooseGotoList as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124674
2021-10-22 15:00:40 +00:00
Peter Van der Beken e93eedc37b Bug 1729329 - Mark txStylesheetCompilerState::pushObject as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124673
2021-10-22 15:00:39 +00:00
Peter Van der Beken 3612387b6f Bug 1729329 - Mark txStylesheetCompilerState::pushSorter as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124672
2021-10-22 15:00:39 +00:00
Peter Van der Beken 884aa5e91b Bug 1729329 - Mark txStylesheetCompilerState::pushHandlerTable as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124671
2021-10-22 15:00:39 +00:00
Peter Van der Beken c5f5209252 Bug 1729329 - Mark txStylesheetCompilerState::pushPtr as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124670
2021-10-22 15:00:38 +00:00
Peter Van der Beken 55e7984ff8 Bug 1729329 - Mark txExecutionState::pushResultHandler as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124669
2021-10-22 15:00:38 +00:00
Peter Van der Beken d4bc8d851c Bug 1729329 - Mark txExecutionState::pushBool as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124668
2021-10-22 15:00:37 +00:00
Peter Van der Beken a8e093cbeb Bug 1729329 - Mark txExecutionState::pushEvalContext as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124667
2021-10-22 15:00:37 +00:00
Peter Van der Beken 23cac864bb Bug 1729329 - Mark txStack::push as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124666
2021-10-22 15:00:37 +00:00
Peter Van der Beken 750cd9da88 Bug 1729329 - Mark txUnionNodeTest::addNodeTest as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124665
2021-10-22 15:00:36 +00:00
Peter Van der Beken 089504dc85 Bug 1729329 - Mark UnionExpr::addExpr as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124664
2021-10-22 15:00:36 +00:00
Peter Van der Beken 511783a570 Bug 1729329 - Mark PathExpr::addExpr as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124663
2021-10-22 15:00:36 +00:00
Peter Van der Beken 64e42e4cf8 Bug 1729329 - Mark PredicateList::add as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124662
2021-10-22 15:00:35 +00:00
Peter Van der Beken 86d12da423 Bug 1729329 - Mark FunctionCall::addParam as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124661
2021-10-22 15:00:35 +00:00
Peter Van der Beken 36dda11425 Bug 1729329 - Mark txPushNewContext::addSort as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124660
2021-10-22 15:00:34 +00:00
Peter Van der Beken ab8042b769 Bug 1729329 - Remove OOM checks after calling infallible nsTArray methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124659
2021-10-22 15:00:33 +00:00
Peter Van der Beken b5aa22d6da Bug 1729329 - Remove simple OOM checking. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124658
2021-10-22 15:00:33 +00:00
Peter Van der Beken 9b276b43c9 Bug 1729517 - Set up document correctly. r=freddyb,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D127981
2021-10-15 16:02:15 +00:00
Greg Tatum 45bc20f472 Bug 1734679 - Fix regression for XSLT sorting with an invalid language tag; r=platform-i18n-reviewers,dminor
This includes an integration test as well as a unit test, so hopefully
this will not regress again in the future.

Differential Revision: https://phabricator.services.mozilla.com/D127983
2021-10-08 19:10:48 +00:00
Cristian Tuns b022ae1fc0 Backed out 23 changesets (bug 1729329) for causing mochitest failures. CLOSED TREE
Backed out changeset a93125ed5957 (bug 1729329)
Backed out changeset dc99904cbba2 (bug 1729329)
Backed out changeset 71b980477982 (bug 1729329)
Backed out changeset 95961bdd8342 (bug 1729329)
Backed out changeset 75a787792d04 (bug 1729329)
Backed out changeset b2569472c3ff (bug 1729329)
Backed out changeset 41bb3539816d (bug 1729329)
Backed out changeset 28ec9a8c87d8 (bug 1729329)
Backed out changeset e54965a98dc1 (bug 1729329)
Backed out changeset 73767c02ff30 (bug 1729329)
Backed out changeset db670850cf51 (bug 1729329)
Backed out changeset cebb8e6014d9 (bug 1729329)
Backed out changeset 9008da35b3bb (bug 1729329)
Backed out changeset 9c171b04d134 (bug 1729329)
Backed out changeset ea3b6cfc339c (bug 1729329)
Backed out changeset 1f89052caba5 (bug 1729329)
Backed out changeset 105de5963c64 (bug 1729329)
Backed out changeset 122ca4b1e1d5 (bug 1729329)
Backed out changeset b1ed3b891384 (bug 1729329)
Backed out changeset 7c2ea3b9ab2b (bug 1729329)
Backed out changeset 6fba0c67d51e (bug 1729329)
Backed out changeset e8cb19427b66 (bug 1729329)
Backed out changeset e88066fc3cff (bug 1729329)
2021-09-29 04:02:02 -04:00
Peter Van der Beken 7f6162812d Bug 1729329 - Make mInScopeVariables hold objects instead of pointers. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124681
2021-09-29 07:24:46 +00:00
Peter Van der Beken 68dbde3fae Bug 1729329 - Convert nsCOMArrays in XSLT code to nsTArrays and remove impossible to hit OOM errors. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124680
2021-09-29 07:24:45 +00:00
Peter Van der Beken ff0dfb64c1 Bug 1729329 - Remove impossible to hit OOM errors from XSLT code. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124679
2021-09-29 07:24:45 +00:00
Peter Van der Beken 798a9d84fa Bug 1729329 - Make txExecutionState::addInstruction return the added instruction. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124678
2021-09-29 07:24:44 +00:00
Peter Van der Beken a6b741b425 Bug 1729329 - Minor cleanup related to txExecutionState::addToplevelItem. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124677
2021-09-29 07:24:44 +00:00
Peter Van der Beken 35a9dea37a Bug 1729329 - Mark txList::insertBefore as infallible. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D124675
2021-09-29 07:24:43 +00:00