Kris Maglione
142d32b864
Bug 1333990: Part 2c - Interrupt the flush loop after inserting document element. r=hsivonen
...
In order to asynchronously load content scripts that need to run very early in
the page load cycle, we need to be able to block further parsing from the
document-element-inserted observer, before any page scripts are loaded.
Interrupting the flush loop after the document element is inserted allows
the observers to run, and temporarily block further parsing if necessary.
MozReview-Commit-ID: A6D2T52Mlx4
2017-03-16 18:50:28 -07:00
Julian Seward
daefba8f63
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (4 of 5, fixes for parser/). r=hsivonen.
2017-01-24 17:11:43 +01:00
Cameron McCormack
5f9911da79
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
Christoph Kerschbaumer
af019e7b22
Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz)
2015-11-14 19:28:51 -08:00
Francois Marier
0c5febeb03
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Franziskus Kiefer
7a586a418e
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
2015-06-05 15:25:24 -07:00
Carsten "Tomcat" Book
cb8e2da810
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
76b5864bfa
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Franziskus Kiefer
cc22ddddd1
Bug 1165501 - using most recent referrer policy found in the document. r=sstamm
2015-05-27 13:29:00 -07:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
John Schoenick
303bd3cb54
Bug 1067345 - Part 3 - Implement speculative load operations for <picture> and <img srcset>
2014-12-10 18:54:00 -05:00
Ehsan Akhgari
5c1aa90db7
Bug 1118417 - Mark virtual overridden functions as MOZ_OVERRIDE in parser; r=hsivonen
2015-01-12 10:19:21 -05:00
Sid Stamm
4bec90b255
Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb)
2014-12-17 14:14:04 -05:00
Owen Chu
f8f45e4564
Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus)
2014-11-18 08:46:29 -05:00
Henri Sivonen
89552abfc6
Bug 1088635. r=smaug.
2014-11-05 17:44:37 +02:00
Diwas Joshi
cca79e512e
Bug 617789 - Links in view page source when base href exists fixed. r=hsivonen.
2014-09-30 12:35:17 +03:00
Trevor Saunders
d67df400c1
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Aryeh Gregor
7ac8ffcd9c
Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan
2014-08-18 17:44:50 +03:00
Benoit Jacob
623d4344ba
Bug 1035394 - Fix dangerous public destructors in parser - r=wchen
2014-07-08 17:23:18 -04:00
Henri Sivonen
b09f44b0e5
Bug 959150 part 6 - Move the opening brace to the next line in methods whose body is in non-generated .h files under parser/html/. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
d07d56d994
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
9c5e892c4f
Bug 959150 part 3 - Move the parts of nsHtml5TreeOpExecutor that the static methods in nsHtml5TreeOperation need to access into a new superclass. r=smaug.
2014-03-05 21:38:49 +02:00
Ryan VanderMeulen
35226d8b0a
Backed out 8 changesets (bug 959150) for Linux debug build bustage on a CLOSED TREE.
...
Backed out changeset 30bdc9b15e8e (bug 959150)
Backed out changeset 630e489aed30 (bug 959150)
Backed out changeset c6874004efe7 (bug 959150)
Backed out changeset ebc67518a962 (bug 959150)
Backed out changeset 14441e528582 (bug 959150)
Backed out changeset 8d0ae8bffb08 (bug 959150)
Backed out changeset 603b63c33e9a (bug 959150)
Backed out changeset 261e2d244c54 (bug 959150)
2014-03-05 15:26:07 -05:00
Henri Sivonen
cbb279e1e0
Bug 959150 part 6 - Move the opening brace to the next line in methods whose body is in non-generated .h files under parser/html/. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
ce22b77692
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
091b6f984c
Bug 959150 part 3 - Move the parts of nsHtml5TreeOpExecutor that the static methods in nsHtml5TreeOperation need to access into a new superclass. r=smaug.
2014-03-05 21:38:49 +02:00
Reuben Morais
16c1e76108
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
2014-02-27 20:04:46 -03:00
L. David Baron
eccc6c3bd1
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Cykesiopka
2b212b7067
Bug 528863 - Use _h instead of _h__ in include guards in the HTML5 parser. r=hsivonen
2013-08-23 11:07:10 -04:00
Steve Workman
9a1807dc15
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-07-08 18:45:26 -07:00
Ryan VanderMeulen
8025dedcb0
Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
...
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Steve Workman
bf54dd0b11
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-06-13 10:42:48 -07:00
Chris Peterson
d64ab9624b
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08:00
Patrick McManus
e02ad04f62
bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz
2012-12-04 18:06:29 -05:00
Boris Zbarsky
a198282cca
Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen
2012-08-28 13:10:08 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Henri Sivonen
67be401de2
Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug
2012-06-20 10:05:39 +03:00
Olli Pettay
62dfeec573
Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen
2012-06-14 21:00:05 +03:00
Gervase Markham
d697fdc8ec
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
2012-05-29 16:52:43 +01:00
Ryan VanderMeulen
9a387d5fe3
Backout 8cf563a575fd (bug 734015) due to random Moth orange.
2012-05-23 19:27:40 -04:00
Olli Pettay
ba69e2c9f0
Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen
2012-05-23 15:55:13 +03:00
Henri Sivonen
46fbf2c696
Bug 739033 - Allow external View Source editor code live dangerously. r=smaug.
2012-03-27 09:27:45 +03:00
Henri Sivonen
71efda6e2b
Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
2012-03-24 13:34:42 +02:00
Kyle Huey
aa7bd960bb
Bug 737875. r=hsivonen
2012-03-23 07:44:06 -07:00
Henri Sivonen
43610b6da3
Bug 717488 part 1. r=smaug.
2012-03-21 14:39:25 +02:00
Boris Zbarsky
30d7cb00f8
Bug 696301 part 2. Communicate the crossorigin preload state from the parser to the scriptloader. r=sicking,hsivonen
2012-03-10 10:13:52 -06:00
Nathan Froyd
fd9187ab76
Bug 700659 - Slay nsHashSets in parser. r=hsivonen, smaug
2011-11-08 15:22:47 -05:00
Henri Sivonen
2c9c468406
Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug.
2012-01-20 14:03:49 +02:00