gecko-dev/dom
Andrew Halberstadt 57887f2601 Bug 1328830 - [manifestparser] Check line continuation before looking for next key, r=jmaher
Currently manifestparser will only look for line continuations *after* looking for a key. This means
that line continuations cannot contain key separators. For example, this:

    [test]
    foo=
      bar=baz

gets treated as:

    {'name': 'test', 'foo': '', 'bar': 'baz'}

Here, bar=baz will be treated as a new key/value pair despite the indentation. This patch switches
the order around, so we look for a continuation first. Now, it is only treated as a continuation if
the indent is greater than the indent of the preceding key.

So this manifest:

    [test]
    foo=bar
      baz=fleem

is a continuation and results in:

    {'name': 'test', 'foo': 'bar\nbaz=fleem'}

But this manifest:

    [test]
      foo=bar
      baz=fleem

is not a continuation, and yields:

    {'name': 'test', 'foo': 'bar', 'baz': 'fleem'}

MozReview-Commit-ID: FAMP5TUIo9q

--HG--
extra : rebase_source : 624c53cfe0565374c1224dd86a3fffc8831279d3
2017-07-19 14:48:01 -04:00
..
animation Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
asmjscache
audiochannel Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
base Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
battery
bindings Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
broadcastchannel
browser-element Bug 1331680 - Part 4: Tests for document.cookie behaving synchronously and reflecting changes from the parent process. r=jdm 2017-08-03 19:02:06 +08:00
cache
canvas Bug 1384824 - Part 0: Consolidate lazy style resolution entrypoints. r=bholley 2017-08-04 19:26:03 +10:00
commandhandler
console Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
credentialmanagement Bug 1384307 - Set WebAuthn PublicKeyCredential's "id" and "type" fields r=keeler 2017-07-25 15:03:59 -07:00
crypto
encoding Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
events Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug 2017-08-07 21:19:59 +03:00
fetch Bug 1379631 - Turn off OMT delivery for FetchDriver until bug 1380255 lands. The fix for this bug makes some test fail because of FetchDriver. r=mayhemer 2017-08-01 15:05:51 -04:00
file Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
filehandle
filesystem
flyweb Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
gamepad Bug 1352410 - Add a preference to enable or disable haptic feedback for gamepads; r=Lenzak 2017-07-27 17:55:16 +08:00
geolocation Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
grid
html merge mozilla-inbound to mozilla-central a=merge 2017-08-07 12:56:05 +02:00
imptests
indexedDB Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
interfaces Bug 1382092 - Support default payment UI service in DOM code part 2. r=baku 2017-08-04 17:24:59 +08:00
ipc Bug 1331680 - Part 3: Broadcast cookie changes to all content processes. r=jdm 2017-08-03 18:00:12 +08:00
json Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
jsurl Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
locales Bug 1375123 - Remove nsIDOMWindowInternal. r=Ehsan 2017-08-03 20:33:51 +09:00
manifest Bug 1328830 - [manifestparser] Check line continuation before looking for next key, r=jmaher 2017-07-19 14:48:01 -04:00
mathml
media Merge inbound to central, a=merge 2017-08-07 15:23:46 -07:00
messagechannel Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
network Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm. 2017-07-21 10:52:44 +10:00
notification Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
offline
payments Bug 1382092 - Support default payment UI service in DOM code part 2. r=baku 2017-08-04 17:24:59 +08:00
performance Bug 1382768 - Performance API must be a memory reporter, r=bz 2017-07-27 09:05:51 +02:00
permission
plugins Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
power Bug 1382955 (part 2) - Remove nsIPowerManagerService::{powerOff,reboot,restart} and related things. r=gsvelto. 2017-08-02 10:09:26 +10:00
presentation Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
promise Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
push Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
quota Bug 1370701 - Part 2: Null out the private window, r=btseng 2017-07-18 15:31:03 +08:00
res
script Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly 2017-08-01 21:21:09 +02:00
secureelement
security Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
smil Bug 1384769 - Skip two smil tests due to crashes until bug 1385089 is sorted out. r=me 2017-07-27 17:49:46 -07:00
storage Backed out changeset 5020a2dcb8a7 (bug 1355576) for failures in test_ext_browsingData.js 2017-08-06 15:29:38 -07:00
svg Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj. 2017-07-31 14:23:50 +10:00
system Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm. 2017-07-21 10:52:44 +10:00
tests Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8 2017-08-03 15:50:07 +09:00
time
u2f Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
url Bug 1379113 - Deleting non-existing URL query parameters should remove ?, r=qdot 2017-07-19 09:12:41 +02:00
vr Bug 1382438 - Part 2: Replace vr controller displayId test with gamepadbuttondown event; r=kip 2017-07-27 11:25:45 +08:00
webauthn Bug 1385313 - Use MozPromiseRequestHolders in U2FTokenManager r=jcj 2017-07-28 17:11:03 +02:00
webbrowserpersist Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
webidl Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8 2017-08-03 15:50:07 +09:00
workers Bug 1387211 Avoid potential deadlock during worker shutdown. r=billm 2017-08-07 09:24:22 -07:00
worklet
xbl Bug 1385071 - Don't do the default action for key inputs that are handled by APZ. r=masayuki 2017-07-30 13:08:17 -04:00
xhr Backed out changeset 6ed95396bdb6 (bug 1362354) for failing web-platform-test /html/browsers/browsing-the-web/navigating-across-documents/010.html. r=backout 2017-07-27 12:48:45 +02:00
xml Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
xslt Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
xul Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
jar.mn
moz.build Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg 2017-07-31 12:25:16 -05:00