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

3033 Коммитов

Автор SHA1 Сообщение Дата
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Cameron McCormack 9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Nicholas Nethercote bd8911a9f5 Bug 1325494 (part 5) - Slim down nsParserConstants.h. r=hsivonen.
Many of the constants aren't used. Also, the patch removes #includes of this
header that aren't necessary.

--HG--
extra : rebase_source : 75a0b6cea0cb0423f83b168fcc2be86d05352e2c
2016-12-23 13:51:04 +11:00
Nicholas Nethercote e3713f70ef Bug 1325494 (part 4) - Remove unused parser IIDs and CIDs. r=hsivonen.
--HG--
extra : rebase_source : 615affc2d2edeb19848519768c0e8d722c7b754d
2016-12-23 13:51:04 +11:00
Nicholas Nethercote 0148a2c31c Bug 1325494 (part 3) - Remove unnecessary forward declaration of nsIContent. r=hsivonen.
--HG--
extra : rebase_source : 51da398e7db713ed661d1daba900310aebe7bdff
2016-12-23 13:51:04 +11:00
Nicholas Nethercote 5b4dbed0dd Bug 1325494 (part 2) - Remove kFoo constants from nsIParser.h. r=hsivonen.
Only three of them are used, and those ones aren't used in many places, and
they're just renamings of NS_ERROR_* values that obfuscate more than they
clarify.

--HG--
extra : rebase_source : 6e93c6e1aaabe7a6efd026ab8203b97205af3192
2016-12-23 13:51:04 +11:00
Nicholas Nethercote ff025c72ac Bug 1325494 (part 1) - Remove unused NS_IPARSER_FLAG_* flags. r=hsivonen.
--HG--
extra : rebase_source : dfef755464072b02d68d80a761be6e40eced9403
2016-12-23 13:21:33 +11:00
Cameron McCormack babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Cameron McCormack ce51bd51e0 Bug 1328832 - Part 1: Rename mozFlushType.h to FlushType.h. r=bzbarsky
MozReview-Commit-ID: 1ubwNkBEdfz

--HG--
rename : dom/base/mozFlushType.h => dom/base/FlushType.h
2017-01-05 14:54:02 +08:00
Tim Nguyen d7db347638 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Cameron McCormack d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Edgar Chen 881cbd80bd Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
MozReview-Commit-ID: 6egmavfTmFT
2016-11-17 23:31:50 +08:00
Edgar Chen 2f500c507d Bug 1274159 - Part 2-1: Include the name of relevant interface in nsHTMLTagList.h; r=bz
MozReview-Commit-ID: 8D29JfJcMG7
2016-11-08 15:45:28 +08:00
Sebastian Hengst 7ac8fa9a84 Backed out changeset 5c3a6908b84e (bug 1274159) 2016-12-14 13:27:26 +01:00
Sebastian Hengst 5e1b29b9c0 Backed out changeset f2a5fc3e8c4e (bug 1274159) 2016-12-14 13:27:22 +01:00
Edgar Chen da0139302c Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
MozReview-Commit-ID: 6egmavfTmFT

--HG--
extra : rebase_source : 07436a4b8dfc1960f0cc24b67b8cc5d1e2ffd5cd
2016-11-17 23:31:50 +08:00
Edgar Chen f771fd22ab Bug 1274159 - Part 2-1: Include the name of relevant interface in nsHTMLTagList.h; r=bz
MozReview-Commit-ID: 8D29JfJcMG7

--HG--
extra : rebase_source : 3dba21655bcde1863feef409c820368528f996ab
2016-11-08 15:45:28 +08:00
Tooru Fujisawa 680fa11cc3 Bug 1321227 - Remove legacy generator from parser/. r=wchen 2016-12-01 18:12:14 +09:00
Peter Van der Beken f87fcac9f4 Bug 569229 - Close outer entities when they're parsed even if we're blocking the parser. r=erahm.
--HG--
extra : rebase_source : 174edac48b2d6b52dc9fe3ad289de735695c65be
extra : source : e86a8b867c7578e082d572403753b3feaf75b0de
2016-09-06 15:24:06 +02:00
malayaleecoder 07f0500878 Bug 1317770 - Reset sjs file to enable multiple run in same session r=jmaher
MozReview-Commit-ID: 8ebeVXRUtWb
2016-11-16 01:54:31 +05:30
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Sebastian Hengst cd670f0de0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: parser. r=RyanVM
MozReview-Commit-ID: CiqJd4nJo1

--HG--
extra : rebase_source : b44319ee12107e2fac3985068960ce170b9f0f17
2016-11-05 11:29:21 +01:00
Thomas Wisniewski 29c11c2dab Bug 1310156 - Add a null check to nsExpatDriver::HandleError to prevent crashes while determining whether to suppress console error messages. r=smaug 2016-10-14 18:41:08 -04:00
Michael Kaply 45150edb90 Bug 209637 - Add support for application/vnd.wap.xhtml+xml. r=bz 2016-09-28 09:48:17 -05:00
Thomas Wisniewski 3c6249dd4b Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-21 13:48:05 -04:00
Iris Hsiao a2a48a3de7 Backed out changeset 6fb622c938de (bug 884693) for crashed @mozilla::dom::XMLHttpRequestMainThread
CLOSED TREE
2016-09-21 13:00:50 +08:00
Thomas Wisniewski d65949bf5c Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-19 19:36:03 -04:00
Manish Goregaokar 63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Shing Lyu 74414dd285 Bug 1302993 - Update some stylo reftest expectations; r=heycam
MozReview-Commit-ID: 5UUDlAUfBYP

--HG--
extra : rebase_source : c8aff1382e492bc07c59becc697abfb4f7bd8f95
2016-09-12 11:05:21 +05:30
Carsten "Tomcat" Book 0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Nicholas Nethercote 9554ec97fa Bug 1297300 - Add missing checks to GetSpec() calls in parser/. r=hsivonen.
--HG--
extra : rebase_source : 7d60e8d05180a84072ecd148ab5fe74c256acbd1
2016-08-31 12:13:59 +10:00
Michael Layzell b2047d9636 Bug 1018486 - Part 6: Changes in parser/, r=peterv, r=hsivonen
MozReview-Commit-ID: EN2yZUn8xj
2016-09-07 10:50:42 -04:00
Boris Zbarsky 363a5143aa Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen
If we have a creator parser, then we were a parser-inserted script and should
presumably be able to set a valid insertion point when we run or fire our
load/error events.  For the error event case, we do this in
nsScriptElement::ScriptAvailable, so that async error events due to things like
bogus script URLs do not end up with a valid insertion point.  For the load
event case, we just do this in ScriptEvaluated directly.

ScriptEvaluated is called while the scriptloader has our script set as the
current parser-inserted script.  But for the error event case we need to
maintain that state around the ScriptAvailable call that will fire the event.
2016-09-02 17:55:38 -04:00
Henri Sivonen 85403ede23 Bug 619109 - Define the insertion point before and undefine after the synchronous script execution events. r=bzbarsky.
MozReview-Commit-ID: FAriD6I2m2L
2010-10-29 12:22:10 +03:00
Thomas Wisniewski f69944c26d Bug 289714 - Make console XML Parsing notices more informative. r=jst
--HG--
extra : rebase_source : a3d4cce2ebdf91eda7581dccc565f5607381f448
2016-07-20 14:46:32 -04:00
Nicolas Silva 86043872c7 Bug 1297659 - Indentation fix in nsHTMLEntities.cpp. r=hsivonen 2016-08-26 14:31:34 +02:00
Nicholas Nethercote 3b0485fcdb Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.

This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.

--HG--
extra : rebase_source : c15d85298e0975fd030cd8f8f8e54501f453959b
2016-08-12 17:36:22 +10:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson d634a99cad Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
Masayuki Nakano 379230116b Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8
MozReview-Commit-ID: DABzQHszB0c

--HG--
rename : editor/libeditor/nsHTMLEditUtils.cpp => editor/libeditor/HTMLEditUtils.cpp
rename : editor/libeditor/nsHTMLEditUtils.h => editor/libeditor/HTMLEditUtils.h
2016-07-07 14:01:12 +09:00
Boris Zbarsky 653b3eb5a3 Bug 1273282. Fix the handling of numeric entities in xml-stylesheet href values. r=peterv 2016-05-19 13:48:11 -04:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Yoshi Huang ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Boris Zbarsky 907c772eb9 Bug 1266851. Make <xmp> and <listing> use HTMLPreElement as their primary interface, per <https://github.com/whatwg/html/issues/1015>. r=peterv 2016-04-26 12:50:30 -04:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00