Boris Zbarsky
8386016c45
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
e7fcf1b1a1
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
7f841b8df0
Bug 1236923 - Check int for overflow. r=peterv
2016-05-21 10:05:05 -07:00
Boris Zbarsky
68940b8731
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
7d86c8a014
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
b0045c2ea7
Bug 1270381. r=wchen.
2016-05-15 17:03:06 +03:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
57a1006d4d
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Aryeh Gregor
c4a3296430
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
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Yoshi Huang
2b116e8616
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
951e58a762
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
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ryan VanderMeulen
34fab8aae4
Bug 1233774 - Re-enable the htmlparser mochitests on Windows debug e10s.
2016-04-15 13:26:01 -04:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Nicholas Nethercote
35455092f3
Bug 1261744 - Add two missing null checks for nsStringBuffer::Alloc(). r=erahm.
2016-04-07 09:35:50 +10:00
William Chen
3f3db96963
Bug 1259590 - Remove B2G ACL code. r=khuey
2016-04-07 09:50:01 -07:00
Nicholas Nethercote
da367419e9
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.
2016-04-06 11:28:40 +10:00
Nicholas Nethercote
53a9d7d367
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.
2016-04-01 11:18:06 +11:00
Nicholas Nethercote
7f7c26ed62
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
Nicholas Nethercote
84c52fc693
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
e4a40e241d
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
2016-03-21 12:00:41 -07:00
Mats Palmgren
e62218ea55
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
53a4e4a5b5
Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
...
This is easy because it's never needed.
2016-03-16 15:33:44 +11:00
sajitk
d29778ad61
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Christoph Kerschbaumer
136a31bb4c
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Wilmer Paulino
28062c31ec
Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj
2016-01-13 17:04:25 -05:00
Wes Kocher
77087623ff
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
3b1ca5ae52
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
ef5df2673a
Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only
2016-03-01 10:36:31 -08:00
Bogdan Postelnicu
e1b5a2285c
Bug 1251235 - changed from naked pointers to UniquePtr to prevent resource leak. r=froydnj
...
MozReview-Commit-ID: FVZWMdASQKG
2016-02-25 16:34:21 +02:00
Dragana Damjanovic
869b7efcd8
Bug 580313 - New resource hints for link. r=smaug
2016-02-26 02:41:00 +01:00
Mason Chang
eebae0919b
Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar
2016-02-16 09:07:52 -08:00
Henri Sivonen
56eb89ec13
Bug 1246014. r=wchen.
2016-02-10 12:39:06 +02:00
Henri Sivonen
cff81fa639
Bug 1228103 bustage follow-up. rs=Tomcat.
2016-02-09 13:08:03 +02:00
Henri Sivonen
ee55bdef4d
Bug 1228103 addendum. r=smaug.
2016-02-09 12:45:59 +02:00
Henri Sivonen
32dd9cac56
Bug 1228103. r=smaug.
2016-02-09 12:45:59 +02:00
Ting-Yu Lin
f8e1232b70
Bug 591737 - Teach parser about <details> and <summary>. r=mrbkap
2016-01-20 23:20:39 +08:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
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
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Wes Kocher
a45876f1c0
Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
2016-01-29 10:15:38 -08:00
sajitk
586c51b281
Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
2016-01-28 10:35:00 -05:00
Gijs Kruitbosch
b949c448d8
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
2015-12-11 08:17:56 -05:00
Nathan Froyd
162c0738fd
Bug 1241522 - handle OOM in nsExpatDriver::HandleCharacterData; r=hsivonen
2016-01-21 11:36:36 -05:00
Christoph Kerschbaumer
8e527f2376
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-14 13:21:31 -08:00
Nigel Babu
f4e6afcc41
Backed out changeset f001a01c85d7 (bug 1224694) for browser-chrome bustage on a CLOSED TREE
2016-01-14 08:04:50 +05:30