Sylvestre Ledru
7c0ae251cd
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Ehsan Akhgari
74ead075de
Bug 1379354 - Improve the UnicodeToEntity hashtable hash routine; r=wchen
2017-07-19 12:53:36 -04:00
Ryan VanderMeulen
019bd042fc
Merge autoland to m-c. a=merge
2017-07-14 09:16:03 -04:00
Henri Sivonen
217ac88f04
Bug 1266495 - Remove <isindex>. r=wchen
...
MozReview-Commit-ID: KM0sTMM1GaD
--HG--
extra : rebase_source : 013069be4191e2ad50b5af879b690a6760e8429a
2017-07-05 11:42:04 +03:00
Nicholas Nethercote
c86dc10505
Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk.
...
Most of the names passed to nsIStringBundle::{Get,Format}StringFromUTF8Name
have one of the two following forms:
- a 16-bit C string literal, which is then converted to an 8-bit string in
order for the lookup to occur;
- an 8-bit C string literal converted to a 16-bit string, which is then
converted back to an 8-bit string in order for the lookup to occur.
This patch introduces and uses alternative methods that can take an 8-bit C
string literal, which requires changing some signatures in other methods and
functions. It replaces all C++ uses of the old methods.
The patch also changes the existing {Get,Format}StringFromName() methods so
they take an AUTF8String argument for the name instead of a wstring, because
that's nicer for JS code.
Even though there is a method for C++ code and a different one for JS code,
|binaryname| is used so that the existing method names can be used for the
common case in both languages.
The change reduces the number of NS_ConvertUTF8toUTF16 and
NS_ConvertUTF16toUTF8 conversions while running Speedometer v2 from ~270,000 to
~160,000. (Most of these conversions involved the string
"deprecatedReferrerDirective" in nsCSPParser.cpp.)
--HG--
extra : rebase_source : 3bee57a501035f76a81230d95186f8c3f460ff8e
2017-07-12 15:13:37 +10:00
Christoph Kerschbaumer
98f251e3f3
Bug 1384500 - Update test_compatmode.html to comply with new data: URI inheritance model. r=smaug
2017-07-26 12:04:20 +02:00
Carsten "Tomcat" Book
b72c4833d5
merge mozilla-inbound to mozilla-central a=merge
2017-07-05 13:01:22 +02:00
Nicholas Nethercote
77757143fb
Bug 1378011 (part 2) - Remove the Legacy HTML Parser's EntityToUnicode conversions. r=mrbkap.
...
It's unused except in test code (nsTestEntityTable). The patch removes that
test code, which also removes testing for UnicodeToEntity conversion, but the
test code wasn't being run anyway so it's no great loss.
(UnicodeToEntity conversion is still used by
nsHTMLContentSerializer::AppendAndTranslateEntities().)
2017-07-04 16:00:55 +10:00
Nicholas Nethercote
1c45fc829f
Bug 1378011 (part 1) - Remove nsToken.h, because it is unused. r=mrbkap.
2017-07-04 11:25:09 +10:00
Phil Ringnalda
22cb9f77bb
Merge m-c to m-i
...
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Ehsan Akhgari
86018d0bcc
Bug 1377447 - Add a new flush type between Frames and InterruptibleLayout to initialize layout if needed and use it from CheckIfFocusable; r=smaug
2017-07-04 22:00:09 -04:00
Ehsan Akhgari
dd036d1249
Backout bug 1377447 for more test failures on a CLOSED TREE
2017-07-04 17:01:42 -04:00
Ehsan Akhgari
04bd0e3db3
Bug 1377447 - Add a new flush type between Frames and InterruptibleLayout to initialize layout if needed and use it from CheckIfFocusable; r=smaug
2017-07-04 15:13:20 -04:00
Sebastian Hengst
6df5db8045
Backed out changeset bd3edebd5f20 (bug 1377447) for failing its own test 1377447-1.html on Windows 7 and OS X. r=backout
2017-07-04 18:18:30 +02:00
Ehsan Akhgari
d39018ac62
Bug 1377447 - Add a new flush type between Frames and InterruptibleLayout to initialize layout if needed and use it from CheckIfFocusable; r=smaug
2017-07-04 11:13:30 -04:00
Carsten "Tomcat" Book
75c2b6acd0
Merge mozilla-central to mozilla-inbound
2017-07-04 11:09:13 +02:00
Henri Sivonen
cd8b20334c
Bug 1377859 - Make the HTML parser translation makefile use nsGkAtomList. r=wchen
...
MozReview-Commit-ID: 7PgZ0VB2PKt
--HG--
extra : rebase_source : 748d113720f041ae66ecf6a3328cb32461bdae60
2017-07-03 14:23:30 +03:00
Henri Sivonen
a0fe0048af
Bug 562590 - Make incomplete byte sequences near HTML EOF emit a REPLACEMENT CHARACTER. r=emk
...
MozReview-Commit-ID: 6NF4rMWxyVu
--HG--
extra : rebase_source : 0d4f557cd14f256f9100b16c27a00df381bfbdb1
2017-06-22 14:32:34 +03:00
Christoph Kerschbaumer
b95da3262e
Bug 1377176 - Use SpecialPowers to test href of data: iframe for parser/ tests. r=smaug
2017-06-29 11:20:54 -07:00
Nicholas Nethercote
3e439bb4f8
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Henri Sivonen
892c3d2d78
Bug 1376154 - Preserve nsHtml5MetaScanner::mEncoding initialization when re-translating parser. r=wchen.
...
MozReview-Commit-ID: I2vM178Rq6e
--HG--
extra : rebase_source : 518a5b45df7fca6e72f97c7ce1c2e81d76d1568a
2017-07-03 14:52:19 +03:00
Carsten "Tomcat" Book
7918eeee02
merge mozilla-inbound to mozilla-central a=merge
2017-06-28 13:23:29 +02:00
William Chen
a7d3b243a3
Bug 1366241 - Change memory layout of element name and attribute name hashes in HTML parser from sorted to level order BST in order to take advantage of cache during lookup. r=hsivonen
...
--HG--
extra : rebase_source : 3100da08a88a71b1d9253a664f0fd0f935bdcc01
2017-06-27 13:48:25 -07:00
Henri Sivonen
29ef683ca2
Bug 1333333 - Label runnables in the HTML parser (again). r=billm.
...
MozReview-Commit-ID: 1Z89LSr46dN
--HG--
extra : rebase_source : 4f7e31741fcfe65d6e6e44f3f0df9c9d6df31e7d
2017-06-27 10:38:30 -07:00
Carsten "Tomcat" Book
4e00eff077
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Masatoshi Kimura
b515c9c804
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Nicholas Nethercote
58786e1ea7
Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
...
This patch makes the following changes to the macros.
- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
mostly misused.
- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
universally available now anyway.
- Combines the first two string literal arguments of PROFILER_LABEL and
PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
them to be separate, and it forced a '::' in the label, which isn't always
appropriate. Also, the meaning of the "name_space" argument was interpreted
in an interesting variety of ways.
- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
it clearer they construct RAII objects rather than just being function calls.
(I myself have screwed up the scoping because of this in the past.)
- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
the caller doesn't need to. This makes a *lot* more of the uses fit onto a
single line.
The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).
- Fixes a bunch of labels that had gotten out of sync with the name of the
class and/or function that encloses them.
- Removes a useless PROFILER_LABEL use within a trivial scope in
EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
a good idea.
- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
done within them, instead of at their callsites, because that's a more
standard way of doing things.
--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Nicholas Nethercote
f1364a75ea
Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsSubstring --> nsAString
- nsCSubstring --> nsACString
--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Sebastian Hengst
b2f7adcc7d
Backed out changeset 38722eed8c8a (bug 1355746)
...
MozReview-Commit-ID: 1HcpK10x0V4
2017-06-21 19:49:04 +02:00
Henry Chang
a221ac674f
Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
...
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "ShouldCancel" as a callback for the consumer to
return sShuttingDown.
In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.
MozReview-Commit-ID: FT2X1unSvPS
--HG--
extra : rebase_source : cfd99aba19f014327875683f5ea85d183c8af674
extra : intermediate-source : 99af874c7b1d278057194894d406474b8af07349
extra : source : 792359c898f68241e1373820ea8fd3ba18b09994
2017-06-15 15:51:29 +08:00
Sebastian Hengst
efd723cdad
merge mozilla-central to autoland. r=merge
2017-06-18 00:21:41 +02:00
Masatoshi Kimura
838ccc4108
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Masatoshi Kimura
9865b2fdeb
Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
...
MozReview-Commit-ID: E0w8BsP1Rof
--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Mats Palmgren
f4bd97507a
Bug 1372029 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 7p0ZFLVGFEY
2017-06-17 00:06:04 +02:00
Henri Sivonen
2f2bb984f8
Bug 1372994 - Clear up leftover ISO-8859-1 encoding names. r=emk
...
MozReview-Commit-ID: IBuUPa9H9Q2
--HG--
extra : rebase_source : fb8db0c70caeec179d50b9ecaeb811d1e87eb0dd
2017-06-15 10:35:22 +03:00
Henri Sivonen
738252c121
Bug 1373045 test case - Crashtest for ISO-2022-KR as XML encoding. r=emk
...
MozReview-Commit-ID: LbWuOTQxBfi
--HG--
extra : rebase_source : 99a4271421f81d786e12e0b53c6bcf02f950d456
2017-06-15 11:40:14 +03:00
Henri Sivonen
70a5344073
Bug 1373045 - Avoid double-resolving the replacement encoding. r=emk
...
MozReview-Commit-ID: F0nOJ2opz0r
--HG--
extra : rebase_source : 4dda4f9628f8879626f3fe40df52feba6e18aa00
2017-06-15 11:05:05 +03:00
Henri Sivonen
432653453a
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Bill McCloskey
66e73fd8ed
Bug 1371132 - Convert NS_GetCurrentThread calls in parser/ (r=hsivonen)
...
MozReview-Commit-ID: Cn1h0iK0Brl
2017-06-12 20:21:43 -07:00
Masatoshi Kimura
cab6038243
Bug 1371010 - Stop percent-encoding href attributes when serializing documents. r=hsivonen
...
MozReview-Commit-ID: 6nBFtzk0K4T
--HG--
extra : rebase_source : 9a03a1bf79791f45b2c4f0084a0c16f3c2a46c4e
2017-06-09 11:26:52 +09:00
Henri Sivonen
7b90492a1f
Backout changeset 3d64bdd31c15 (bug 1333333) for causing bug 1367067, bug 1367085 and bug 1367330.
...
MozReview-Commit-ID: E7Q3LQDXgIA
2017-05-24 11:35:33 +03:00
Henri Sivonen
118fc52e41
Bug 1333333 - Label runnables in the HTML parser. r=billm
...
MozReview-Commit-ID: 6ItIgFSSR2s
--HG--
extra : rebase_source : b7451779a0e2ab8fd427a7a9ab1fb4cb8c0801e4
2017-05-15 15:54:54 +03:00
William Chen
17c14a6258
Bug 1355441 - Reuse StackNode in TreeBuilder to avoid malloc. r=hsivonen.
...
MozReview-Commit-ID: 4QwQwISCKPk
2017-05-15 17:18:20 +03:00
Bill McCloskey
c197e07ff2
Bug 1363560 - Name more runnables (r=mccr8)
...
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Iris Hsiao
cdb9631de8
Backed out changeset 2e7615b554ee (bug 1355441) for crashing at nsHtml5TreeBuilder::getUnusedStackNode() intermittent failures
2017-05-09 17:11:28 +08:00
William Chen
5e9c898c8f
Bug 1355441 - Reuse StackNode in HTML parser TreeBuilder to avoid malloc. r=hsivonen
2017-05-01 17:25:05 -07:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Henri Sivonen
4abd5bbff7
Bug 1358095 - Remove useless interned attributes from the HTML parser. r=wchen
...
Stuff that's removed includes:
* IE data binding
* SVG fonts
* Web Forms 2.0 templates
* unsupported math spaces
* abandoned HTML5 features
* random inexplicable stuff
MozReview-Commit-ID: 1iiKyFHZQWd
--HG--
extra : rebase_source : d5c2ae8d309e433053b5e9c1579707a24bf903b9
2017-04-20 14:19:12 +03:00
Henri Sivonen
c18a3863eb
Bug 1269490 - Merge nsHtml5Atoms into nsGkAtoms. r=wchen
...
MozReview-Commit-ID: EcfnXkFuJy3
--HG--
extra : rebase_source : eb4ba2c1b95a9ccabdcdecf65f3b757691f033b8
2017-04-20 11:47:02 +03:00
Henri Sivonen
1eb6516385
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName. r=wchen
...
Moving methods that refer to constant to the header that defines the
constants makes it infeasible to #define the constants at the end
of the header. To avoid introducing a new pass over the Java AST,
this patch turns the primitive constants that were
previously #defined into C++ contants, which, according to
Stroustrup 3rd ed., are handled at compile-time and don't consume
storage.
MozReview-Commit-ID: JnaDgW2OM7t
--HG--
extra : rebase_source : 3678d8db967e83d8b7e265a5ef926050cc20d770
2017-04-20 10:34:32 +03:00
Cameron McCormack
d7a98f45a2
Bug 1356103 - Part 11: Adjust text expectations. r=bholley
...
MozReview-Commit-ID: 7psm1XCGQ8I
--HG--
extra : rebase_source : cf638bbbe982fa366562b135c098c8e960e8b984
2017-04-30 15:20:42 +08:00
Iris Hsiao
0a6db9e69f
Backed out 12 changesets (bug 1356103) for build bustage at PostTraversalTask.h
...
Backed out changeset 9fb487252c28 (bug 1356103)
Backed out changeset 301237c65945 (bug 1356103)
Backed out changeset 7bc3a4861a39 (bug 1356103)
Backed out changeset 2f383d89184b (bug 1356103)
Backed out changeset a03112e1c9d5 (bug 1356103)
Backed out changeset c60b4c9cbd83 (bug 1356103)
Backed out changeset 34280baeaabe (bug 1356103)
Backed out changeset 31a0881cfb47 (bug 1356103)
Backed out changeset 529d037f9c33 (bug 1356103)
Backed out changeset 1c7831db6b07 (bug 1356103)
Backed out changeset 559f06e32df3 (bug 1356103)
Backed out changeset 784865d234cd (bug 1356103)
2017-05-04 17:56:25 +08:00
Cameron McCormack
06970669b1
Bug 1356103 - Part 11: Adjust text expectations. r=bholley
...
MozReview-Commit-ID: 7psm1XCGQ8I
--HG--
extra : rebase_source : 70ca0331145d31f85e2e21eb1036485d15b9ce8a
2017-04-30 15:20:42 +08:00
Hiroyuki Ikezoe
751ec1a2f7
Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
...
MozReview-Commit-ID: 6sqyA5TCHjk
--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Swapnesh Kumar Sahoo
c11cf34901
Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku
2017-05-01 00:12:34 +05:30
Henri Sivonen
b94c082c37
Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc. r=wchen
...
MozReview-Commit-ID: 77Hqo24F2nB
--HG--
extra : rebase_source : 9829c4ce7561e3a1d64d79884af6a8f72326021d
2017-04-13 11:14:48 +03:00
Shing Lyu
c46f5d5baf
Bug 1351548 - Remove reftest-stylo.lists. r=bholley
...
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79
Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
...
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst
ceff3b0678
Backed out changeset 1f9d0f8e65b9 (bug 1351548)
2017-04-26 13:13:05 +02:00
Sebastian Hengst
88c73138b1
Backed out changeset 4d8dfee7ebf3 (bug 1351548)
2017-04-26 13:12:59 +02:00
Sebastian Hengst
f46ebb0d94
Backed out changeset aebb0ceeb20a (bug 1351548)
2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a
Bug 1351548 - Remove reftest-stylo.lists. r=bholley
...
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
0673a3e783
Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
...
MozReview-Commit-ID: 3GHNhi3gdg9
2017-04-26 18:21:48 +08:00
Shing Lyu
dae014d9d5
Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
...
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
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
Manish Goregaokar
f1d7d1e1c9
Bug 1356105 - Update more test expectations ; r=manishearth
...
MozReview-Commit-ID: 8qvGgysr20e
2017-04-13 15:56:54 +08:00
Manish Goregaokar
5c6db46eb1
Bug 1356105 - stylo: Disable font metrics ; r=heycam
...
MozReview-Commit-ID: DgwnF7isa6W
2017-04-13 14:48:37 +08:00
Dan Banner
cdf987089d
Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
...
MozReview-Commit-ID: K5TLF92pHq4
--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Iris Hsiao
944f87c575
merge mozilla-inbound to mozilla-central a=merge
2017-04-12 11:16:46 +08:00
Eric Rahm
a220f2c4a4
Bug 1348998 - Build XML with unified sources. r=peterv
...
It looks like we can build parser/xml with unified sources.
MozReview-Commit-ID: 2NNa75l1FrB
2017-04-11 10:33:25 -07:00
Xidorn Quan
ff8497b005
Bug 1341724 followup - Adjust reftest expectations. a=merge
...
MozReview-Commit-ID: KPZUOdERNEK
--HG--
extra : source : 1ab3c4b1b127f5e62d5607bf7151ea5997a57e75
2017-04-10 20:54:22 +08: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
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
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