Jon Coppeard
a96229ddb3
Bug 1512749 - Convert JS::gcreason::Reason to enum class JS:GCReason r=jonco r=mccr8
2019-01-21 13:09:12 +00:00
Margareta Eliza Balazs
9dda825205
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Boris Zbarsky
eb529dfa42
Bug 1520812. Remove bogus assertion in nsExpatDriver::HandleError. r=hsivonen
...
Any time we stop a load of an XML document before we've gotten all the data,
we'll end up in this code with mSink null, because nsParser::Terminate ends up
calling nsExpatDriver::DidBuildModel which nulls out mSink, and not getting all
the data means the XML won't be well-formed.
Differential Revision: https://phabricator.services.mozilla.com/D16856
--HG--
extra : moz-landing-system : lando
2019-01-17 15:34:15 +00:00
Sylvestre Ledru
47a5dd1fb8
Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D16388
--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Henri Sivonen
34559b2b59
Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
...
MozReview-Commit-ID: K8fgv3rgklt
2019-01-11 09:44:09 +02:00
Andreea Pavel
f5a1a0f098
Backed out 5 changesets (bug 256180) for failing win xpcshell at xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_temporary.js on a CLOSED TREE
...
Backed out changeset e85e41f84971 (bug 256180)
Backed out changeset 125ebcfac58d (bug 256180)
Backed out changeset bc2e0a89d88e (bug 256180)
Backed out changeset b696df615c8b (bug 256180)
Backed out changeset 2d69841d2eb7 (bug 256180)
2019-01-08 20:35:31 +02:00
Daniel Varga
599bfc410a
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
...
--HG--
rename : browser/components/pocket/locale/en-US/pocket.properties => browser/locales/en-US/chrome/browser/pocket.properties
rename : devtools/client/aboutdebugging-new/test/browser/head-addons-script.js => devtools/client/aboutdebugging-new/test/browser/helper-addons.js
rename : devtools/client/aboutdebugging-new/test/browser/debug-target-pane_collapsibilities_head.js => devtools/client/aboutdebugging-new/test/browser/helper-collapsibilities.js
rename : devtools/client/aboutdebugging-new/test/browser/head-mocks.js => devtools/client/aboutdebugging-new/test/browser/helper-mocks.js
rename : devtools/client/aboutdebugging-new/test/browser/head-serviceworker.js => devtools/client/aboutdebugging-new/test/browser/helper-serviceworker.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-client-wrapper-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-client-wrapper-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-runtime-client-factory-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-runtime-client-factory-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-runtimes-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-usb-runtimes-mock.js
rename : dom/base/nsIdentifierMapEntry.h => dom/base/IdentifierMapEntry.h
extra : rebase_source : 0d517ceff0f11aadfa88634e773b3436ad48a8e6
2019-01-08 18:35:10 +02:00
Henri Sivonen
7fdbc91b91
Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
...
MozReview-Commit-ID: K8fgv3rgklt
2019-01-08 18:08:37 +02:00
Henri Sivonen
063ff34a92
Bug 1447707 - Remove the XPIDL SAX interface to the XML parser. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D14724
--HG--
extra : moz-landing-system : lando
2018-12-19 16:49:31 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Emilio Cobos Álvarez
f131713362
Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
...
This is a big step in order to merge both.
Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.
Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Sylvestre Ledru
cccdda3c2a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Peter Van der Beken
eb86fefb02
Bug 1374012 - Update to Expat 2.2.1. Part 18: various miscellaneous changes. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14457
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:26 +00:00
Peter Van der Beken
7a603b28e7
Bug 1374012 - Update to Expat 2.2.1. Part 17: add/change APIs that are not used in Gecko. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14456
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:25 +00:00
Peter Van der Beken
0e027c70be
Bug 1374012 - Update to Expat 2.2.1. Part 16: fix some issues with various compilers. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14455
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:24 +00:00
Peter Van der Beken
cf5d21461b
Bug 1374012 - Update to Expat 2.2.1. Part 15: ifdef some constants so they are only defined when used. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14454
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:23 +00:00
Peter Van der Beken
e88d24ea11
Bug 1374012 - Update to Expat 2.2.1. Part 14: Annotate memory allocators for GCC. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14453
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:22 +00:00
Peter Van der Beken
18fcb94d9e
Bug 1374012 - Update to Expat 2.2.1. Part 13: Tidy up attribute prefix bindings on error. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14452
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:21 +00:00
Peter Van der Beken
5793b635bc
Bug 1374012 - Update to Expat 2.2.1. Part 12: Address warning "missing initializer for field". r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14451
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:20 +00:00
Peter Van der Beken
a3204ff408
Bug 1374012 - Update to Expat 2.2.1. Part 11: Changes to defines for various compilers. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14450
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:19 +00:00
Peter Van der Beken
f652ec9604
Bug 1374012 - Update to Expat 2.2.1. Part 10: Take into account that CHAR_MATCHES may read >1 bytes. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14449
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:18 +00:00
Peter Van der Beken
e0c4b31e3c
Bug 1374012 - Update to Expat 2.2.1. Part 9: Make XmlConvert return errors. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14448
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:17 +00:00
Peter Van der Beken
7afc61faae
Bug 1374012 - Update to Expat 2.2.1. Part 8: Validate parser argument in various APIs. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14447
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:16 +00:00
Peter Van der Beken
90a42151df
Bug 1374012 - Update to Expat 2.2.1. Part 7: Add __unused__ anotations. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14446
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:16 +00:00
Peter Van der Beken
bebd150ad3
Bug 1374012 - Update to Expat 2.2.1. Part 6: Add XML_ATTR_INFO code which we don't enable. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14445
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:15 +00:00
Peter Van der Beken
6a0c98bfbf
Bug 1374012 - Update to Expat 2.2.1. Part 5: Use ASCII_* instead of literal characters. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14444
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:14 +00:00
Peter Van der Beken
cc52d0e9e6
Bug 1374012 - Update to Expat 2.2.1. Part 4: removing mainlined customisations and merge whitespace changes. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14443
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:13 +00:00
Peter Van der Beken
650f9e44c2
Bug 1374012 - Update to Expat 2.2.1. Part 3: Reject invalid DTD. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14442
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:12 +00:00
Peter Van der Beken
177f23f661
Bug 1374012 - Update to Expat 2.2.1. Part 2b: cherry-pick compilation fix from 2.2.2. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14441
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:11 +00:00
Peter Van der Beken
05221a9c4c
Bug 1374012 - Update to Expat 2.2.1. Part 2a: Better hashing. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14440
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:11 +00:00
Peter Van der Beken
f9a10464ec
Bug 1374012 - Update to Expat 2.2.1. Part 1: More correct calculations. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D14439
--HG--
extra : moz-landing-system : lando
2018-12-27 15:13:10 +00:00
Margareta Eliza Balazs
7ef930fffa
Backed out changeset 2eab9d9bd89e (bug 1514655) for geckoview-junit perma failures NavigationDelegateTest.loadData_noMimeType CLOSED TREE
2018-12-21 15:34:27 +02:00
Emilio Cobos Álvarez
5a57093928
Bug 1514655 - Always wrap plain text documents. r=bzbarsky
...
This matches other UAs.
Differential Revision: https://phabricator.services.mozilla.com/D14848
--HG--
extra : moz-landing-system : lando
2018-12-18 14:48:31 +00:00
Henri Sivonen
feff447597
Bug 1515066 - Mark SVG script without an end tag malformed. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D15090
--HG--
extra : moz-landing-system : lando
2018-12-20 18:20:04 +00:00
Brindusan Cristian
df66fd18a1
Merge inbound to mozilla-central. a=merge
2018-12-18 19:34:11 +02:00
Henri Sivonen
9405805403
Bug 1514728 - Fix bogus subspanning when sniffing a local file with more than 4 MB of ASCII. r=emk.
2018-12-18 08:45:29 +02:00
Henri Sivonen
64e1d8a0f5
Bug 1510114. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D13679
--HG--
extra : moz-landing-system : lando
2018-12-12 14:24:31 +00:00
Jonathan Kingston
c5d29c382e
Bug 903372 - Remove xml:base from parser. r=hsivonen
2018-12-13 15:47:01 +00:00
Mark Banner
8fc9eab7b3
Bug 1503674 - Remove now unused nsIScriptableUnescapeHTML.idl. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D14680
--HG--
extra : moz-landing-system : lando
2018-12-17 09:33:28 +00:00
Henri Sivonen
acfba8e927
Bug 1469580 - Ignore charset= in <meta content> if followed by unmatched quote. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D14410
--HG--
extra : moz-landing-system : lando
2018-12-14 17:53:59 +00:00
Coroiu Cristina
3e33183ebf
Backed out changeset a145a897c94c (bug 1469580) for lin failure at /builds/worker/checkouts/gecko/tools/lint/wpt.yml
2018-12-14 12:33:15 +02:00
Henri Sivonen
20f693b781
Bug 1469580 - Ignore charset= in <meta content> if followed by unmatched quote. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D14410
--HG--
extra : moz-landing-system : lando
2018-12-13 18:48:09 +00:00
Henri Sivonen
f4bcccb098
Bug 1513513 - Drop the file: URL UTF-8 sniffing limit from 50 MB to 4 MB. r=emk.
2018-12-12 16:10:28 +02:00
Henri Sivonen
61285e86b3
Bug 977540 - Avoid running Japanese, Russian and Ukrainian detectors on domains associated with different encoding legacies. r=emk.
2018-12-12 09:51:52 +02:00
Henri Sivonen
69ad08c987
Bug 1071816 - Support loading unlabeled/BOMless UTF-8 text/html and text/plain files from file: URLs. r=emk.
2018-12-11 10:36:46 +02:00
Henri Sivonen
c58ccc7e2b
Bug 1512155 - Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13795
--HG--
extra : moz-landing-system : lando
2018-12-07 08:28:08 +00:00
Henri Sivonen
236e52e49e
Bug 1511972 - Clean up byte buffer representation in method signatures in nsHtml5StreamParser. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D13732
--HG--
extra : moz-landing-system : lando
2018-12-06 18:59:56 +00:00
reimu
f4794a2bfb
Bug 1501931 - Enable ESLint for parser/ (manual fixes) r=Standard8,mrbkap
...
Depends on D11920
Differential Revision: https://phabricator.services.mozilla.com/D11921
--HG--
extra : moz-landing-system : lando
2018-12-06 20:30:32 +00:00
reimu
4819e4a0ee
Bug 1501931 - Enable ESLint for parser/ (automatic fixes) r=Standard8,mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D11920
--HG--
extra : moz-landing-system : lando
2018-12-06 20:34:29 +00:00