Xidorn Quan
101f2b93e2
Bug 1341724 followup - Adjust reftest expectations.
...
MozReview-Commit-ID: KPZUOdERNEK
--HG--
extra : rebase_source : 5cda12c745f744ff8d1c03db0c46fcdf827a9474
2017-04-10 20:54:22 +08: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
Kris Maglione
7485b4ce5c
Bug 1350049: Handle nsParser being finalized before resuming. r=hsivonen
...
This is a hybrid of the previous two approaches. The nsParser weak reference
sometimes stays alive after it's been detached from the document, after which
attempting to remove it throws. This stores a reference to the original
parser, and checks that it's still the current parser when it comes time to
resume.
MozReview-Commit-ID: 1JSi2FmPxt0
--HG--
extra : rebase_source : fc29ab7cd2074eda5f2c747ff7255a29bcc6f4a2
2017-03-28 15:24:26 -07: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
Manish Goregaokar
b427546203
Bug 1296477 - Part 4: stylo: Update test expectations; r=heycam
...
MozReview-Commit-ID: 9fff2Pme3ey
--HG--
extra : rebase_source : 99a224155a876e25c99229ae48dc4a92dd420ae2
2017-03-12 21:12:08 -07:00
Joel Maher
246c210896
Bug 1345542 - add BUG_COMPONENT to parser/* files. r=hsivonen
...
MozReview-Commit-ID: 3ujsuyVNFlL
2017-03-10 12:31:45 -05:00
Manish Goregaokar
6a31ced725
Bug 1329093 - Part 5: Update test expectations; r=bz
...
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08: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
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09: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
Manish Goregaokar
260e308c26
Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:48 -08:00
Sebastian Hengst
a793db28eb
Backed out changeset 2d887234705f (bug 1338936)
2017-02-19 10:37:16 +01:00
Manish Goregaokar
a6f7209030
Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
...
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:57:58 -08:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Henri Sivonen
9e44819763
Bug 1334290 - Remove useless fields from nsScanner. r=mrbkap.
...
MozReview-Commit-ID: 6LnvmOGrGwz
2017-02-17 08:44:49 +02:00
Henri Sivonen
fd7f0ae458
Bug 1334246. r=mrbkap.
...
nsScannerString changes by erahm.
MozReview-Commit-ID: 6lh8SYjpGlj
2017-02-16 10:05:27 +02:00
Xidorn Quan
95c1b23bd9
Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
...
MozReview-Commit-ID: 2Sa8dS8uSo5
--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +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
Cameron McCormack
41bbd156cf
Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
...
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 15:10:45 +08:00
Sebastian Hengst
2664cfc0a9
Backed out changeset 0d069e7395e9 (bug 1314045) for Windows build bustage: warning at Loader.cpp(1885). r=backout on a CLOSED TREE
2017-01-31 18:17:09 +01:00
Cameron McCormack
8731638062
Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
...
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Cameron McCormack
0ba5cf9cc4
Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
...
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack
590058f927
Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
...
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst
ed5bd31f9b
Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE
2017-01-31 17:32:12 +01:00
Sebastian Hengst
24430aff14
Backed out changeset 4787d54f7aa6 (bug 1314045)
2017-01-31 17:30:25 +01:00
Sebastian Hengst
79a42c161e
Backed out changeset e3687105be00 (bug 1334768)
2017-01-31 17:30:16 +01:00
Cameron McCormack
0333846acf
Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
...
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Cameron McCormack
e64744beef
Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
...
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack
946b5c3633
Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
...
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08: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
Cameron McCormack
9c4ea5685f
Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
...
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +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
0382120c9d
Bug 1276669 - part 3 - split out nsHTMLTags atom initialization; r=hsivonen
...
We do this for much the same reason that we moved the nsHtml5Atoms
initialization. Otherwise, the nsHTMLTags atoms are lazily initialized
long after we've sealed the static atom table in nsLayoutStatics.
2017-01-26 15:43:39 -05: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
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +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
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
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
Carsten "Tomcat" Book
89882dc5f4
merge mozilla-inbound to mozilla-central a=merge
2017-01-10 12:11:31 +01: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
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
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
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
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
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
Wes Kocher
d360bdebf5
Merge inbound to central, a=merge
2016-12-01 15:31:47 -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
Tooru Fujisawa
680fa11cc3
Bug 1321227 - Remove legacy generator from parser/. r=wchen
2016-12-01 18:12:14 +09: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
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
Henri Sivonen
105467f9db
Bug 1309834. r=wchen.
...
MozReview-Commit-ID: FO7bXlx6lv
2016-10-14 11:47:17 +03: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
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
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
Aryeh Gregor
3b1cc7049b
Bug 1298818 - Port test_bug411103.html to wpt; r=jst
...
This allows other UAs to use it, removes duplicated checks, and
increases the chance of us noticing if the spec changes. Some of the
expected values in our mochitest were contrary to the spec.
I checked the new expected failures against the spec and the other UAs.
I filed a spec bug for one group because it was contrary to all UAs
(although IMO the spec makes more sense and the UAs are buggy), and the
others are fixed in the next patch.
MozReview-Commit-ID: 1j11XgfuErB
2016-10-26 16:49:36 +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
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
Henri Sivonen
d535d5df8f
Bug 1286911
. r=wchen.
...
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Michael Kaply
45150edb90
Bug 209637 - Add support for application/vnd.wap.xhtml+xml. r=bz
2016-09-28 09:48:17 -05: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
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
Henri Sivonen
eea6b5c9c8
Bug 1288084 - Expose a line number for each attribute, v2; r=wchen
2016-09-20 16:31:57 +02: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
Edgar Chen
67946850ab
Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
...
MozReview-Commit-ID: 9gTSFrYW7o3
--HG--
extra : rebase_source : f123f21aadaa18641ddd7fa7fa67eb27a4152f83
2016-08-30 11:48:53 +08: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
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Sebastian Hengst
bdb6a207ff
Backed out changeset 5c65378feacd (bug 1298818)
2016-09-01 20:45:29 +02:00
Aryeh Gregor
00d6f39ca3
Bug 1298818 - Throw correct exception for names that start with Unicode characters that are only allowed at start; r=jst
...
The new behavior matches the specification, web-platform-tests, Chrome,
and Edge. I couldn't figure out any reason for the old behavior.
MozReview-Commit-ID: 6cktZuN1vCV
2016-09-01 20:37:35 +03:00
Henri Sivonen
48c797f422
Bug 1293252
- Transfer document quirkiness via the speculative load queue. r=wchen
...
MozReview-Commit-ID: 4lTbxSSrCf4
--HG--
extra : rebase_source : ccd67d8326f5cb9fb0372d5a42b15481aa886d66
2016-08-25 12:20:58 +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
Jinank Jain
f2776091ea
Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
...
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08: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
Wes Kocher
e9097643d5
Merge inbound to central, a=merge
2016-08-12 13:44:29 -07: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
Henri Sivonen
cab627f244
Bug 1274400 - Check out javaparser from GitHub instead of Google Code. r=froydnj
...
MozReview-Commit-ID: 4w8rc0H2E5E
--HG--
extra : rebase_source : 96fd729869703b1f44abe7c8f88906346c99c93b
2016-08-11 16:09:17 +03:00
Gijs Kruitbosch
61094e5a36
Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
...
MozReview-Commit-ID: 8FIyclkJPDp
--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01: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
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -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
Thomas Nguyen
4b7ad0e2c5
Bug 1223838 - Fix wrong policy associated with empty string. r=fkiefer,hsivonen
...
MozReview-Commit-ID: 7kFH39cegmH
2016-05-30 15:17:45 +08:00
Franziskus Kiefer
cbf15542b0
Bug 1223838 - enable perElementReferrer by default. r=hsivonen
2015-12-02 11:12:12 +01:00
Eric Rahm
b2ddb18a6f
Bug 1274777 - Check for oveflow. r=peterv
2016-06-08 13:54:05 -07:00
Nicholas Nethercote
b587f77c54
Bug 616421 - Better distinguish invalid mOpCode values in nsHtml5TreeOperation::Perform. r=hsivonen.
...
This patch:
- Removes eTreeOpAddError{Atom,TwoAtoms}, which are unused.
- Adds a MOZ_CRASHing case for eTreeOpUninitialized.
- Reorders the cases in the switch to match the enum declaration order, which
makes it easier to see that all opcodes are now covered.
2016-06-02 17:49:44 +10:00
Boris Zbarsky
dc120449d2
Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey
2016-05-27 20:26:56 -04:00
Boris Zbarsky
49a90cb122
Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
...
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.
I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:
1) nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused. We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.
2) In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
Eric Rahm
5e7354d86b
Bug 1236923 - Check int for overflow. r=peterv
2016-05-21 10:05:05 -07:00
Boris Zbarsky
3c447f1d99
Bug 1267989 part 1. Rename nsScriptLoader::Add/RemoveExecuteBlocker to Add/RemoveParserBlockingScriptBlocker, to more clearly reflect what it does. r=smaug
2016-05-20 23:13:18 -04: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
Henri Sivonen
b3deac953d
Bug 1270381. r=wchen.
2016-05-15 17:03:06 +03:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07: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
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Aryeh Gregor
49d7e81abf
Bug 1264270 - Parser should output attributes in source order, not reversed; r=hsivonen,bgrins
2016-05-01 15:15:26 +03:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -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
Ryan VanderMeulen
5250a3ef34
Bug 1233774 - Re-enable the htmlparser mochitests on Windows debug e10s.
...
--HG--
extra : histedit_source : 8b893630c129c347961e26cbd9fd0f9ebdac7604
2016-04-15 13:26:01 -04:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Nicholas Nethercote
d8cfadc76d
Bug 1261744 - Add two missing null checks for nsStringBuffer::Alloc(). r=erahm.
...
--HG--
extra : rebase_source : 7465db70cf5a3e19416a742481b3321e8b6eef16
2016-04-07 09:35:50 +10:00
William Chen
303bd1fd42
Bug 1259590
- Remove B2G ACL code. r=khuey
2016-04-07 09:50:01 -07:00
Nicholas Nethercote
cd63c6bfee
Bug 1261735 (part 3) - De-virtualize nsIAtom::IsStaticAtom(). r=froydnj,erahm.
...
This avoids the need for some virtual function calls and also will help lead to
distinct representations for dynamic and static atoms.
--HG--
extra : rebase_source : 16bbe6f1e1309ee3e4fab7a0d222e638178a2a9c
2016-04-06 11:28:40 +10:00
Nicholas Nethercote
e4dec8d42f
Bug 1261735 (part 1) - Overhaul the atom implementation. r=froydnj,erahm.
...
This patch changes things so that dynamic atoms and static atoms have distinct
implementations. This is a step towards allowing dynamic atoms and static atoms
to have different layouts in memory, which will allow static atoms to be
represented more compactly.
Specifically, the patch does the following.
- It renames AtomImpl as DynamicAtom and PermanentAtomImpl as StaticAtom, and
the latter is no longer a subclass of the former. This required duplicating
some methods from the former into the latter: ScriptableToString(),
ToUTF8String(), ScriptableEquals(), IsStaticAtom(). (This duplication will
disappear in the future if the representations of dynamic atoms and static
atoms diverge. Indeed, SizeOfIncludingThis() is already different in the two
classes.)
- It replaces all mentions of "permanent"/"non-permanent" atoms with
"static"/"dynamic".
- In ~DynamicAtom() it removes the check that causes gAtomTable to be deleted
when it becomes empty. This will only happen at shutdown and so doesn't seem
useful.
- It documents better various things, especially the basics of the
dynamic/static split, the transmutation of dynamic atoms to static atoms, and
the details of the SizeOf functions.
--HG--
extra : rebase_source : dbf903012e70ebf1a43de1e1088db1bc1b8dd4f4
2016-04-01 11:18:06 +11:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Nicholas Nethercote
41e924c6e0
Bug 1257128 (part 1) - Remove nsIAtom.equalsUTF8. r=froydnj.
...
It's only used in tests.
2016-03-16 21:05:30 +11:00
Gregory Szorc
0f46d6549f
Bug 1256558 - Change MUST_CONVERT to avoid C4311 in VS2015; r=khuey
...
This code is cherry picked from the trunk version of expat.
MozReview-Commit-ID: 8RDaArq2BwO
--HG--
extra : rebase_source : 72d9b56ec2d6d17a99e578017f0e5828ffd3aa1f
2016-03-21 12:00:41 -07:00
Mats Palmgren
81171b713c
Bug 1256530 - Fix compiler warnings about casting to larger size. r=hsivonen
...
Specifically, the Microsoft VS2015u1 compiler said:
warning C4312: 'type cast': conversion from 'unsigned int' to
'nsIContent *' of greater size
2016-03-17 17:27:56 +01:00
Nicholas Nethercote
a2f068b2ad
Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
...
This is easy because it's never needed.
--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
sajitk
823704b8d6
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Christoph Kerschbaumer
f29ec8d62f
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Wilmer Paulino
37e46b9248
Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj
2016-01-13 17:04:25 -05:00
Wes Kocher
817d8829fc
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
007c074be0
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
...
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Jonathan Griffin
0b0e0abda1
Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only
2016-03-01 10:36:31 -08:00
Bogdan Postelnicu
87b035590d
Bug 1251235 - changed from naked pointers to UniquePtr to prevent resource leak. r=froydnj
...
MozReview-Commit-ID: FVZWMdASQKG
--HG--
extra : rebase_source : 48d87dbf8cedf37c801af7739f55b9d7d8762bd6
2016-02-25 16:34:21 +02:00
Dragana Damjanovic
5031bdb80e
Bug 580313 - New resource hints for link. r=smaug
...
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Mason Chang
b4c228baec
Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar
2016-02-16 09:07:52 -08:00
Henri Sivonen
7a0b1d45ab
Bug 1246014. r=wchen.
2016-02-10 12:39:06 +02:00
Henri Sivonen
2937fc1f72
Bug 1228103 bustage follow-up. rs=Tomcat.
2016-02-09 13:08:03 +02:00
Henri Sivonen
c94d7a0ea9
Bug 1228103 addendum. r=smaug.
2016-02-09 12:45:59 +02:00
Henri Sivonen
d4843846b7
Bug 1228103. r=smaug.
2016-02-09 12:45:59 +02:00
Ting-Yu Lin
7e3a3db15a
Bug 591737 - Teach parser about <details> and <summary>. r=mrbkap
...
--HG--
extra : commitid : GrSjMDBHT1C
extra : rebase_source : c7fa330bec55b546b002f8592090687361be9580
2016-01-20 23:20:39 +08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Wes Kocher
b9d77f5943
Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
...
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
sajitk
6fdb9b782e
Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
...
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Gijs Kruitbosch
1839ec6c66
Bug 1172165 - test changes: remove broken bit of test for view-source linking now that it is completely disallowed, and fix html parser's view-source test, r=bz
...
--HG--
rename : parser/htmlparser/tests/mochitest/test_viewsource.html => parser/htmlparser/tests/mochitest/file_viewsource.html
extra : commitid : IVqN6XUYvOk
extra : rebase_source : 62b723f641b2c2843080ef7f586df1236237241c
2015-12-11 08:17:56 -05:00
Nathan Froyd
d9cf7106f5
Bug 1241522 - handle OOM in nsExpatDriver::HandleCharacterData; r=hsivonen
2016-01-21 11:36:36 -05:00
Christoph Kerschbaumer
fecee7be59
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-14 13:21:31 -08:00
Nigel Babu
ccbf22eae8
Backed out changeset f001a01c85d7 (bug 1224694) for browser-chrome bustage on a CLOSED TREE
...
--HG--
extra : commitid : 5BUjoFsY8bv
2016-01-14 08:04:50 +05:30
Christoph Kerschbaumer
86457169b6
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-13 15:51:30 -08:00
Wilmer Paulino
99af515866
Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj
2016-01-11 19:31:29 -05:00
Chris Peterson
dfa26161b5
Bug 1236322 - Part 2: Suppress -Wimplicit-fallthrough warnings in parser/html generated code. r=hsivonen
2015-12-25 00:00:36 -07:00
Chris Peterson
7abc7ee59e
Bug 1236322 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in parser/. r=hsivonen
...
parser/html/nsHtml5Highlighter.cpp:572:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:425:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:780:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-25 00:01:32 -07:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Nicholas Nethercote
b921f6cb7f
Bug 1232219 (part 2.5) - Fix -Wunused warnings in parser/expat/lib/. r=hsivonen.
...
--HG--
extra : rebase_source : 9233441457728a336aa358037a1a8abebb759193
2015-12-16 22:56:34 -08:00
Nathan Froyd
ddf68de505
Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen
2015-11-19 20:19:57 -05:00
Christoph Kerschbaumer
bbf91a3b0c
Bug 1227554 - Default to NullPrincipal if doc is not available within expatdriver. r=bz
2015-12-02 10:44:59 -08:00
Olli Pettay
cc8c87cbc0
Bug 1134648, handle dynamic changes to rel=dns-prefetch, r=bz
...
--HG--
extra : rebase_source : 817f331da1cfadb0833a14a3a18c5d4769752b79
2015-12-01 19:22:20 +02:00
Franziskus Kiefer
6bf24410e1
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
William Chen
fdb6d83b05
Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen
2015-11-30 16:12:59 -08:00
Christoph Kerschbaumer
0a25bbf702
Bug 1226437 - Speculative CSP should set speculative referrer policy instead of actual referrer policy. r=sicking
2015-11-20 09:35:32 -08:00
Christoph Kerschbaumer
143b334dd4
Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz)
2015-11-20 10:55:54 -08:00
Nigel Babu
ba8444d785
Backed out changeset 95069f2ce648 (bug 1182546) for Android M(c) bustage ON A CLOSED TREE
2015-11-19 14:26:33 +05:30
Christoph Kerschbaumer
ab10273998
Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz)
2015-11-18 19:23:28 -08:00
Christoph Kerschbaumer
2b676b1673
Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz)
2015-11-14 19:28:51 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Andrew McCreight
5981b92f78
Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap
2015-10-31 06:26:44 -07:00
Tooru Fujisawa
27c2238894
Bug 1217422 - Remove for-each from parser/. r=jst
...
--HG--
extra : commitid : 6D1CzpMntd8
extra : rebase_source : 845919159b1aae44f00938574b4d7ec1b1461a3c
2015-10-19 02:20:47 +09:00
Ting-Yu Lin
ac34eda1f1
Bug 1215781 - Use MOZ_UTF16 to generate sTagUnicodeTable. r=mrbkap
2015-10-16 22:56:00 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Boris Zbarsky
3f6a60d5c6
Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly
...
--HG--
rename : parser/htmlparser/tests/mochitest/test_bug667533.html => parser/htmlparser/tests/mochitest/test_bug1209658.html
2015-10-05 12:23:26 -04:00
Tooru Fujisawa
4e36376490
Bug 1207499 - Part 7: Remove use of expression closure from parser/. r=jst
...
--HG--
extra : commitid : xRk0tOK1m9
extra : rebase_source : 01a9d0864697de1a807e8a580557492c3eb0e982
2015-09-23 18:42:18 +09:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote
f429eae6a5
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Nicholas Nethercote
2ee4fd783b
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
...
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
63e79d16db
Bug 1121760 (part 5) - Remove PL_DHashMarkTableImmutable(). r=poiru.
...
--HG--
extra : rebase_source : 8617d7f3d8034832321145789cc0108f6a0878df
2015-09-14 14:23:27 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
...
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Masayuki Nakano
a677e96719
Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug
2015-09-07 23:55:51 +09:00
Ted Clancy
675740b45e
Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen
2015-08-28 03:31:24 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
1416e566de
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Henri Sivonen
a00a469bb6
Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
e743fa6a9c
Bug 1176681 - Make character buffer allocations in the HTML5 tree builder fallible. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
02d517f7ac
Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
9cb0eb6ae0
Bug 489820 part 1 - Make charRefBuf non-growable and have the same lifetime as the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
af681819f5
Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
9ac2e0e1a3
Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Xidorn Quan
9960d37ffb
Bug 1196050 - Replace NSCAP_Zero usage with decltype(nullptr). r=froydnj
...
--HG--
extra : source : 9c567ed00fcf2433e484325bab9a18322718b0da
2015-08-20 10:30:10 +10:00
Christoph Kerschbaumer
3e6c68863f
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Francois Marier
34de332db0
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Birunthan Mohanathas
3776db7dab
Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
2b4a52cf2e
Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
edbcd5e014
Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj
2015-08-11 08:29:46 -07:00
Boris Zbarsky
f9793d505e
Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly
2015-07-14 15:28:57 -04:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Franziskus Kiefer
2ae91f6891
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
...
--HG--
extra : rebase_source : ceb3a3d18acf7deb9d13cfae499b7e112db8ffce
2015-06-05 15:25:24 -07:00
William Chen
8e360c243e
Bug 1166910 - Gecko changes for adding referrer attribute. r=hsivonen
...
--HG--
extra : rebase_source : 06fbe7cd7efe8a66e96bcea18c34a417aea6f41d
2015-05-29 16:43:07 -07:00
William Chen
e2a8b6bfa3
Bug 1178513
- Add <extapp> element and interfaces to be used by ACL. r=khuey
...
--HG--
extra : rebase_source : 988379e48f84c04bcac181a6fc4c71325e3f0b02
2015-06-30 11:27:57 -07:00
Carsten "Tomcat" Book
8bc87efb1e
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
91b0523177
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Patrick McManus
cc04db5e46
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -04:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book
325cd7219a
Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
...
--HG--
extra : rebase_source : aabdc3669df5b252c4373b9fb6049565e6560a0c
2015-06-17 16:58:57 +02:00
Patrick McManus
78c4fb4975
bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen
2015-05-06 10:09:27 -04:00
Andrea Marchesini
45578e03fa
Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz
2015-06-17 12:21:39 +01:00
Henri Sivonen
8c0f133852
Bug 1173818 - Make jArray.h assert bound checks. r=wchen.
2015-06-12 14:54:31 +03:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Nicholas Nethercote
e849e6588b
Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
...
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Gijs Kruitbosch
be86295761
Bug 1104732 - followup: fix test flakiness due to arbitrariness of when load happens on a CLOSED TREE
...
--HG--
extra : amend_source : 4206841ae9f01acf59b15b6140f786c909051c0b
2015-05-29 14:36:36 +01:00
Gijs Kruitbosch
3e23aa4c3d
Bug 1104732 - having deferred scripts shouldn't cause async scripts to delay domcontentloaded, r?smaug
...
--HG--
extra : transplant_source : %81%27%D9%8A%0F%0C%83%B7%B3%EE%BCD%D7%5D%BA%BC%B9%BC%F25
2015-05-28 13:40:07 +01:00
Franziskus Kiefer
657c062d2a
Bug 1165501 - using most recent referrer policy found in the document. r=sstamm
...
--HG--
extra : rebase_source : 1513da5ff6a896ab4987323354458004b5ddb787
2015-05-27 13:29:00 -07:00
J. Ryan Stinnett
e1f26b0e50
Bug 1067325 - Control syntax highlighting via a class. r=hsivonen
2015-05-23 18:17:50 -05:00
Patrick McManus
57ade7a8a4
bug 1150136 - rel=preconnect from html parser r=hsivonen
2015-05-05 20:55:18 -04:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Nicholas Nethercote
ccee1b5b39
Bug 1165768 (part 5) - Convert |gEntityToUnicode| and |gUnicodeToEntity| to |PLDHashTable2*|. r=froydnj.
...
--HG--
extra : rebase_source : 06a8ba73fdab7f8ff0c2a7813daa1f55d76e0b54
2015-05-18 00:52:07 -07:00
Nicholas Nethercote
eab9ff6d25
Back out all four patches from bug 1161377. r=me.
...
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Eric Rahm
682623740c
Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Nicholas Nethercote
9a60518e5b
Bug 1161377 (part 2.5) - Move all static PLDHashTable instances onto the heap to avoid static constructors. r=froydnj.
...
--HG--
extra : rebase_source : 73029d4a1ed5a41263db882d66b1f380f5e7254b
2015-05-12 17:33:22 -07:00
Josh Matthews
d8f37388bd
Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns
2015-05-11 18:07:49 -04:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
c8ff2d51c8
Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
...
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.
--HG--
extra : rebase_source : 4c6ab0c449bc18e8bace8bf036b5bd78d3a2f1c4
2015-04-29 16:38:29 -07:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Eric Rahm
cf23af9062
Bug 1140537 - Sanity check size calculations. r=peterv
...
--HG--
extra : rebase_source : d50fbc5bb6fb2a0d7f29246a7bda45fabac48e29
2015-04-10 15:50:23 -07:00
Andrea Marchesini
085da9302a
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
Nathan Froyd
1e6cdad33c
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
af34e14f2b
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Boris Zbarsky
9171dbee48
Bug 1151048. Disable speculative tokenization in the parser if it's failing too much. r=hsivonen
2015-04-13 19:36:33 -04:00
Michael[tm] Smith
86fb3e80df
Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen.
2015-04-02 12:48:06 +03:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Mike Hommey
c39e359c7d
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
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
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Trevor Saunders
99d941db3c
bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel
2015-02-18 17:03:30 -05:00
John Schoenick
0b8e20c643
Bug 1067345 - Add tests for img/picture/srcset preloading
2014-12-10 18:54:00 -05:00
John Schoenick
ef04bff7d9
Bug 1067345 - Part 3 - Implement speculative load operations for <picture> and <img srcset>
2014-12-10 18:54:00 -05:00
Nicholas Nethercote
3a7b0a9f57
Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
63e3218e4c
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
...
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Nicholas Nethercote
b5913e0b3d
Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
9a36fdbde4
Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
...
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible.
--HG--
extra : rebase_source : 848cc9bbdfe434525857183b8370d309f3acbf49
2015-02-01 20:19:08 -08:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Nicholas Nethercote
3163cfc2c1
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Boris Zbarsky
29f211dcbe
Bug 1121099. Make <basefont> be an HTMLElement to match my reading of the spec and Chrome. r=sicking
2015-01-22 22:36:21 -05:00
Nicholas Nethercote
8bd1f6f072
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
bd573c9b9c
Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
...
Currently the setting of PLDHashTable::ops is very haphazard.
- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
null it themselves.
- In the fallible PLDHashTable::Init() function, if the entry storage
allocation fails we'll be left with a table that has |ops| set -- indicating
it's been initialized -- but has null entry storage. I'm not certain this can
cause problems but it feels unsafe, and some (but not all) callers of Init()
null it on failure.
- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
do this themselves.
This patch makes things simpler.
- It adds a constructor that zeroes |ops|.
- It modifies Init() so that it only sets |ops| once success is ensured.
- It zeroes |ops| in Finish().
- Finally, it removes all the now-unnecessary |ops| nulling done by the users
of PLDHashTable.
--HG--
extra : rebase_source : bb34979c218d152562a2f9c7e5215256c111cc5b
2015-01-19 16:01:24 -08:00
Nicholas Nethercote
69fe655b04
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
...
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
L. David Baron
eb5285b396
Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek
2015-01-15 15:07:50 -08:00
Phil Ringnalda
e39f0adeca
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
e9735966fa
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00