Граф коммитов

3883 Коммитов

Автор SHA1 Сообщение Дата
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