Commit Graph

814 Commits

Author SHA1 Message Date
Henri Sivonen
586ba83170 Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen). r=wchen
MozReview-Commit-ID: 4xQlhExyo7d

--HG--
extra : rebase_source : 2acb38715feeeec5a1817dddae31960f18b2fe72
2017-04-12 14:28:49 +03:00
Henri Sivonen
8de02e50f5 Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen
MozReview-Commit-ID: 4In5wo0flOB

--HG--
extra : rebase_source : 912c5be12ab9ef96bacdf4ef84905f7056addecb
2017-04-12 13:21:03 +03:00
Henri Sivonen
b05b669637 Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements. r=wchen.
MozReview-Commit-ID: 1fiqOuGUOBG

--HG--
extra : rebase_source : 8d2efb1ef9a18da0604109e9ee37e5edfb570b17
2017-04-11 17:43:54 +03:00
Henri Sivonen
658e8c34d3 Bug 1352082 - Avoid shifting a signed integer left in C++. r=wchen
MozReview-Commit-ID: 52YqyHAz2c3

--HG--
extra : rebase_source : 38faa832b92564783d06c85a2f23fb7c16ba38fe
2017-04-07 13:26:31 +03:00
Henri Sivonen
2dfbad67f6 Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. r=wchen.
MozReview-Commit-ID: Gn9fXroxQhY

--HG--
extra : rebase_source : 70bc539e80ce0b2372569a194366cfe559614fd1
2017-03-20 14:45:15 +02:00
Olli Pettay
c30a0ed796 Bug 1351303, make HTML parser to use faster atomization in main thread, r=froydnj
--HG--
extra : rebase_source : 60b5877f237644d99e97c19e8086e2302b2aad84
2017-04-03 23:13:55 +03:00
Olli Pettay
63bf3cc260 Bug 1352874 - Improve nsHtml5AtomTable performance, r=hsivonen
--HG--
extra : rebase_source : 138f6fa73a9f16610097175ca0e3b81bdce527fd
2017-04-03 13:12:05 +03:00
Olli Pettay
ac0ae74439 Bug 1352734, use memcmp for nsIAtom Equals to improve performance, r=hsivonen
--HG--
extra : rebase_source : 1a78863c52f088609a6edcb6b32bf16bc02a4118
2017-04-02 22:40:06 +03:00
Xidorn Quan
082e026668 Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam
The next patch moves nsCSSFontFaceRule into a separate header, which
somehow affects lots of header dependencies. I'm not completely sure
why this happens, though.

MozReview-Commit-ID: KuXbsaX0NUd

--HG--
extra : rebase_source : cef91018964b5488c5031df8aada90aa7fa0ad51
2017-03-28 20:05:12 +11:00
Shih-Chiang Chien
306b7f81c6 Bug 1320744 - Part 3, implement nsIThreadRetargetableRequest in HttpChannelChild. r=mayhemer
MozReview-Commit-ID: FyLXlkQde3h

--HG--
extra : rebase_source : 88e9c56a73d268e1313c654c78a14e7b7d04fd9b
2017-03-20 17:29:07 +08:00
Andrea Marchesini
1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Kris Maglione
9713f3db8b 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

--HG--
extra : rebase_source : 86f303a0bf298ac32b934290a7f960a2e1bac581
2017-03-16 18:50:28 -07:00
Kris Maglione
45b222c3b2 Bug 1333990: Part 2a - Allow multiple concurrent parser blockers. r=hsivonen
MozReview-Commit-ID: DYegic0RPWL

--HG--
extra : rebase_source : 959fae62e924ee9f27f00378a26f752bb0307bb1
2017-03-15 17:31:00 -07:00
Wei-Cheng Pan
8ac483c735 Bug 1310127 - Part 9: Use MOZ_MUST_USE in netwerk/protocol/http r=hsivonen
MozReview-Commit-ID: DtkBSXg0AQe

--HG--
extra : rebase_source : da8a008e6d0e1f9260c61bb0faa1ebbb2d72c7ec
2016-12-20 14:36:24 +08:00
David Major
ed0b8f8653 Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
These are now dead code.

MozReview-Commit-ID: AClU0Qx3kmN

--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
David Major
058a3a25a4 Bug 1344615: Rewrite a few straggling users of NS_String* APIs. r=bsmedberg
I've moved the body of the APIs into the few remaining callers.

MozReview-Commit-ID: 9ALoSmQHkGM

--HG--
extra : rebase_source : e0e747dec23424446b18d53ab65e4fa262e16554
2017-03-06 17:52:09 +13:00
Xidorn Quan
cfc5212d03 Bug 1313278 - Remove code of adding xml:base attribute in nsParserUtils::ParseFragment. r=hsivonen
MozReview-Commit-ID: Dyv9OlbVsaQ

--HG--
extra : rebase_source : 753104a3ac84dd79f568a46cbb954a0c8a07b142
2017-02-20 18:26:27 +11:00
Henri Sivonen
85850456ea Bug 1121669 - Add a mutex around mFlushTimer to deal with write appearing to other threads in an inconsistent order. r=jseward.
MozReview-Commit-ID: 56r9PsEf8Jv
2017-01-26 08:45:31 +02:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Andrew McCreight
d826425cac Bug 1333971 - Label nsHtml5SVGLoadDispatcher runnable. r=smaug
MozReview-Commit-ID: LmCbNw5qQft

--HG--
extra : rebase_source : 0df6fd20d5fc61a5da5e8d51d1e7c7204793a628
2017-01-30 11:57:49 -08:00
Bill McCloskey
ec760e9fba Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Nathan Froyd
68792e7375 Bug 1276669 - part 1 - make nsHtml5Atoms initialization explicit in nsLayoutStatics; r=hsivonen
Moving the html5 atoms out into their own initialization phase makes the
initialization of atoms more explicit and avoids problems with trying to
move modules around so their atoms get initialized in the correct place.
As an aesthetic bonus, this change produces pleasing symmetry in
nsHtml5Module::{Initialize,Release}Statics.

Reviewed-by: Nathan Froyd <froydnj@mozilla.com>
2017-01-26 15:43:39 -05:00
Carsten "Tomcat" Book
182312677f merge mozilla-inbound to mozilla-central a=merge 2017-01-25 13:47:25 +01:00
Jonathan Kingston
673d193089 Bug 1330294 - Fixing disabled script tags that cause crashes in disabled SVG nodes r=hsivonen,smaug
MozReview-Commit-ID: Lr4s98aZM4W

--HG--
extra : rebase_source : 6dca1899d3b69a8eb7e82a02a60fd59f6a9a335e
2017-01-11 16:29:13 +00:00
Wes Kocher
f7ccafcb58 Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)

MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
187dedfae8 Bug 1331804 - New naming scheme for runnables (r=ehsan)
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 10:04:55 -08:00
Bill McCloskey
80aaeed2fc Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Julian Seward
bb66f7fb55 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
Bill McCloskey
a1715e6737 Bug 1331804 - New naming scheme for runnables (r=ehsan)
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 16:34:37 -08:00
Bill McCloskey
ef3d0f1c2e Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Jonathan Kingston
91e141995c Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug
MozReview-Commit-ID: 7Gum6wazraS

--HG--
extra : rebase_source : a2348710908e160cb09e48f15adfb50cd485f151
2016-12-01 07:41:22 +00: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
Thomas Nguyen
0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Henri Sivonen
93fd0a00c1 Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen
Original patch by :hsivonen

MozReview-Commit-ID: C8UK7m7V9tn
2016-12-22 11:30:41 +02:00
Andrew McCreight
fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Wes Kocher
b9a8598f48 Merge m-c to inbound, a=merge 2016-12-01 15:46:23 -08:00
Bill McCloskey
2336b52695 Bug 1318506 - Label some common runnables with a DocGroup (r=ehsan)
MozReview-Commit-ID: 19gyZRfbzXP
2016-12-01 15:00:13 -08:00
Sebastian Hengst
bc90f7a8c9 Backed out changeset ee28526a9033 (bug 1318506) for frequent failure in clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html. r=backout 2016-12-01 13:36:31 +01:00
Bill McCloskey
4143046195 Bug 1318506 - Label some common runnables with a DocGroup (r=ehsan)
MozReview-Commit-ID: 19gyZRfbzXP
2016-11-30 18:01:59 -08:00
Henri Sivonen
105467f9db Bug 1309834. r=wchen.
MozReview-Commit-ID: FO7bXlx6lv
2016-10-14 11:47:17 +03:00
Henri Sivonen
a36fff43c5 Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan
MozReview-Commit-ID: 5UvYqJVvX0r

--HG--
extra : rebase_source : 5a6f3dfd97fb06810fde9a4b8b650a7a922a7c20
2016-06-09 14:29:30 +03:00
Henri Sivonen
e5ac89f389 Bug 1309195 - Mark strBuf as empty after the contents have been used or ignored. r=wchen.
MozReview-Commit-ID: 5KU62o2IMPs
2016-10-19 10:38:20 +03:00
Henri Sivonen
d535d5df8f Bug 1286911. r=wchen.
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Sebastian Hengst
8d7cb8d79e Backed out changeset 4465b8d521ee (bug 1286911) for asserting !strBufLen (strBufLen not reset after previous use!), at nsHtml5Tokenizer.h:173. r=backout on a CLOSED TREE 2016-09-27 13:49:30 +02:00
Henri Sivonen
add5fa9ec4 Bug 1286911. r=wchen.
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Thomas Wisniewski
ba6cb5196e Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
Henri Sivonen
eea6b5c9c8 Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02: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