Henri Sivonen
a9823b1f13
Bug 1602213 - Do not let X-Content-Type-Options: nosniff affect encoding detection, because Chrome runs its encoding detector. r=sstreich
...
Differential Revision: https://phabricator.services.mozilla.com/D57316
2019-12-16 17:40:26 +00:00
Henri Sivonen
b33e8e6eaf
Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D56362
2019-12-12 17:50:19 +00:00
Oana Pop Rus
53a8a406db
Backed out changeset 0810ad586986 (bug 1551276) for wpt failures in ar-ISO-8859-6-late.tentative.html on a CLOSED TREE
2019-12-12 16:38:54 +02:00
Henri Sivonen
5404be1b75
Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D56362
2019-12-12 12:59:47 +00:00
Sylvestre Ledru
3067b10938
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D41559
2019-08-13 07:15:25 +00:00
Tom Schuster
762d72788c
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
2019-08-07 19:49:40 +00:00
Cosmin Sabou
1f03c5075f
Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE
2019-08-07 13:20:32 +03:00
Tom Schuster
d2142a7020
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
2019-08-07 09:36:56 +00:00
Razvan Maries
b95c923ca6
Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE
2019-08-07 01:04:43 +03:00
Tom Schuster
70c09c881c
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
2019-08-06 20:19:41 +00:00
Brian Hackett
88f29587cf
Bug 1538056 Part 1 - Notify devtools about HTML file contents, r=hsivonen.
...
Differential Revision: https://phabricator.services.mozilla.com/D33178
2019-08-04 21:33:07 +00:00
Sebastian Streich
e8e47a5844
Bug 1428473 Support X-Content-Type-Options: nosniff when navigating r=ckerschb,dragana,alchen
...
***
Apply Requested Revision
Differential Revision: https://phabricator.services.mozilla.com/D33959
2019-07-31 16:59:53 +00:00
Nicholas Nethercote
c4aacd8403
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
2019-07-26 01:10:23 +00:00
Boris Zbarsky
8e16a497d9
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
2019-06-08 21:26:12 +00:00
Henri Sivonen
d14037fc02
Bug 1543077 part 5 - Enable autodetect of ISO-2022-JP for local files when Fallback Encoding is set to Japanese. r=emk.
...
Differential Revision: https://phabricator.services.mozilla.com/D28635
2019-06-03 15:30:41 +03:00
Henri Sivonen
22be3f1c4f
Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=Gijs,emk.
...
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-06-03 15:30:41 +03:00
Henri Sivonen
9a30bc34db
Bug 1543077 part 2 - Use mozilla::JapaneseDetector in the HTML parser. r=emk.
...
Differential Revision: https://phabricator.services.mozilla.com/D27793
2019-06-03 15:30:41 +03:00
Mihai Alexandru Michis
c1c0700d91
Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
...
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)
2019-05-27 12:00:21 +03:00
Henri Sivonen
b9299efc1c
Bug 1543077 part 5 - Enable autodetect of ISO-2022-JP for local files when Fallback Encoding is set to Japanese. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D28635
2019-05-27 07:55:29 +00:00
Henri Sivonen
74b9548f55
Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=emk,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-05-27 07:55:27 +00:00
Henri Sivonen
45a30eae39
Bug 1543077 part 2 - Use mozilla::JapaneseDetector in the HTML parser. r=emk
...
Depends on D27792
Differential Revision: https://phabricator.services.mozilla.com/D27793
2019-05-27 07:56:17 +00:00
Ryan Hunt
275d71dc7e
Bug 1523969 part 20 - Move method definition inline comments to new line in 'parser/'. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D21121
2019-02-25 16:11:34 -06:00
Boris Zbarsky
b61174af9c
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
2019-02-28 01:09:48 +00:00
Jonathan Kingston
8397774fdf
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
2019-02-27 23:42:27 +00:00
Jonathan Kingston
3ef1df37e1
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
2019-02-27 23:41:31 +00:00
Jonathan Kingston
649c453cbd
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
2019-02-27 23:41:04 +00:00
Dorel Luca
2dfae9a24a
Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
...
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston
b6e28d0b8e
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
2019-02-24 20:27:55 +00:00
Jonathan Kingston
4334f239c3
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
2019-02-24 20:26:59 +00:00
Jonathan Kingston
d6fffaf979
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
2019-02-24 20:26:16 +00:00
Olli Pettay
7ca6ab860c
Bug 1521931 - Parser should yield if there is a pending high priority event before first contentful paint, r=hsivonen
2019-01-30 15:35:02 +02:00
Jon Coppeard
4caf6854b1
Bug 1512749 - Convert JS::gcreason::Reason to enum class JS:GCReason r=jonco r=mccr8
2019-01-21 13:09:12 +00:00
Sylvestre Ledru
3ece000f7a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
2018-12-28 15:48:06 +00:00
Henri Sivonen
f9f1666aac
Bug 1514728 - Fix bogus subspanning when sniffing a local file with more than 4 MB of ASCII. r=emk.
2018-12-18 08:45:29 +02:00
Henri Sivonen
a50da6dae1
Bug 977540 - Avoid running Japanese, Russian and Ukrainian detectors on domains associated with different encoding legacies. r=emk.
2018-12-12 09:51:52 +02:00
Henri Sivonen
5f7f8cbbc4
Bug 1071816 - Support loading unlabeled/BOMless UTF-8 text/html and text/plain files from file: URLs. r=emk.
2018-12-11 10:36:46 +02:00
Henri Sivonen
ed84e31e0e
Bug 1512155 - Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13795
2018-12-07 08:28:08 +00:00
Henri Sivonen
82db8dc18d
Bug 1511972 - Clean up byte buffer representation in method signatures in nsHtml5StreamParser. r=mrbkap
...
Differential Revision: https://phabricator.services.mozilla.com/D13732
2018-12-06 18:59:56 +00:00
Benjamin Bouvier
5e1b39e9bd
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Emilio Cobos Álvarez
4d343d7da2
Bug 1506133 - More HTML parser cleanup post bug 1392185. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D11480
2018-11-12 14:37:09 +00:00
Nathan Froyd
2233315e81
Bug 1499727 - make nsHtml5StreamParser timers slightly more efficient; r=hsivonen
...
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created. This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-17 19:57:36 -04:00
Jeff Walden
b6c6a43521
Bug 1493441 - Allow ScriptSource to store UTF-8 script data in addition to UTF-16 script data (but don't create any UTF-8-backed ScriptSources yet). r=tcampbell
2018-09-29 17:28:31 -04:00
Ehsan Akhgari
cdc2cdee7d
Bug 1488659 - Part 1: Remove the XPCOM registrations for character detector classes; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D5392
2018-09-10 07:59:42 -04:00
Henri Sivonen
c6043d9297
Bug 634541 - Make the HTML parser remove only one BOM when the input starts with multiple BOMs. r=bzbarsky
...
MozReview-Commit-ID: 1zoGFxx9MCm
Differential Revision: https://phabricator.services.mozilla.com/D2926
2018-08-13 08:01:56 +00:00
Brian Hackett
547f9e5b35
Bug 1470795 Part 5 - Update content parse users for API movement, r=froydnj.
2018-07-23 21:45:33 +00:00
Brian Hackett
d2418edd68
Bug 1465292 Part 4 - Track parsed content from HTML files, r=hsivonen.
2018-07-23 21:43:13 +00:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00